org.gnu.xml.ezparse
Interface ElementListener

All Known Implementing Classes:
ElementAdapter

public interface ElementListener

Represents the call-back handler to which control is passed to when events occur during XML parsing.

Since:
J2SDK 1.4

Method Summary
 void endElement(Element element, Context ctx)
          endElement is called after the element and any of it's children have been parsed.
 void startElement(Element element, Context ctx)
          This method is called when the element is first encountered.
 

Method Detail

startElement

public void startElement(Element element,
                         Context ctx)
This method is called when the element is first encountered.

Parameters:
element - the element
ctx - the Context

endElement

public void endElement(Element element,
                       Context ctx)
endElement is called after the element and any of it's children have been parsed.

Parameters:
element - the element
ctx - the Context