Class EISDOMRecord

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map, javax.resource.cci.MappedRecord, javax.resource.cci.Record, 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

    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.

    See Also:
    Serialized Form
    Author:
    James
    Since:
    OracleAS TopLink 10g (10.0.3)
    • Field Detail

      • record

        protected javax.resource.cci.Record record
        The original adapter record.
      • recordName

        protected java.lang.String recordName
        The record name.
      • recordShortDescription

        protected java.lang.String recordShortDescription
        The record name.
      • domMethod

        protected static java.lang.reflect.Method domMethod
        Used for introspected DOM records.
    • Constructor Detail

      • EISDOMRecord

        public EISDOMRecord()
        Default constructor.
      • EISDOMRecord

        public EISDOMRecord​(javax.resource.cci.Record record,
                            org.w3c.dom.Element dom)
        Create a TopLink record from the JCA adapter record and DOM tree.
      • EISDOMRecord

        public EISDOMRecord​(org.w3c.dom.Element dom)
        Create a TopLink record from a DOM tree.
      • EISDOMRecord

        public EISDOMRecord​(javax.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 javax.resource.cci.Record getRecord()
        Return the JCA adapter record.
      • setRecord

        public void setRecord​(javax.resource.cci.Record record)
        Set the JCA adapter record.
      • getRecordShortDescription

        public java.lang.String getRecordShortDescription()
        Forward to the record.
        Specified by:
        getRecordShortDescription in interface javax.resource.cci.Record
      • setRecordShortDescription

        public void setRecordShortDescription​(java.lang.String recordShortDescription)
        Forward to the record.
        Specified by:
        setRecordShortDescription in interface javax.resource.cci.Record
      • getRecordName

        public java.lang.String getRecordName()
        Forward to the record.
        Specified by:
        getRecordName in interface javax.resource.cci.Record
      • setRecordName

        public void setRecordName​(java.lang.String recordName)
        Forward to the record.
        Specified by:
        setRecordName in interface javax.resource.cci.Record
      • buildNestedRow

        public XMLRecord buildNestedRow​(org.w3c.dom.Element element)
        INTERNAL: Build the nested record, this can be overwriten by subclasses to use their subclass instance.
        Overrides:
        buildNestedRow in class DOMRecord