public class EISDOMRecord extends DOMRecord implements DOMRecord, javax.resource.cci.MappedRecord
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.
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
Modifier and Type | Field and Description |
---|---|
protected static java.lang.reflect.Method |
domMethod
Used for introspected DOM records.
|
protected javax.resource.cci.Record |
record
The original adapter record.
|
protected java.lang.String |
recordName
The record name.
|
protected java.lang.String |
recordShortDescription
The record name.
|
currentObject, equalNamespaceResolvers, hasCustomNamespaceMapper, NIL, session, unmarshaller
Constructor and Description |
---|
EISDOMRecord()
Default constructor.
|
EISDOMRecord(org.w3c.dom.Element dom)
Create a TopLink record from a DOM tree.
|
EISDOMRecord(javax.resource.cci.Record record)
Create a TopLink record from the JCA adapter record.
|
EISDOMRecord(javax.resource.cci.Record record,
org.w3c.dom.Element dom)
Create a TopLink record from the JCA adapter record and DOM tree.
|
Modifier and Type | Method and Description |
---|---|
XMLRecord |
buildNestedRow(org.w3c.dom.Element element)
INTERNAL:
Build the nested record, this can be overwriten by subclasses to use their subclass instance.
|
javax.resource.cci.Record |
getRecord()
Return the JCA adapter record.
|
java.lang.String |
getRecordName()
Forward to the record.
|
java.lang.String |
getRecordShortDescription()
Forward to the record.
|
void |
setRecord(javax.resource.cci.Record record)
Set the JCA adapter record.
|
void |
setRecordName(java.lang.String recordName)
Forward to the record.
|
void |
setRecordShortDescription(java.lang.String recordShortDescription)
Forward to the record.
|
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
addExtraNamespacesToNamespaceResolver, addXsiTypeAndClassIndicatorIfRequired, addXsiTypeAndClassIndicatorIfRequired, attribute, attributeWithoutQName, convertToXMLField, convertToXMLField, get, 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
containsKey, containsKey, containsValue, elements, get, getField, getLookupField, getSopObject, hasNullValueInFields, hasSopObject, isEmpty, keys, mergeFrom, putAll, remove, remove, replaceAt, resetSize, setNullValueInFields, setSopObject
protected javax.resource.cci.Record record
protected java.lang.String recordName
protected java.lang.String recordShortDescription
protected static java.lang.reflect.Method domMethod
public EISDOMRecord()
public EISDOMRecord(javax.resource.cci.Record record, org.w3c.dom.Element dom)
public EISDOMRecord(org.w3c.dom.Element dom)
public EISDOMRecord(javax.resource.cci.Record record)
public javax.resource.cci.Record getRecord()
public void setRecord(javax.resource.cci.Record record)
public java.lang.String getRecordShortDescription()
public void setRecordShortDescription(java.lang.String recordShortDescription)
public java.lang.String getRecordName()
public void setRecordName(java.lang.String recordName)
public XMLRecord buildNestedRow(org.w3c.dom.Element element)
buildNestedRow
in class DOMRecord