com.transjam.util
Interface XMLListener

All Known Implementing Classes:
ProtocolReader

public interface XMLListener

Listener for parsing an XML stream.

Author:
(C) 1997 Phil Burk, All Rights Reserved
See Also:
XMLReader, XMLPrinter

Method Summary
 void beginElement(java.lang.String tag, java.util.Hashtable attributes, boolean ifEmpty)
          Handles the start of an element.
 void endElement(java.lang.String tag)
          Handles the end of an element.
 void foundContent(java.lang.String content)
          Handles the content of an element.
 

Method Detail

beginElement

public void beginElement(java.lang.String tag,
                         java.util.Hashtable attributes,
                         boolean ifEmpty)
Handles the start of an element. The flag ifEmpty if there is no content or endTag.

foundContent

public void foundContent(java.lang.String content)
Handles the content of an element.

endElement

public void endElement(java.lang.String tag)
Handles the end of an element.