public class XMLRootRecord extends UnmarshalRecord
DEFAULT_UNMAPPED_CONTENT_HANDLER
Constructor and Description |
---|
XMLRootRecord(Class cls)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endDocument() |
void |
endElement(String namespaceURI,
String localName,
String qName) |
Object |
getCurrentObject()
Return a populated XMLRoot object.
|
void |
initializeRecord(XMLMapping selfRecordMapping) |
void |
startDocument() |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
addAttributeValue, addAttributeValue, clear, comment, endCDATA, endDTD, endEntity, endPrefixMapping, endUnmappedElement, get, getAttributeChildNodeValue, getAttributes, getChildRecord, getChildUnmarshalRecord, getContainerInstance, getDescriptor, getDocument, getDOM, getEncoding, getFragmentBuilder, getLevelIndex, getLocalName, getNamespaceURI, getNoNamespaceSchemaLocation, getNullCapableValues, getParentRecord, getRootElementName, getRootElementNamespaceUri, getSchemaLocation, getSelfNodeValueForAttribute, getStringBuffer, getTransformationRecord, getTypeQName, getUnmarshalContext, getUnmarshalNamespaceResolver, getVersion, getXMLReader, getXPathNode, ignorableWhitespace, isBufferCDATA, isNil, isSelfRecord, processingInstruction, reference, removeNullCapableValue, resetStringBuffer, resolveNamespacePrefix, resolveNamespaceUri, setAttributes, setAttributeValue, setChildRecord, setDocumentLocator, setEncoding, setFragmentBuilder, setLocalName, setNil, setNoNamespaceSchemaLocation, setParentRecord, setRootElementName, setRootElementNamespaceUri, setSchemaLocation, setSelfRecord, setTransformationRecord, setTypeQName, setUnmarshalContext, setUnmarshalNamespaceResolver, setVersion, setXMLReader, skippedEntity, startCDATA, startDTD, startEntity, startPrefixMapping, startUnmappedElement, toString, transformToXML, unmappedContent
contains, getDocPresPolicy, getIndicatingNoEntry, getLeafElementType, getMarshaller, getNamespaceResolver, getOwningObject, getSession, getUnmarshaller, isXOPPackage, setCurrentObject, setDocPresPolicy, setLeafElementType, setMarshaller, setNamespaceResolver, setOwningObject, setSession, setUnmarshaller, setXOPPackage
add, clone, containsKey, containsKey, containsKey, containsValue, elements, entrySet, get, get, getField, getFields, getIndicatingNoEntry, getValues, getValues, getValues, isEmpty, keys, keySet, mergeFrom, put, put, put, putAll, remove, remove, remove, replaceAt, size, values
public XMLRootRecord(Class cls)
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class UnmarshalRecord
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class UnmarshalRecord
SAXException
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class UnmarshalRecord
SAXException
public Object getCurrentObject()
getCurrentObject
in class XMLRecord
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class UnmarshalRecord
SAXException
public void initializeRecord(XMLMapping selfRecordMapping) throws SAXException
initializeRecord
in class UnmarshalRecord
SAXException
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class UnmarshalRecord
SAXException