-
- All Implemented Interfaces:
jakarta.resource.cci.MappedRecord,jakarta.resource.cci.Record,Serializable,Cloneable,Map,DOMRecord,AbstractMarshalRecord<AbstractSession,DatabaseField,XMLMarshaller,NamespaceResolver>,AbstractUnmarshalRecord<AbstractSession,DatabaseField,XMLUnmarshaller>,TransformationRecord,XMLRecord<AbstractSession>,DataRecord
public class EISDOMRecord extends DOMRecord implements DOMRecord, jakarta.resource.cci.MappedRecord
An
EISDOMRecordis 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)
- Author:
- James
- See Also:
- Serialized Form
-
-
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 java.util.Map
Map.Entry<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.oxm.record.XMLRecord
XMLRecord.Nil
-
-
Field Summary
Fields Modifier and Type Field Description protected static MethoddomMethodUsed for introspected DOM records.protected jakarta.resource.cci.RecordrecordThe original adapter record.protected StringrecordNameThe record name.protected StringrecordShortDescriptionThe 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
Constructors Constructor Description EISDOMRecord()Default 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLRecordbuildNestedRow(Element element)INTERNAL: Build the nested record, this can be overwriten by subclasses to use their subclass instance.jakarta.resource.cci.RecordgetRecord()Return the JCA adapter record.StringgetRecordName()Forward to the record.StringgetRecordShortDescription()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, 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 Detail
-
record
protected jakarta.resource.cci.Record record
The original adapter record.
-
recordName
protected String recordName
The record name.
-
recordShortDescription
protected String recordShortDescription
The record name.
-
domMethod
protected static Method domMethod
Used for introspected DOM records.
-
-
Constructor Detail
-
EISDOMRecord
public EISDOMRecord()
Default constructor.
-
EISDOMRecord
public EISDOMRecord(jakarta.resource.cci.Record record, Element dom)Create a TopLink record from the JCA adapter record and DOM tree.
-
EISDOMRecord
public EISDOMRecord(Element dom)
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 Detail
-
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
public String getRecordShortDescription()
Forward to the record.- Specified by:
getRecordShortDescriptionin interfacejakarta.resource.cci.Record
-
setRecordShortDescription
public void setRecordShortDescription(String recordShortDescription)
Forward to the record.- Specified by:
setRecordShortDescriptionin interfacejakarta.resource.cci.Record
-
getRecordName
public String getRecordName()
Forward to the record.- Specified by:
getRecordNamein interfacejakarta.resource.cci.Record
-
setRecordName
public void setRecordName(String recordName)
Forward to the record.- Specified by:
setRecordNamein interfacejakarta.resource.cci.Record
-
buildNestedRow
public XMLRecord buildNestedRow(Element element)
INTERNAL: Build the nested record, this can be overwriten by subclasses to use their subclass instance.- Overrides:
buildNestedRowin classDOMRecord
-
-