Package org.eclipse.persistence.eis
Class EISDOMRecord
java.lang.Object
org.eclipse.persistence.internal.core.sessions.CoreAbstractRecord
org.eclipse.persistence.internal.sessions.AbstractRecord
org.eclipse.persistence.oxm.record.XMLRecord
org.eclipse.persistence.oxm.record.DOMRecord
org.eclipse.persistence.eis.EISDOMRecord
- All Implemented Interfaces:
jakarta.resource.cci.MappedRecord
,jakarta.resource.cci.Record
,Serializable
,Cloneable
,Map
,DOMRecord
,org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.sessions.AbstractSession,
,org.eclipse.persistence.internal.helper.DatabaseField, XMLMarshaller, NamespaceResolver> org.eclipse.persistence.internal.oxm.record.AbstractUnmarshalRecord<org.eclipse.persistence.internal.sessions.AbstractSession,
,org.eclipse.persistence.internal.helper.DatabaseField, XMLUnmarshaller> org.eclipse.persistence.internal.oxm.record.TransformationRecord
,org.eclipse.persistence.internal.oxm.record.XMLRecord<org.eclipse.persistence.internal.sessions.AbstractSession>
,Record
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.
- See Also:
- Author:
- James
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.persistence.internal.sessions.AbstractRecord
org.eclipse.persistence.internal.sessions.AbstractRecord.EntrySet, org.eclipse.persistence.internal.sessions.AbstractRecord.KeySet, org.eclipse.persistence.internal.sessions.AbstractRecord.NoEntry, org.eclipse.persistence.internal.sessions.AbstractRecord.RecordEntry, org.eclipse.persistence.internal.sessions.AbstractRecord.RecordEntryIterator, org.eclipse.persistence.internal.sessions.AbstractRecord.RecordKeyIterator, org.eclipse.persistence.internal.sessions.AbstractRecord.RecordValuesIterator, org.eclipse.persistence.internal.sessions.AbstractRecord.ValuesSet
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K extends Object,
V extends Object> Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.oxm.record.XMLRecord
org.eclipse.persistence.internal.oxm.record.XMLRecord.Nil
-
Field Summary
Modifier and TypeFieldDescriptionprotected static Method
Used for introspected DOM records.protected jakarta.resource.cci.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
ConstructorDescriptionDefault constructor.EISDOMRecord
(jakarta.resource.cci.Record record) Create a TopLink record from the JCA adapter record.EISDOMRecord
(jakarta.resource.cci.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.jakarta.resource.cci.Record
Return the JCA adapter record.Forward to the record.Forward to the record.void
setRecord
(jakarta.resource.cci.Record record) 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
Methods inherited from interface jakarta.resource.cci.Record
clone, equals, hashCode
-
Field Details
-
record
protected jakarta.resource.cci.Record recordThe 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
public EISDOMRecord(jakarta.resource.cci.Record record) Create a TopLink record from the JCA adapter record. This attempts to introspect the record to retrieve the DOM tree.
-
-
Method Details
-
getRecord
public jakarta.resource.cci.Record getRecord()Return the JCA adapter record. -
setRecord
public void setRecord(jakarta.resource.cci.Record record) Set the JCA adapter record. -
getRecordShortDescription
Forward to the record.- Specified by:
getRecordShortDescription
in interfacejakarta.resource.cci.Record
-
setRecordShortDescription
Forward to the record.- Specified by:
setRecordShortDescription
in interfacejakarta.resource.cci.Record
-
getRecordName
Forward to the record.- Specified by:
getRecordName
in interfacejakarta.resource.cci.Record
-
setRecordName
Forward to the record.- Specified by:
setRecordName
in interfacejakarta.resource.cci.Record
-
buildNestedRow
INTERNAL: Build the nested record, this can be overwriten by subclasses to use their subclass instance.- Overrides:
buildNestedRow
in classDOMRecord
-