public class XMLRootRecord extends UnmarshalRecordImpl
XMLRecord.Nil
DEFAULT_UNMAPPED_CONTENT_HANDLER
DEFAULT_ATTRIBUTE_GROUP, NIL
Constructor and Description |
---|
XMLRootRecord(java.lang.Class cls,
XMLUnmarshaller unmarshaller)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
characters(java.lang.CharSequence characters) |
void |
endDocument() |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName) |
java.lang.Object |
getCurrentObject()
Return a populated XMLRoot object.
|
void |
initializeRecord(Mapping selfRecordMapping) |
void |
startDocument() |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts) |
addAttributeValue, addAttributeValue, clear, comment, createRoot, endCDATA, endDTD, endEntity, endPrefixMapping, endUnmappedElement, get, getAttributeChildNodeValue, getAttributes, getCharacters, getChildRecord, getChildUnmarshalRecord, getContainerInstance, getContainerInstance, getConversionManager, getDescriptor, getDocument, getDocumentLocator, getEncoding, getFragmentBuilder, getLeafElementType, getLevelIndex, getLocalName, getNamespaceSeparator, getNamespaceURI, getNoNamespaceSchemaLocation, getNonAttributeXPathNode, getNullCapableValues, getParentRecord, getPrefixesForFragment, getReferenceResolver, getRootElementName, getRootElementNamespaceUri, getSchemaLocation, getSelfNodeValueForAttribute, getSession, getTextWrapperFragment, getTransformationRecord, getTypeQName, getUnmarshalAttributeGroup, getUnmarshalContext, getUnmarshaller, getUnmarshalNamespaceResolver, getVersion, getXMLReader, getXPathNode, ignorableWhitespace, initialize, isBufferCDATA, isNamespaceAware, isNil, isSelfRecord, processingInstruction, reference, removeNullCapableValue, resetStringBuffer, resolveNamespacePrefix, resolveNamespaceUri, resolveReferences, setAttributes, setAttributeValue, setAttributeValueNull, setChildRecord, setContainerInstance, setCurrentObject, setDocumentLocator, setEncoding, setFragmentBuilder, setLeafElementType, setLeafElementType, setLocalName, setNil, setNoNamespaceSchemaLocation, setParentRecord, setReferenceResolver, setRootElementName, setRootElementNamespaceUri, setSchemaLocation, setSelfRecord, setSession, setTextWrapperFragment, setTransformationRecord, setTypeQName, setUnmarshalAttributeGroup, setUnmarshalContext, setUnmarshaller, setUnmarshalNamespaceResolver, setVersion, setXMLReader, skippedEntity, startCDATA, startDTD, startEntity, startPrefixMapping, startUnmappedElement, transformToXML, unmappedContent
public XMLRootRecord(java.lang.Class cls, XMLUnmarshaller unmarshaller)
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class UnmarshalRecordImpl
org.xml.sax.SAXException
public void characters(java.lang.CharSequence characters) throws org.xml.sax.SAXException
characters
in interface ExtendedContentHandler
characters
in class UnmarshalRecordImpl
org.xml.sax.SAXException
public void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
endDocument
in class UnmarshalRecordImpl
org.xml.sax.SAXException
public void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class UnmarshalRecordImpl
org.xml.sax.SAXException
public java.lang.Object getCurrentObject()
getCurrentObject
in interface UnmarshalRecord
getCurrentObject
in class UnmarshalRecordImpl
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
startDocument
in class UnmarshalRecordImpl
org.xml.sax.SAXException
public void initializeRecord(Mapping selfRecordMapping) throws org.xml.sax.SAXException
initializeRecord
in interface UnmarshalRecord
initializeRecord
in class UnmarshalRecordImpl
org.xml.sax.SAXException
public void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class UnmarshalRecordImpl
org.xml.sax.SAXException
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference