public class XMLUnmarshaller extends Object implements 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,
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(String nsUri,
String localName,
String qName)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
endPrefixMapping(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.
|
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(String pi,
String pp)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
setDocumentLocator(Locator l)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
skippedEntity(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(String nsUri,
String localName,
String qName,
Attributes atts)
This method supports the HCI infrastructure and should not be used directly
in your code.
|
void |
startPrefixMapping(String prefix,
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, 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(Locator l)
setDocumentLocator in interface ContentHandlerl - the document locatorpublic void startDocument()
startDocument in interface ContentHandlerpublic void endDocument()
endDocument in interface ContentHandlerpublic void startPrefixMapping(String prefix, String uri)
startPrefixMapping in interface ContentHandlerprefix - the prefixuri - the uripublic void endPrefixMapping(String prefix)
endPrefixMapping in interface ContentHandlerprefix - the prefixpublic void startElement(String nsUri, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlernsUri - the nsUrilocalName - the local nameqName - the qNameatts - the attributesSAXException - for invalid xml formatpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlerch - the charactersstart - the start indexlength - the lengthpublic void ignorableWhitespace(char[] ch,
int start,
int length)
ignorableWhitespace in interface ContentHandlerch - the charactersstart - the start indexlength - the lengthpublic void endElement(String nsUri, String localName, String qName)
endElement in interface ContentHandlernsUri - the nsUrilocalName - the local nameqName - the qNamepublic void processingInstruction(String pi, String pp)
processingInstruction in interface ContentHandlerpi - the pipp - the pppublic void skippedEntity(String entity)
skippedEntity in interface ContentHandlerentity - the entitypublic XMLMarshallable getXMLMarshallable()
public ReferenceResolver getResolver()