org.onemind.commons.java.xml.digest
public interface ElementDigester
Modifier and Type | Method and Description |
---|---|
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 attr)
Start an element with the given attributes
|
java.lang.String getElementName()
void startDigest(SaxDigesterHandler handler, org.xml.sax.Attributes attr) throws org.xml.sax.SAXException
handler
- the handlerattr
- the attributesorg.xml.sax.SAXException
- if there's handling exceptionvoid endDigest(SaxDigesterHandler handler) throws org.xml.sax.SAXException
handler
- the handlerorg.xml.sax.SAXException
- if there's handling exceptionvoid characters(SaxDigesterHandler handler, char[] chars, int offset, int length) throws org.xml.sax.SAXException
handler
- the handlerchars
- the charactersoffset
- the offsetlength
- the lengthorg.xml.sax.SAXException
- if there's parse problem