com.lightdev.lib.xml.parser
Interface XmlParserCallback

All Known Implementing Classes:
HTMLFilter, JXmlTree, XmlDocumentReader

public interface XmlParserCallback

All classes that that are used to interprete data parsed by class XmlParser need to implement this interface.

Version:
1, March 5, 2005
Author:
Ulrich Hilger, Light Development, http://www.lightdev.com, info@lightdev.com, published under the terms and conditions of the BSD License, for details see file license.txt in the distribution package of this software
See Also:
XmlParser

Method Summary
 void handleEndTag(String tagName)
          this method is called by XmlParser when an end tag is encountered in the data that is being parsed.
 void handleStartTag(String tagName, AttributeSet a)
          this method is called by XmlParser when a start tag is encountered in the data that is being parsed.
 void handleText(String text)
          this method is called by XmlParser when a portion of content text has been parsed.
 

Method Detail

handleStartTag

void handleStartTag(String tagName,
                    AttributeSet a)
this method is called by XmlParser when a start tag is encountered in the data that is being parsed.

Parameters:
tagName - the name of the tag that has been encountered
a - the attributes of the tag that has been encountered
See Also:
XmlParser

handleEndTag

void handleEndTag(String tagName)
this method is called by XmlParser when an end tag is encountered in the data that is being parsed.

Parameters:
tagName - the name of the tag that has been encountered
See Also:
XmlParser

handleText

void handleText(String text)
this method is called by XmlParser when a portion of content text has been parsed.

Parameters:
text - the text portion that has been parsed
See Also:
XmlParser