net.sf.dewdrop.xml
Class DewDropDefaultHandler

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended bynet.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

Field Summary
protected  Stack _components
           
protected  Locator _locator
          allows place location in the document (line/column numbers, etc)
protected  Map _namespaceMappings
          Store URI to prefix mappings
protected  org.apache.commons.logging.Log logger
           
protected static String NL
           
 
Constructor Summary
protected DewDropDefaultHandler()
          Default constructor.
 
Method Summary
 void endDocument()
           
 void endElement(String namespaceURI, String localName, String qName)
           
 void endPrefixMapping(String prefix)
           
 Locator getDocumentLocator()
           
 InputSource resolveEntity(String publicId, String systemId)
           
 void setDocumentLocator(Locator locator)
           
protected  void setEntityResolver(EntityResolver resolver)
           
 void startDocument()
           
 void startPrefixMapping(String prefix, String uri)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, skippedEntity, startElement, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Constructor Detail

DewDropDefaultHandler

protected DewDropDefaultHandler()
Default constructor. Creates an XMLReader instance to do the parsing.

Method Detail

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