|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.manspace.resultSetDOMWrapper.ReadOnlyNode
|
+--com.manspace.resultSetDOMWrapper.ReadOnlyElement
|
+--com.manspace.resultSetDOMWrapper.ArrayBasedElement
|
+--com.manspace.resultSetDOMWrapper.ResultSetDocument
Implements a DOM view of a result-set
| Field Summary | |
protected static java.lang.String |
_propertyResultSet
Static constant that holds the string identification for the result-set property; The constant is used to identify the properties in property / vetoable change events. |
protected static java.lang.String |
_propertyResultSetDumbArray
Static constant that holds the string identification for the result-set dumb-array property; The constant is used to identify the properties in property / vetoable change events. |
protected static java.lang.String |
_propertyResultSetElement
Static constant that holds the string identification for the result-set element property; The constant is used to identify the properties in property / vetoable change events. |
static short |
NOT_IMPL_ERROR_CODE
Constants |
static java.lang.String |
NOT_IMPL_ERROR_MSG
|
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
ResultSetDocument(java.sql.ResultSet resultSet)
Constructs a new result-set document |
|
| Method Summary | |
void |
clear()
Clear the elements array for GC |
org.w3c.dom.Attr |
createAttribute(java.lang.String name)
|
org.w3c.dom.Attr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
|
org.w3c.dom.CDATASection |
createCDATASection(java.lang.String data)
|
org.w3c.dom.Comment |
createComment(java.lang.String data)
|
org.w3c.dom.DocumentFragment |
createDocumentFragment()
|
org.w3c.dom.Element |
createElement(java.lang.String tagName)
|
org.w3c.dom.Element |
createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
|
org.w3c.dom.EntityReference |
createEntityReference(java.lang.String name)
|
org.w3c.dom.ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data)
|
org.w3c.dom.Text |
createTextNode(java.lang.String data)
|
org.w3c.dom.Element[] |
getChildElements()
Returns the array of child elements |
java.lang.String |
getChildElementsLocalName()
The local name of child elements |
org.w3c.dom.DocumentType |
getDoctype()
|
org.w3c.dom.Element |
getDocumentElement()
|
org.w3c.dom.Element |
getElementById(java.lang.String elementId)
|
org.w3c.dom.DOMImplementation |
getImplementation()
|
java.lang.String |
getLocalName()
|
java.lang.String |
getNamespaceURI()
|
org.w3c.dom.Node |
getNextSibling()
|
short |
getNodeType()
|
org.w3c.dom.Document |
getOwnerDocument()
|
org.w3c.dom.Node |
getParentNode()
|
java.lang.String |
getPrefix()
|
org.w3c.dom.Node |
getPreviousSibling()
|
protected java.sql.ResultSet |
getResultSet()
Returns the result-set property |
protected ResultSetElement[] |
getResultSetDumbArray()
Returns the result-set dumb-array property; If it doesn't exist -- creates it. |
protected ResultSetElement |
getResultSetElement()
Returns the result-set element property; If it doesn't exist -- creates it. |
org.w3c.dom.Node |
importNode(org.w3c.dom.Node importedNode,
boolean deep)
|
| Methods inherited from class com.manspace.resultSetDOMWrapper.ArrayBasedElement |
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getLength, getNodeValue, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, item |
| Methods inherited from class com.manspace.resultSetDOMWrapper.ReadOnlyElement |
removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
| Methods inherited from class com.manspace.resultSetDOMWrapper.ReadOnlyNode |
appendChild, getNodeName, getTagName, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Document |
getElementsByTagName, getElementsByTagNameNS |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getNodeName, getNodeValue, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Methods inherited from interface org.w3c.dom.Element |
getTagName |
| Field Detail |
protected static final java.lang.String _propertyResultSet
protected static final java.lang.String _propertyResultSetElement
protected static final java.lang.String _propertyResultSetDumbArray
public static final short NOT_IMPL_ERROR_CODE
public static final java.lang.String NOT_IMPL_ERROR_MSG
| Constructor Detail |
public ResultSetDocument(java.sql.ResultSet resultSet)
| Method Detail |
protected java.sql.ResultSet getResultSet()
protected ResultSetElement getResultSetElement()
protected ResultSetElement[] getResultSetDumbArray()
public org.w3c.dom.Attr createAttribute(java.lang.String name)
throws org.w3c.dom.DOMException
createAttribute in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionDocument.createAttribute(java.lang.String)
public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
throws org.w3c.dom.DOMException
createAttributeNS in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionDocument.createAttributeNS(java.lang.String, java.lang.String)
public org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
throws org.w3c.dom.DOMException
createCDATASection in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionDocument.createCDATASection(java.lang.String)public org.w3c.dom.Comment createComment(java.lang.String data)
createComment in interface org.w3c.dom.DocumentDocument.createComment(java.lang.String)public org.w3c.dom.DocumentFragment createDocumentFragment()
createDocumentFragment in interface org.w3c.dom.DocumentDocument.createDocumentFragment()
public org.w3c.dom.Element createElement(java.lang.String tagName)
throws org.w3c.dom.DOMException
createElement in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionDocument.createElement(java.lang.String)
public org.w3c.dom.Element createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
throws org.w3c.dom.DOMException
createElementNS in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionDocument.createElementNS(java.lang.String, java.lang.String)
public org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
throws org.w3c.dom.DOMException
createEntityReference in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionDocument.createEntityReference(java.lang.String)
public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target,
java.lang.String data)
throws org.w3c.dom.DOMException
createProcessingInstruction in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionDocument.createProcessingInstruction(java.lang.String, java.lang.String)public org.w3c.dom.Text createTextNode(java.lang.String data)
createTextNode in interface org.w3c.dom.DocumentDocument.createTextNode(java.lang.String)
public org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode,
boolean deep)
throws org.w3c.dom.DOMException
importNode in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionDocument.importNode(org.w3c.dom.Node, boolean)public org.w3c.dom.DocumentType getDoctype()
getDoctype in interface org.w3c.dom.DocumentDocument.getDoctype()public org.w3c.dom.Element getDocumentElement()
getDocumentElement in interface org.w3c.dom.DocumentDocument.getDocumentElement()public org.w3c.dom.Element getElementById(java.lang.String elementId)
getElementById in interface org.w3c.dom.DocumentDocument.getElementById(java.lang.String)public org.w3c.dom.DOMImplementation getImplementation()
getImplementation in interface org.w3c.dom.DocumentDocument.getImplementation()public short getNodeType()
getNodeType in interface org.w3c.dom.NodegetNodeType in class ReadOnlyElementNode.getNodeType()public java.lang.String getLocalName()
getLocalName in interface org.w3c.dom.NodeNode.getLocalName()public java.lang.String getNamespaceURI()
getNamespaceURI in interface org.w3c.dom.NodeNode.getNamespaceURI()public org.w3c.dom.Node getNextSibling()
getNextSibling in interface org.w3c.dom.NodeNode.getNextSibling()public org.w3c.dom.Document getOwnerDocument()
getOwnerDocument in interface org.w3c.dom.NodeNode.getOwnerDocument()public org.w3c.dom.Node getParentNode()
getParentNode in interface org.w3c.dom.NodeNode.getParentNode()public java.lang.String getPrefix()
getPrefix in interface org.w3c.dom.NodeNode.getPrefix()public org.w3c.dom.Node getPreviousSibling()
getPreviousSibling in interface org.w3c.dom.NodeNode.getPreviousSibling()public org.w3c.dom.Element[] getChildElements()
ArrayBasedElement
getChildElements in class ArrayBasedElementcom.mercury.topaz.tdm.adapters.dbAdapter.ArrayBasedElement#getChildElements()public java.lang.String getChildElementsLocalName()
ArrayBasedElement
getChildElementsLocalName in class ArrayBasedElementcom.mercury.topaz.tdm.adapters.dbAdapter.ArrayBasedElement#getChildElementsLocalName()public void clear()
ArrayBasedElement
clear in class ArrayBasedElementcom.manspace.resultSetDOMWrapper.ArrayBasedElement#clearElements()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||