|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.onemind.commons.java.xml.digest.DefaultDigester
A default digesters that does nothing
Constructor Summary | |
DefaultDigester(java.lang.String name)
Constructor |
Method Summary | |
void |
characters(SaxDigesterHandler handler,
char[] chars,
int offset,
int length)
Handle the characters |
void |
endDigest(SaxDigesterHandler handler)
End the element |
java.lang.String |
getElementName()
Get the element name |
void |
startDigest(SaxDigesterHandler handler,
org.xml.sax.Attributes attrs)
Start an element with the given attributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultDigester(java.lang.String name)
name
- the nameMethod Detail |
public void startDigest(SaxDigesterHandler handler, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
startDigest
in interface ElementDigester
handler
- the handlerattrs
- the attributes
org.xml.sax.SAXException
- if there's handling exceptionpublic void endDigest(SaxDigesterHandler handler) throws org.xml.sax.SAXException
endDigest
in interface ElementDigester
handler
- the handler
org.xml.sax.SAXException
- if there's handling exceptionpublic void characters(SaxDigesterHandler handler, char[] chars, int offset, int length) throws org.xml.sax.SAXException
characters
in interface ElementDigester
handler
- the handlerchars
- the charactersoffset
- the offsetlength
- the length
org.xml.sax.SAXException
- if there's parse problempublic final java.lang.String getElementName()
getElementName
in interface ElementDigester
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |