public class XMLRootRecord extends UnmarshalRecord
AbstractRecord.NoEntry
XMLRecord.Nil
noEntry
DEFAULT_UNMAPPED_CONTENT_HANDLER
DEFAULT_ATTRIBUTE_GROUP, NIL
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(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, unmappedContent
addExtraNamespacesToNamespaceResolver, 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, writeXsiTypeAttribute
add, 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, values
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLeafElementType, setLeafElementType, setSession
getSession
put
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
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 characters(CharSequence characters) throws SAXException
characters
in interface ExtendedContentHandler
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 interface UnmarshalRecord<AbstractSession,DatabaseField,IDResolver,TreeObjectBuilder,XMLUnmarshaller>
getCurrentObject
in class UnmarshalRecord
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class UnmarshalRecord
SAXException
public void initializeRecord(Mapping selfRecordMapping) throws SAXException
initializeRecord
in interface UnmarshalRecord<AbstractSession,DatabaseField,IDResolver,TreeObjectBuilder,XMLUnmarshaller>
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
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference