Package org.riversun.bigdoc.xml
Interface BigXmlReader.TagListener
- Enclosing class:
- BigXmlReader
public static interface BigXmlReader.TagListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidonTagFinished(BigXmlReader obj, String fullTagName, String tagName, String value, Attributes atts) Called when tag endsvoidonTagStarted(BigXmlReader obj, String fullTagName, String tagName) Called when tag starts
-
Method Details
-
onTagStarted
Called when tag starts- Parameters:
obj- ref of BigXmlReader,when you want to stop reading a xml,you can callobj.stop()fullTagName- full tag name like "root.element.child"tagName- local tag name like "child"
-
onTagFinished
void onTagFinished(BigXmlReader obj, String fullTagName, String tagName, String value, Attributes atts) Called when tag ends- Parameters:
obj- ref of BigXmlReader,when you want to stop reading a xml,you can callobj.stop()fullTagName- full tag name like "root.element.child"tagName- local tag name like "child"value- value of this tagatts- attributes of this tag
-