public class SAXUnmarshallerHandler extends Object implements ExtendedContentHandler
Purpose:An implementation of ContentHandler used to handle the root element of an XML Document during unmarshal.
Responsibilities:
Constructor and Description |
---|
SAXUnmarshallerHandler(Context xmlContext) |
public SAXUnmarshallerHandler(Context xmlContext)
public XMLReader getXMLReader()
public void setXMLReader(XMLReader xmlReader)
public Object getObject()
public void setObject(Object object)
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
public UnmarshalNamespaceResolver getUnmarshalNamespaceResolver()
public void setUnmarshalNamespaceResolver(UnmarshalNamespaceResolver unmarshalNamespaceResolver)
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface ContentHandler
SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface ContentHandler
SAXException
public void resolveReferences()
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
SAXException
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
SAXException
public void characters(CharSequence characters) throws SAXException
characters
in interface ExtendedContentHandler
SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
ignorableWhitespace
in interface ContentHandler
SAXException
public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface ContentHandler
SAXException
public void skippedEntity(String name) throws SAXException
skippedEntity
in interface ContentHandler
SAXException
public void setUnmarshaller(Unmarshaller unmarshaller)
public Unmarshaller getUnmarshaller()
public void setKeepAsElementPolicy(UnmarshalKeepAsElementPolicy policy)
public UnmarshalKeepAsElementPolicy getKeepAsElementPolicy()
public void setNil(boolean isNil)
ExtendedContentHandler
setNil
in interface ExtendedContentHandler
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference