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.ValuesSetNested 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
FieldsModifier and TypeFieldDescriptionprotected static MethodUsed for introspected DOM records.protected jakarta.resource.cci.RecordThe original adapter record.protected StringThe record name.protected StringThe record name.Fields inherited from class org.eclipse.persistence.oxm.record.XMLRecord
currentObject, equalNamespaceResolvers, hasCustomNamespaceMapper, NIL, session, unmarshallerFields inherited from class org.eclipse.persistence.internal.sessions.AbstractRecord
fields, lookupField, noEntry, nullValueInFields, size, sopObject, valuesFields inherited from interface org.eclipse.persistence.internal.oxm.record.XMLRecord
DEFAULT_ATTRIBUTE_GROUP -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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.RecordReturn the JCA adapter record.Forward to the record.Forward to the record.voidsetRecord(jakarta.resource.cci.Record record) Set the JCA adapter record.voidsetRecordName(String recordName) Forward to the record.voidsetRecordShortDescription(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, valuesMethods 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, writeXsiTypeAttributeMethods 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, setSopObjectMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, valuesMethods 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:
getRecordShortDescriptionin interfacejakarta.resource.cci.Record
-
setRecordShortDescription
Forward to the record.- Specified by:
setRecordShortDescriptionin interfacejakarta.resource.cci.Record
-
getRecordName
Forward to the record.- Specified by:
getRecordNamein interfacejakarta.resource.cci.Record
-
setRecordName
Forward to the record.- Specified by:
setRecordNamein interfacejakarta.resource.cci.Record
-
buildNestedRow
INTERNAL: Build the nested record, this can be overwriten by subclasses to use their subclass instance.- Overrides:
buildNestedRowin classDOMRecord
-