public class XMLUnmarshaller
extends java.lang.Object
implements org.xml.sax.ContentHandler
| Constructor and Description |
|---|
XMLUnmarshaller(XMLMapping map)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
XMLUnmarshaller(XMLMapping map,
java.lang.String encoding)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
endDocument()
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
endElement(java.lang.String nsUri,
java.lang.String localName,
java.lang.String qName)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
endPrefixMapping(java.lang.String prefix)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
ReferenceResolver |
getResolver()
This method supports the HCI infrastructure and should not be used directly
in your code.
|
protected java.lang.String |
getTagName(java.lang.String nsUri,
java.lang.String localName,
java.lang.String qName) |
XMLMarshallable |
getXMLMarshallable()
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
ignorableWhitespace(char[] ch,
int start,
int length)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
processingInstruction(java.lang.String pi,
java.lang.String pp)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
setDocumentLocator(org.xml.sax.Locator l)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
skippedEntity(java.lang.String entity)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
startDocument()
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
startElement(java.lang.String nsUri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
public XMLUnmarshaller(XMLMapping map)
map - the mapping between the tag and the classespublic XMLUnmarshaller(XMLMapping map, java.lang.String encoding)
map - the mapping between the tag and the classesencoding - the encoding supported, if it is null all encodings are supported.public void setDocumentLocator(org.xml.sax.Locator l)
setDocumentLocator in interface org.xml.sax.ContentHandlerl - the document locatorpublic void startDocument()
startDocument in interface org.xml.sax.ContentHandlerpublic void endDocument()
endDocument in interface org.xml.sax.ContentHandlerpublic void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
startPrefixMapping in interface org.xml.sax.ContentHandlerprefix - the prefixuri - the uripublic void endPrefixMapping(java.lang.String prefix)
endPrefixMapping in interface org.xml.sax.ContentHandlerprefix - the prefixpublic void startElement(java.lang.String nsUri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlernsUri - the nsUrilocalName - the local nameqName - the qNameatts - the attributesorg.xml.sax.SAXException - for invalid xml formatpublic void characters(char[] ch,
int start,
int length)
characters in interface org.xml.sax.ContentHandlerch - the charactersstart - the start indexlength - the lengthpublic void ignorableWhitespace(char[] ch,
int start,
int length)
ignorableWhitespace in interface org.xml.sax.ContentHandlerch - the charactersstart - the start indexlength - the lengthpublic void endElement(java.lang.String nsUri,
java.lang.String localName,
java.lang.String qName)
endElement in interface org.xml.sax.ContentHandlernsUri - the nsUrilocalName - the local nameqName - the qNamepublic void processingInstruction(java.lang.String pi,
java.lang.String pp)
processingInstruction in interface org.xml.sax.ContentHandlerpi - the pipp - the pppublic void skippedEntity(java.lang.String entity)
skippedEntity in interface org.xml.sax.ContentHandlerentity - the entitypublic XMLMarshallable getXMLMarshallable()
public ReferenceResolver getResolver()
protected java.lang.String getTagName(java.lang.String nsUri,
java.lang.String localName,
java.lang.String qName)