|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.toplink.internal.sessions.AbstractRecord
oracle.toplink.ox.record.XMLRecord
oracle.toplink.ox.record.DOMRecord
public class DOMRecord
Provides a Record/Map API on an XML DOM element.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
DOMRecord(org.w3c.dom.Node node)
|
|
| Method Summary | |
|---|---|
void |
clear()
Clear the sub-nodes of the DOM. |
boolean |
contains(java.lang.Object value)
Check if the value is contained in the row. |
java.util.Set |
entrySet()
todo: need to check attributes, should be prefix or nodename? |
org.w3c.dom.Document |
getDocument()
Return the document. |
org.w3c.dom.Node |
getDOM()
Return the DOM. |
java.lang.Object |
getIndicatingNoEntry(DatabaseField key,
boolean shouldReturnNode)
|
java.lang.String |
getLocalName()
Get the local name of the context root element. |
java.lang.String |
getNamespaceURI()
Get the namespace URI for the context root element. |
java.lang.Object |
getValuesIndicatingNoEntry(DatabaseField key)
|
java.util.Set |
keySet()
Return the set of element names from the DOM. |
java.lang.String |
resolveNamespacePrefix(java.lang.String prefix)
|
void |
setDOM(org.w3c.dom.Element element)
|
int |
size()
Return the number of elements in the DOM. |
void |
transformFromXML(java.io.Reader reader)
Set the XML from an XML reader. |
void |
transformFromXML(java.lang.String xml)
Set the XML from an XML string. |
void |
transformToWriter(java.io.Writer writer)
Write the XML string representation of the DOM. |
java.lang.String |
transformToXML()
Return the XML string representation of the DOM. |
java.util.Collection |
values()
Return the collection of element values from the DOM. |
| Methods inherited from class oracle.toplink.ox.record.XMLRecord |
|---|
getDocPresPolicy, getNamespaceResolver, setDocPresPolicy, setNamespaceResolver |
| Methods inherited from class oracle.toplink.internal.sessions.AbstractRecord |
|---|
containsKey, containsKey, containsValue, elements, get, get, isEmpty, keys, put, put, putAll |
| 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 |
|---|
public DOMRecord(org.w3c.dom.Node node)
| Method Detail |
|---|
public java.lang.String getLocalName()
getLocalName in class XMLRecordpublic java.lang.String getNamespaceURI()
getNamespaceURI in class XMLRecordpublic void clear()
clear in interface java.util.Mapclear in class XMLRecordpublic org.w3c.dom.Document getDocument()
getDocument in class XMLRecordpublic boolean contains(java.lang.Object value)
contains in class XMLRecord
public java.lang.Object getIndicatingNoEntry(DatabaseField key,
boolean shouldReturnNode)
public java.lang.Object getValuesIndicatingNoEntry(DatabaseField key)
public org.w3c.dom.Node getDOM()
getDOM in class XMLRecordpublic java.util.Set entrySet()
entrySet in interface java.util.MapentrySet in class oracle.toplink.internal.sessions.AbstractRecordpublic void setDOM(org.w3c.dom.Element element)
public java.util.Set keySet()
keySet in interface java.util.MapkeySet in class oracle.toplink.internal.sessions.AbstractRecordpublic java.util.Collection values()
values in interface java.util.Mapvalues in class oracle.toplink.internal.sessions.AbstractRecordpublic int size()
size in interface java.util.Mapsize in class oracle.toplink.internal.sessions.AbstractRecordpublic void transformFromXML(java.lang.String xml)
public void transformFromXML(java.io.Reader reader)
public java.lang.String transformToXML()
transformToXML in class XMLRecordpublic void transformToWriter(java.io.Writer writer)
public java.lang.String resolveNamespacePrefix(java.lang.String prefix)
resolveNamespacePrefix in class XMLRecord
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||