- All Implemented Interfaces:
MappedRecord
,Record
,Serializable
,Cloneable
,Map
,DOMRecord
,AbstractMarshalRecord<AbstractSession,
,DatabaseField, XMLMarshaller, NamespaceResolver> AbstractUnmarshalRecord<AbstractSession,
,DatabaseField, XMLUnmarshaller> TransformationRecord
,XMLRecord<AbstractSession>
,DataRecord
An EISDOMRecord
is a wrapper for a DOM tree. It provides a
Record/Map API on an XML DOM element. This can be used from the
platform to wrap adapter XML/DOM records to be used with TopLink XML.
- Since:
- OracleAS TopLink 10g (10.0.3)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.persistence.internal.sessions.AbstractRecord
AbstractRecord.EntrySet, AbstractRecord.KeySet, AbstractRecord.NoEntry, AbstractRecord.RecordEntry, AbstractRecord.RecordEntryIterator, AbstractRecord.RecordKeyIterator, AbstractRecord.RecordValuesIterator, AbstractRecord.ValuesSet
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.oxm.record.XMLRecord
XMLRecord.Nil
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Method
Used for introspected DOM records.protected Record
The original adapter record.protected String
The record name.protected String
The record name.Fields inherited from class org.eclipse.persistence.oxm.record.XMLRecord
currentObject, equalNamespaceResolvers, hasCustomNamespaceMapper, NIL, session, unmarshaller
Fields inherited from class org.eclipse.persistence.internal.sessions.AbstractRecord
fields, lookupField, noEntry, nullValueInFields, size, sopObject, values
Fields inherited from interface org.eclipse.persistence.internal.oxm.record.XMLRecord
DEFAULT_ATTRIBUTE_GROUP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.EISDOMRecord
(Record record) Create a TopLink record from the JCA adapter record.EISDOMRecord
(Record record, Element dom) Create a TopLink record from the JCA adapter record and DOM tree.EISDOMRecord
(Element dom) Create a TopLink record from a DOM tree. -
Method Summary
Modifier and TypeMethodDescriptionbuildNestedRow
(Element element) INTERNAL: Build the nested record, this can be overwriten by subclasses to use their subclass instance.Return the JCA adapter record.Forward to the record.Forward to the record.void
Set the JCA adapter record.void
setRecordName
(String recordName) Forward to the record.void
setRecordShortDescription
(String recordShortDescription) Forward to the record.Methods inherited from class org.eclipse.persistence.oxm.record.DOMRecord
add, clear, clone, contains, containsKey, createNewDocument, createNewDocument, entrySet, get, getDocument, getDOM, getFields, getIndicatingNoEntry, getIndicatingNoEntry, getIndicatingNoEntry, getLocalName, getNamespaceURI, getReferenceResolver, getValues, getValues, getValues, getValues, getValuesIndicatingNoEntry, getValuesIndicatingNoEntry, getValuesIndicatingNoEntry, getValuesIndicatingNoEntry, getValuesIndicatingNoEntry, getValuesIndicatingNoEntry, keySet, put, put, put, remove, replaceAt, resolveNamespacePrefix, resolveReferences, setDOM, setDOM, setFields, setReferenceResolver, setSession, setValues, size, toString, transformFromXML, transformFromXML, transformToWriter, transformToXML, values
Methods inherited from class org.eclipse.persistence.oxm.record.XMLRecord
addExtraNamespacesToNamespaceResolver, addXsiTypeAndClassIndicatorIfRequired, addXsiTypeAndClassIndicatorIfRequired, attribute, attributeWithoutQName, convertToXMLField, convertToXMLField, get, getConversionManager, getCurrentObject, getDocPresPolicy, getIndicatingNoEntry, getLeafElementType, getMarshaller, getNamespaceResolver, getNamespaceSeparator, getOwningObject, getSession, getUnmarshaller, hasCustomNamespaceMapper, hasEqualNamespaceResolvers, isNamespaceAware, isXOPPackage, namespaceDeclaration, put, removeExtraNamespacesFromNamespaceResolver, setCurrentObject, setCustomNamespaceMapper, setDocPresPolicy, setEqualNamespaceResolvers, setLeafElementType, setLeafElementType, setMarshaller, setNamespaceResolver, setOwningObject, setUnmarshaller, setXOPPackage, writeXsiTypeAttribute, writeXsiTypeAttribute
Methods inherited from class org.eclipse.persistence.internal.sessions.AbstractRecord
containsKey, containsKey, containsValue, elements, get, getField, getLookupField, getSopObject, hasNullValueInFields, hasSopObject, isEmpty, keys, mergeFrom, putAll, remove, remove, replaceAt, resetSize, setNullValueInFields, setSopObject
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Field Details
-
record
The original adapter record. -
recordName
The record name. -
recordShortDescription
The record name. -
domMethod
Used for introspected DOM records.
-
-
Constructor Details
-
EISDOMRecord
public EISDOMRecord()Default constructor. -
EISDOMRecord
Create a TopLink record from the JCA adapter record and DOM tree. -
EISDOMRecord
Create a TopLink record from a DOM tree. -
EISDOMRecord
Create a TopLink record from the JCA adapter record. This attempts to introspect the record to retrieve the DOM tree.
-
-
Method Details
-
getRecord
Return the JCA adapter record. -
setRecord
Set the JCA adapter record. -
getRecordShortDescription
Forward to the record.- Specified by:
getRecordShortDescription
in interfaceRecord
-
setRecordShortDescription
Forward to the record.- Specified by:
setRecordShortDescription
in interfaceRecord
-
getRecordName
Forward to the record.- Specified by:
getRecordName
in interfaceRecord
-
setRecordName
Forward to the record.- Specified by:
setRecordName
in interfaceRecord
-
buildNestedRow
INTERNAL: Build the nested record, this can be overwriten by subclasses to use their subclass instance.- Overrides:
buildNestedRow
in classDOMRecord
-