com.openharbor.beck.xpath
Class OHXContentHandler

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended bycom.openharbor.beck.sax.DefaultSAXContentHandler
          extended bycom.openharbor.beck.xpath.OHXContentHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, MapFromXML.Aware, SAXContentHandler, XMLContext

public class OHXContentHandler
extends DefaultSAXContentHandler

Created by IntelliJ IDEA. User: ilya Date: Oct 4, 2004 Time: 3:26:43 PM To change this template use File | Settings | File Templates.


Field Summary
protected  org.apache.commons.logging.Log log
           
 
Fields inherited from class com.openharbor.beck.sax.DefaultSAXContentHandler
mapper, namespaces, needNamespaceContext
 
Constructor Summary
OHXContentHandler()
           
 
Method Summary
 void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
          Process end of element.
 void setChildUnmarshaller(Unmarshaller child)
           
 void setMapFromXML(MapFromXML mapper)
           
 void setUnmarshaller(Unmarshaller unmarshaller)
           
 void startDocument()
           
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String raw, org.xml.sax.Attributes attrs)
          Start element.
 
Methods inherited from class com.openharbor.beck.sax.DefaultSAXContentHandler
characters, clear, getBaseURI, getEntityResolver, getMapFromXML, getReceiver, getResult, newAttributeMap, removeResult, resolveNamespace, setBaseURI, setEntityResolver, setReceiver, startPrefixMapping, throwSAXException
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

OHXContentHandler

public OHXContentHandler()
Method Detail

setMapFromXML

public void setMapFromXML(MapFromXML mapper)
Specified by:
setMapFromXML in interface MapFromXML.Aware
Overrides:
setMapFromXML in class DefaultSAXContentHandler

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String raw,
                         org.xml.sax.Attributes attrs)
                  throws org.xml.sax.SAXException
Description copied from class: DefaultSAXContentHandler
Start element.

Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class DefaultSAXContentHandler
Throws:
org.xml.sax.SAXException

startDocument

public void startDocument()
                   throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler
Overrides:
startDocument in class DefaultSAXContentHandler
Throws:
org.xml.sax.SAXException

endElement

public void endElement(java.lang.String uri,
                       java.lang.String localName,
                       java.lang.String qName)
                throws org.xml.sax.SAXException
Description copied from class: DefaultSAXContentHandler
Process end of element.

Specified by:
endElement in interface org.xml.sax.ContentHandler
Overrides:
endElement in class DefaultSAXContentHandler
Throws:
org.xml.sax.SAXException

setChildUnmarshaller

public void setChildUnmarshaller(Unmarshaller child)
                          throws java.lang.Exception
Throws:
java.lang.Exception

setUnmarshaller

public void setUnmarshaller(Unmarshaller unmarshaller)
                     throws java.lang.Exception
Throws:
java.lang.Exception