Package thing

Interface ThinletReader.SAXHandler

Enclosing class:
ThinletReader

public static interface ThinletReader.SAXHandler
A callback handler for the ThinletReader.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the ThinletReader has finished visiting all children of the current element.
    void
    startElement(String name, Hashtable attributelist)
    Called when the ThinletReader visits a new element, before visiting all of its children.
  • Method Details

    • startElement

      void startElement(String name, Hashtable attributelist)
      Called when the ThinletReader visits 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 the ThinletReader has finished visiting all children of the current element. ThinletReader calls this method in opposite order of the calls to startElement(String,Hashtable). Implementors of this interface must keep track of the element that has been finished themselves, by using a stack for example.