public class XMLRootRecord extends UnmarshalRecord
org.eclipse.persistence.internal.sessions.AbstractRecord.NoEntry| Constructor and Description |
|---|
XMLRootRecord(Class cls)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
characters(CharSequence characters) |
void |
endDocument() |
void |
endElement(String namespaceURI,
String localName,
String qName) |
Object |
getCurrentObject()
Return a populated XMLRoot object.
|
void |
initializeRecord(org.eclipse.persistence.internal.oxm.mappings.Mapping selfRecordMapping) |
void |
startDocument() |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
addAttributeValue, addAttributeValue, clear, comment, createRoot, endCDATA, endDTD, endEntity, endPrefixMapping, endUnmappedElement, get, getAttributeChildNodeValue, getAttributes, getCharacters, getChildRecord, getChildUnmarshalRecord, getContainerInstance, getContainerInstance, getDescriptor, getDocument, getDOM, getEncoding, getFragmentBuilder, getLevelIndex, getLocalName, getNamespaceSeparator, getNamespaceURI, getNoNamespaceSchemaLocation, getNonAttributeXPathNode, getNullCapableValues, getParentRecord, getPrefixesForFragment, getReferenceResolver, getRootElementName, getRootElementNamespaceUri, getSchemaLocation, getTextWrapperFragment, getTransformationRecord, getTypeQName, getUnmarshalAttributeGroup, getUnmarshalContext, getUnmarshaller, getUnmarshalNamespaceResolver, getUnmarshalRecord, getVersion, getXMLReader, getXPathNode, ignorableWhitespace, initialize, isBufferCDATA, isNamespaceAware, isNil, isSelfRecord, processingInstruction, reference, removeNullCapableValue, resetStringBuffer, resolveNamespacePrefix, resolveNamespaceUri, resolveReferences, setAttributes, setAttributeValue, setAttributeValueNull, setChildRecord, setContainerInstance, setCurrentObject, setDocumentLocator, setFragmentBuilder, setLocalName, setNil, setParentRecord, setReferenceResolver, setRootElementName, setRootElementNamespaceUri, setSelfRecord, setTextWrapperFragment, setTransformationRecord, setTypeQName, setUnmarshalAttributeGroup, setUnmarshalContext, setUnmarshaller, setUnmarshalNamespaceResolver, setXMLReader, skippedEntity, startCDATA, startDTD, startEntity, startPrefixMapping, transformToXML, unmappedContentaddExtraNamespacesToNamespaceResolver, addXsiTypeAndClassIndicatorIfRequired, addXsiTypeAndClassIndicatorIfRequired, attribute, attributeWithoutQName, contains, get, getDocPresPolicy, getIndicatingNoEntry, getLeafElementType, getMarshaller, getNamespaceResolver, getOwningObject, getSession, hasCustomNamespaceMapper, hasEqualNamespaceResolvers, isXOPPackage, namespaceDeclaration, put, removeExtraNamespacesFromNamespaceResolver, setCustomNamespaceMapper, setDocPresPolicy, setEqualNamespaceResolvers, setLeafElementType, setLeafElementType, setMarshaller, setNamespaceResolver, setOwningObject, setSession, setXOPPackage, writeXsiTypeAttribute, writeXsiTypeAttributeadd, clone, containsKey, containsKey, containsKey, containsValue, elements, entrySet, get, getField, getFields, getIndicatingNoEntry, getSopObject, getValues, getValues, getValues, hasNullValueInFields, hasSopObject, isEmpty, keys, keySet, mergeFrom, put, put, putAll, remove, remove, remove, replaceAt, replaceAt, setNullValueInFields, setSopObject, size, toString, valuesequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLeafElementType, setLeafElementType, setSessionputcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic XMLRootRecord(Class cls)
public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class UnmarshalRecordSAXExceptionpublic void characters(CharSequence characters) throws SAXException
characters in interface org.eclipse.persistence.internal.oxm.record.ExtendedContentHandlercharacters 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 interface org.eclipse.persistence.internal.oxm.record.UnmarshalRecord<org.eclipse.persistence.internal.sessions.AbstractSession,org.eclipse.persistence.internal.helper.DatabaseField,IDResolver,org.eclipse.persistence.internal.oxm.TreeObjectBuilder,XMLUnmarshaller>getCurrentObject in class UnmarshalRecordpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class UnmarshalRecordSAXExceptionpublic void initializeRecord(org.eclipse.persistence.internal.oxm.mappings.Mapping selfRecordMapping)
throws SAXException
initializeRecord in interface org.eclipse.persistence.internal.oxm.record.UnmarshalRecord<org.eclipse.persistence.internal.sessions.AbstractSession,org.eclipse.persistence.internal.helper.DatabaseField,IDResolver,org.eclipse.persistence.internal.oxm.TreeObjectBuilder,XMLUnmarshaller>initializeRecord in class UnmarshalRecordSAXExceptionpublic void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class UnmarshalRecordSAXException