Contents | Package | Class | Tree | Deprecated | Index | Help XML for Java 1.0.4
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface com.ibm.xml.parser.TagHandler

Implementing Classes:
SAXDriver

public interface TagHandler
An interface for handling tag start and tag end events that are recognized by the XML4J parser.

Refer to the SAXDriver class for a sample implementation of this interface. SAXDriver implements this interface in order to propage events across the SAX API.

Version:
Revision: 29 1.3 src/com/ibm/xml/parser/TagHandler.java, xml4jsrc, xml4j-jtcsv, xml4j_1_0_4

Method Summary
void  handleEndTag(TXElement element, boolean empty)
Interface to be implemented in order to receive control when an end tag is recognized by the parser.
void  handleStartTag(TXElement element, boolean empty)
Interface to be implemented in order to receive control when a start tag is recognized by the parser.
 

Method Detail

handleStartTag

public void handleStartTag(TXElement element,
                           boolean empty)
Interface to be implemented in order to receive control when a start tag is recognized by the parser. Control is transferred prior to parsing any children.
Parameters:
element - TXElement that was parsed.
empty - =true if the Element is an empty Element such as <FOO key="val"/>; otherwise, =false.
See Also:
handleEndTag, handleStartTag

handleEndTag

public void handleEndTag(TXElement element,
                         boolean empty)
Interface to be implemented in order to receive control when an end tag is recognized by the parser. Control is transferred prior to calling any ElementHandlers.
Parameters:
element - TXElement that was parsed.
empty - =true if the Element has no children such as <FOO key="val"/> or or <FOO ...></FOO>; otherwise, =false.
See Also:
handleStartTag, handleEndTag, ElementHandler

Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS