de.hedenus.mobilexml
Interface XMLReaderEventListener

All Known Implementing Classes:
RDFXMLParser

public interface XMLReaderEventListener

Interface for classes which wants to listen to events generated by the XMLReader.

Author:
Michael Hedenus

Method Summary
 void elementBegin(Element element, XMLReader.Scope scope)
          Method called when an tag start is encountered.
 void elementEnd(Element element, XMLReader.Scope scope)
          The method called when a tag end is encountered.
 void text(java.lang.String text, XMLReader.Scope scope)
          Method called when some plain text between two tags is encountered.
 

Method Detail

elementBegin

void elementBegin(Element element,
                  XMLReader.Scope scope)
                  throws XMLException
Method called when an tag start is encountered.

Throws:
XMLException

text

void text(java.lang.String text,
          XMLReader.Scope scope)
          throws XMLException
Method called when some plain text between two tags is encountered.

Throws:
XMLException

elementEnd

void elementEnd(Element element,
                XMLReader.Scope scope)
                throws XMLException
The method called when a tag end is encountered.

Throws:
XMLException