com.photoviewer.client.parse
Class ThinletXmlParser
java.lang.Object
com.photoviewer.client.parse.ThinletXmlParser
- Direct Known Subclasses:
- DirectoryParser
- public abstract class ThinletXmlParser
- extends java.lang.Object
ThinletXmlParser exists to make parsing different types of XML documents easy
using the miniature XML parser that comes with the Thinlet API. To create a
parser for a new dcoument type, subclass ThinletXmlParser and implement
parser callbacks. Install the subclass instance into the PhotoViewer before
calling the .parse() method on the PhotoViewer.
- Author:
- John De Regnaucourt
Method Summary |
void |
characters(java.lang.String text)
|
abstract void |
endElement()
|
abstract void |
startElement(java.lang.String tag,
java.util.Hashtable attributes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThinletXmlParser
public ThinletXmlParser()
startElement
public abstract void startElement(java.lang.String tag,
java.util.Hashtable attributes)
endElement
public abstract void endElement()
characters
public void characters(java.lang.String text)