Top Description Fields Constructors Methods
org.eclipse.persistence.eis

public Class EISDOMRecord

extends DOMRecord
implements DOMRecord, MappedRecord
Class Inheritance
All Implemented Interfaces
jakarta.resource.cci.MappedRecord, java.io.Serializable, java.util.Map, jakarta.resource.cci.Record, java.lang.Cloneable, org.eclipse.persistence.eis.DOMRecord
Imports
java.lang.reflect.*, jakarta.resource.cci.*, org.w3c.dom.*, org.eclipse.persistence.internal.security.PrivilegedAccessHelper, org.eclipse.persistence.oxm.record.XMLRecord

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.

Author
James
Since
OracleAS TopLink 10g (10.0.3)

Field Summary

Modifier and TypeField and Description
protected static Method
domMethod

Used for introspected DOM records.

protected Record
record

The original adapter record.

protected String
recordName

The record name.

protected String
recordShortDescription

The record name.

Constructor Summary

AccessConstructor and Description
public
EISDOMRecord()

Default constructor.

public
EISDOMRecord(Record record, Element dom)

Create a TopLink record from the JCA adapter record and DOM tree.

public
EISDOMRecord(Element dom)

Create a TopLink record from a DOM tree.

public
EISDOMRecord(Record record)

Create a TopLink record from the JCA adapter record.

Method Summary

Modifier and TypeMethod and Description
public XMLRecord
buildNestedRow(Element element)

Overrides org.eclipse.persistence.oxm.record.DOMRecord.buildNestedRow.

INTERNAL: Build the nested record, this can be overwriten by subclasses to use their subclass instance.
public Record
getRecord()

Return the JCA adapter record.

public String
getRecordName()

Implements jakarta.resource.cci.Record.getRecordName.

Forward to the record.
public String
public void
setRecord(Record record)

Set the JCA adapter record.

public void
setRecordName(String
Name of the Record
recordName
)

Implements jakarta.resource.cci.Record.setRecordName.

Forward to the record.
public void
setRecordShortDescription(String
Description of the Record
recordShortDescription
)

Implements jakarta.resource.cci.Record.setRecordShortDescription.

Forward to the record.
Inherited from org.eclipse.persistence.oxm.record.DOMRecord:
addclearclonecontainscontainsKeycreateNewDocumentcreateNewDocumententrySetgetgetDocumentgetDOMgetFieldsgetIndicatingNoEntrygetIndicatingNoEntrygetIndicatingNoEntrygetLocalNamegetNamespaceURIgetReferenceResolvergetValuesgetValuesgetValuesgetValuesgetValuesIndicatingNoEntrygetValuesIndicatingNoEntrygetValuesIndicatingNoEntrygetValuesIndicatingNoEntrygetValuesIndicatingNoEntrygetValuesIndicatingNoEntrykeySetputputputremovereplaceAtresolveNamespacePrefixresolveReferencessetDOMsetDOMsetFieldssetReferenceResolversetSessionsetValuessizetoStringtransformFromXMLtransformFromXMLtransformToWritertransformToXMLvalues

Field Detail

domMethodback to summary
protected static Method domMethod

Used for introspected DOM records.

recordback to summary
protected Record record

The original adapter record.

recordNameback to summary
protected String recordName

The record name.

recordShortDescriptionback to summary
protected String recordShortDescription

The record name.

Constructor Detail

EISDOMRecordback to summary
public EISDOMRecord()

Default constructor.

EISDOMRecordback to summary
public EISDOMRecord(Record record, Element dom)

Create a TopLink record from the JCA adapter record and DOM tree.

EISDOMRecordback to summary
public EISDOMRecord(Element dom)

Create a TopLink record from a DOM tree.

EISDOMRecordback to summary
public EISDOMRecord(Record record)

Create a TopLink record from the JCA adapter record. This attempts to introspect the record to retrieve the DOM tree.

Method Detail

buildNestedRowback to summary
public XMLRecord buildNestedRow(Element element)

Overrides org.eclipse.persistence.oxm.record.DOMRecord.buildNestedRow.

INTERNAL: Build the nested record, this can be overwriten by subclasses to use their subclass instance.

Annotations
@Override
getRecordback to summary
public Record getRecord()

Return the JCA adapter record.

getRecordNameback to summary
public String getRecordName()

Implements jakarta.resource.cci.Record.getRecordName.

Forward to the record.

Returns:String

Doc from jakarta.resource.cci.Record.getRecordName.

String representing name of the Record

Annotations
@Override
getRecordShortDescriptionback to summary
public String getRecordShortDescription()

Implements jakarta.resource.cci.Record.getRecordShortDescription.

Forward to the record.

Returns:String

Doc from jakarta.resource.cci.Record.getRecordShortDescription.

String representing a short description of the Record

Annotations
@Override
setRecordback to summary
public void setRecord(Record record)

Set the JCA adapter record.

setRecordNameback to summary
public void setRecordName(String recordName)

Implements jakarta.resource.cci.Record.setRecordName.

Forward to the record.

Parameters
recordName:String

Doc from jakarta.resource.cci.Record.setRecordName.

Name of the Record

Annotations
@Override
setRecordShortDescriptionback to summary
public void setRecordShortDescription(String recordShortDescription)

Implements jakarta.resource.cci.Record.setRecordShortDescription.

Forward to the record.

Parameters
recordShortDescription:String

Doc from jakarta.resource.cci.Record.setRecordShortDescription.

Description of the Record

Annotations
@Override