Interface ElementDigester
-
- All Known Subinterfaces:
ElementCreatorDigester
- All Known Implementing Classes:
AbstractElementCreatorDigester
,ChainedDigester
,DefaultDigester
,XmlPropertyElementDigester
public interface ElementDigester
An element digester digest a particular element inside an xml file in common-digest framework- Version:
- $Id: ElementDigester.java,v 1.3 2005/06/22 22:58:58 thlee Exp $ $Name: $
- Author:
- TiongHiang Lee (thlee@thinklient.org)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
characters(SaxDigesterHandler handler, char[] chars, int offset, int length)
Handle the charactersvoid
endDigest(SaxDigesterHandler handler)
End the elementjava.lang.String
getElementName()
Get the element namevoid
startDigest(SaxDigesterHandler handler, org.xml.sax.Attributes attr)
Start an element with the given attributes
-
-
-
Method Detail
-
getElementName
java.lang.String getElementName()
Get the element name- Returns:
- the element name
-
startDigest
void startDigest(SaxDigesterHandler handler, org.xml.sax.Attributes attr) throws org.xml.sax.SAXException
Start an element with the given attributes- Parameters:
handler
- the handlerattr
- the attributes- Throws:
org.xml.sax.SAXException
- if there's handling exception
-
endDigest
void endDigest(SaxDigesterHandler handler) throws org.xml.sax.SAXException
End the element- Parameters:
handler
- the handler- Throws:
org.xml.sax.SAXException
- if there's handling exception
-
characters
void characters(SaxDigesterHandler handler, char[] chars, int offset, int length) throws org.xml.sax.SAXException
Handle the characters- Parameters:
handler
- the handlerchars
- the charactersoffset
- the offsetlength
- the length- Throws:
org.xml.sax.SAXException
- if there's parse problem
-
-