org.davesag.generica.util.xml
Class SiteCopyXmlParser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.davesag.generica.util.xml.AbstractXmlParser
org.davesag.generica.util.xml.SiteCopyXmlParser
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, XmlParser
- public class SiteCopyXmlParser
- extends AbstractXmlParser
The SiteCopyXmlParser turns an incoming xml text stream into a
List of SiteCopy objects. SiteCopy is
represented in XML in the form
<site-copy title="sometitle"
section="somesection"
languageCode="en">
the copy
</site-copy>
- Since:
- Generica 1.0
- Version:
- CVS Revision $Id: SiteCopyXmlParser.java,v 1.7 2004/03/30 13:00:43 davesag Exp $
- Author:
- Dave Sag
http://www.davesag.com
| Methods inherited from class org.davesag.generica.util.xml.AbstractXmlParser |
add, characters, getBuffer, getCurrentItem, getList, getParser, parse, parse, parseString, resetBuffer, setCurrentItem, setParser |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiteCopyXmlParser
public SiteCopyXmlParser()
startElement
public void startElement(String uri,
String local,
String qName,
Attributes atts)
- Called when the Start Element is encountered.
- Parameters:
uri - the urilocal - dunnoqName - the tag nameatts - attributes
endElement
public void endElement(String uri,
String local,
String qName)
- Called when the End Element is encountered.
- Parameters:
uri - the urilocal - dunnoqName - the tag name
Dave Sag Generica API version 0.5.9 - (prerelease) Copyright © 2003 - 2004 Dave Sag.