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, unmappedContentcontains, getDocPresPolicy, getIndicatingNoEntry, getLeafElementType, getMarshaller, getNamespaceResolver, getOwningObject, getSession, getUnmarshaller, isXOPPackage, setCurrentObject, setDocPresPolicy, setLeafElementType, setMarshaller, setNamespaceResolver, setOwningObject, setSession, setUnmarshaller, setXOPPackageadd, 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, valuespublic XMLRootRecord(Class cls)
public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class UnmarshalRecordSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class UnmarshalRecordSAXExceptionpublic void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class UnmarshalRecordSAXExceptionpublic Object getCurrentObject()
getCurrentObject in class XMLRecordpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class UnmarshalRecordSAXExceptionpublic void initializeRecord(XMLMapping selfRecordMapping) throws SAXException
initializeRecord in class UnmarshalRecordSAXExceptionpublic void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class UnmarshalRecordSAXException