Package thing
Interface ThinletReader.SAXHandler
- Enclosing class:
ThinletReader
public static interface ThinletReader.SAXHandler
A callback handler for the
ThinletReader.-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when theThinletReaderhas finished visiting all children of the current element.voidstartElement(String name, Hashtable attributelist) Called when theThinletReadervisits a new element, before visiting all of its children.
-
Method Details
-
startElement
Called when theThinletReadervisits a new element, before visiting all of its children.- Parameters:
name- the name of the element.attributelist- the attributes of the element.
-
endElement
void endElement()Called when theThinletReaderhas finished visiting all children of the current element.ThinletReadercalls this method in opposite order of the calls tostartElement(String,Hashtable). Implementors of this interface must keep track of the element that has been finished themselves, by using a stack for example.
-