net.sf.dewdrop.xml
Class DewDropDefaultHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
net.sf.dewdrop.xml.DewDropDefaultHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- Direct Known Subclasses:
- SqlmlHandler
- public abstract class DewDropDefaultHandler
- extends DefaultHandler
Class short description goes here.
Class long description goes here.
[optional JavaDoc tags here]
- Author:
- Les A. Hazlewood
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final transient org.apache.commons.logging.Log logger
NL
protected static final String NL
_components
protected Stack _components
_locator
protected Locator _locator
- allows place location in the document (line/column numbers, etc)
_namespaceMappings
protected Map _namespaceMappings
- Store URI to prefix mappings
DewDropDefaultHandler
protected DewDropDefaultHandler()
- Default constructor. Creates an XMLReader instance to do the parsing.
setEntityResolver
protected void setEntityResolver(EntityResolver resolver)
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException
- Throws:
SAXException
setDocumentLocator
public void setDocumentLocator(Locator locator)
getDocumentLocator
public Locator getDocumentLocator()
startDocument
public void startDocument()
throws SAXException
- Throws:
SAXException
endDocument
public void endDocument()
throws SAXException
- Throws:
SAXException
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
- Throws:
SAXException
startPrefixMapping
public void startPrefixMapping(String prefix,
String uri)
throws SAXException
- Throws:
SAXException
endPrefixMapping
public void endPrefixMapping(String prefix)
throws SAXException
- Throws:
SAXException