Package com.highdeal.hci
Class XMLUnmarshaller
java.lang.Object
com.highdeal.hci.XMLUnmarshaller
- All Implemented Interfaces:
ContentHandler
This class supports the HCI infrastructure and should not be used directly
in your code.
-
Constructor Summary
ConstructorsConstructorDescriptionThis 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. -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) This method supports the HCI infrastructure and should not be used directly in your code.voidThis method supports the HCI infrastructure and should not be used directly in your code.voidendElement(String nsUri, String localName, String qName) This method supports the HCI infrastructure and should not be used directly in your code.voidendPrefixMapping(String prefix) This method supports the HCI infrastructure and should not be used directly in your code.This method supports the HCI infrastructure and should not be used directly in your code.protected StringgetTagName(String nsUri, String localName, String qName) This method supports the HCI infrastructure and should not be used directly in your code.voidignorableWhitespace(char[] ch, int start, int length) This method supports the HCI infrastructure and should not be used directly in your code.voidprocessingInstruction(String pi, String pp) This method supports the HCI infrastructure and should not be used directly in your code.voidThis method supports the HCI infrastructure and should not be used directly in your code.voidskippedEntity(String entity) This method supports the HCI infrastructure and should not be used directly in your code.voidThis method supports the HCI infrastructure and should not be used directly in your code.voidstartElement(String nsUri, String localName, String qName, Attributes atts) This method supports the HCI infrastructure and should not be used directly in your code.voidstartPrefixMapping(String prefix, String uri) This method supports the HCI infrastructure and should not be used directly in your code.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
XMLUnmarshaller
This method supports the HCI infrastructure and should not be used directly in your code. The UTF-8 encoding is the default encoding. On parse operation if the encoding is not supported a SAXException is throw.- Parameters:
map- the mapping between the tag and the classes
-
XMLUnmarshaller
This method supports the HCI infrastructure and should not be used directly in your code. On parse operation if the encoding is not supported a SAXException is throw.- Parameters:
map- the mapping between the tag and the classesencoding- the encoding supported, if it is null all encodings are supported.
-
-
Method Details
-
setDocumentLocator
This method supports the HCI infrastructure and should not be used directly in your code.- Specified by:
setDocumentLocatorin interfaceContentHandler- Parameters:
l- the document locator
-
startDocument
public void startDocument()This method supports the HCI infrastructure and should not be used directly in your code.- Specified by:
startDocumentin interfaceContentHandler
-
endDocument
public void endDocument()This method supports the HCI infrastructure and should not be used directly in your code.- Specified by:
endDocumentin interfaceContentHandler
-
startPrefixMapping
This method supports the HCI infrastructure and should not be used directly in your code.- Specified by:
startPrefixMappingin interfaceContentHandler- Parameters:
prefix- the prefixuri- the uri
-
endPrefixMapping
This method supports the HCI infrastructure and should not be used directly in your code.- Specified by:
endPrefixMappingin interfaceContentHandler- Parameters:
prefix- the prefix
-
startElement
public void startElement(String nsUri, String localName, String qName, Attributes atts) throws SAXException This method supports the HCI infrastructure and should not be used directly in your code.- Specified by:
startElementin interfaceContentHandler- Parameters:
nsUri- the nsUrilocalName- the local nameqName- the qNameatts- the attributes- Throws:
SAXException- for invalid xml format
-
characters
public void characters(char[] ch, int start, int length) This method supports the HCI infrastructure and should not be used directly in your code.- Specified by:
charactersin interfaceContentHandler- Parameters:
ch- the charactersstart- the start indexlength- the length
-
ignorableWhitespace
public void ignorableWhitespace(char[] ch, int start, int length) This method supports the HCI infrastructure and should not be used directly in your code.- Specified by:
ignorableWhitespacein interfaceContentHandler- Parameters:
ch- the charactersstart- the start indexlength- the length
-
endElement
This method supports the HCI infrastructure and should not be used directly in your code.- Specified by:
endElementin interfaceContentHandler- Parameters:
nsUri- the nsUrilocalName- the local nameqName- the qName
-
processingInstruction
This method supports the HCI infrastructure and should not be used directly in your code.- Specified by:
processingInstructionin interfaceContentHandler- Parameters:
pi- the pipp- the pp
-
skippedEntity
This method supports the HCI infrastructure and should not be used directly in your code.- Specified by:
skippedEntityin interfaceContentHandler- Parameters:
entity- the entity
-
getXMLMarshallable
This method supports the HCI infrastructure and should not be used directly in your code.- Returns:
- the xml marshallable extracted from the xml stream
-
getResolver
This method supports the HCI infrastructure and should not be used directly in your code.- Returns:
- return the resolver
-
getTagName
-