Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.ox.record
Class XMLRecord

java.lang.Object
  extended by oracle.toplink.internal.sessions.AbstractRecord
      extended by oracle.toplink.ox.record.XMLRecord
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map, Record
Direct Known Subclasses:
DOMRecord, MarshalRecord, UnmarshalRecord

public abstract class XMLRecord
extends oracle.toplink.internal.sessions.AbstractRecord

Provides a Record/Map API on an XML DOM element.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
XMLRecord()
           
 
Method Summary
abstract  void clear()
          Clear the sub-nodes of the DOM.
 boolean contains(java.lang.Object value)
          Check if the value is contained in the row.
 DocumentPreservationPolicy getDocPresPolicy()
           
abstract  org.w3c.dom.Document getDocument()
          Return the document.
abstract  org.w3c.dom.Node getDOM()
          Return the DOM.
abstract  java.lang.String getLocalName()
          Get the local name of the context root element.
 NamespaceResolver getNamespaceResolver()
           
abstract  java.lang.String getNamespaceURI()
          Get the namespace URI for the context root element.
 java.lang.String resolveNamespacePrefix(java.lang.String prefix)
           
 void setDocPresPolicy(DocumentPreservationPolicy policy)
           
 void setNamespaceResolver(NamespaceResolver nr)
           
abstract  java.lang.String transformToXML()
          Return the XML string representation of the DOM.
 
Methods inherited from class oracle.toplink.internal.sessions.AbstractRecord
containsKey, containsKey, containsValue, elements, entrySet, get, get, getValues, getValues, isEmpty, keys, keySet, put, put, putAll, size, values
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

XMLRecord

public XMLRecord()
Method Detail

getLocalName

public abstract java.lang.String getLocalName()
Get the local name of the context root element.


getNamespaceURI

public abstract java.lang.String getNamespaceURI()
Get the namespace URI for the context root element.


clear

public abstract void clear()
Clear the sub-nodes of the DOM.

Specified by:
clear in interface java.util.Map
Overrides:
clear in class oracle.toplink.internal.sessions.AbstractRecord

getDocument

public abstract org.w3c.dom.Document getDocument()
Return the document.


contains

public boolean contains(java.lang.Object value)
Check if the value is contained in the row.

Overrides:
contains in class oracle.toplink.internal.sessions.AbstractRecord

getDOM

public abstract org.w3c.dom.Node getDOM()
Return the DOM.


transformToXML

public abstract java.lang.String transformToXML()
Return the XML string representation of the DOM.


resolveNamespacePrefix

public java.lang.String resolveNamespacePrefix(java.lang.String prefix)

setDocPresPolicy

public void setDocPresPolicy(DocumentPreservationPolicy policy)

getDocPresPolicy

public DocumentPreservationPolicy getDocPresPolicy()

setNamespaceResolver

public void setNamespaceResolver(NamespaceResolver nr)

getNamespaceResolver

public NamespaceResolver getNamespaceResolver()

Copyright © 1998, 2010, Oracle. All Rights Reserved.