com.manspace.resultSetDOMWrapper
Class RowElement

java.lang.Object
  |
  +--com.manspace.resultSetDOMWrapper.ReadOnlyNode
        |
        +--com.manspace.resultSetDOMWrapper.ReadOnlyElement
              |
              +--com.manspace.resultSetDOMWrapper.ArrayBasedElement
                    |
                    +--com.manspace.resultSetDOMWrapper.RowElement
All Implemented Interfaces:
org.w3c.dom.Element, org.w3c.dom.Node, org.w3c.dom.NodeList

public class RowElement
extends ArrayBasedElement

The result-set row element

Version:
1.0
Author:
Tal Rotbart

Field Summary
protected static java.lang.String _propertyCellElements
          Static constant that holds the string identification for the cell elements 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.
protected static java.lang.String _propertyRow
          Static constant that holds the string identification for the row property; The constant is used to identify the properties in property / vetoable change events.
 
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
RowElement(ResultSetElement rsElement, int row)
          Constructs a new result-set row element
 
Method Summary
 void clear()
          Clear the elements array for GC
protected  CellElement[] getCellElements()
          Returns the cell elements property; If it doesn't exist -- creates it.
 org.w3c.dom.Element[] getChildElements()
          Returns the array of child elements
 java.lang.String getChildElementsLocalName()
          The local name of child elements
 java.lang.String getLocalName()
           
 java.lang.String getNamespaceURI()
           
 org.w3c.dom.Node getNextSibling()
           
 org.w3c.dom.Document getOwnerDocument()
           
 org.w3c.dom.Node getParentNode()
           
 java.lang.String getPrefix()
           
 org.w3c.dom.Node getPreviousSibling()
           
protected  ResultSetElement getResultSetElement()
          Returns the result-set element property
protected  int getRow()
          Returns the row property
 
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
getNodeType, 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.Element
getTagName
 
Methods inherited from interface org.w3c.dom.Node
appendChild, getNodeName, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Field Detail

_propertyResultSetElement

protected static final 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.

See Also:
Constant Field Values

_propertyRow

protected static final java.lang.String _propertyRow
Static constant that holds the string identification for the row property; The constant is used to identify the properties in property / vetoable change events.

See Also:
Constant Field Values

_propertyCellElements

protected static final java.lang.String _propertyCellElements
Static constant that holds the string identification for the cell elements property; The constant is used to identify the properties in property / vetoable change events.

See Also:
Constant Field Values
Constructor Detail

RowElement

public RowElement(ResultSetElement rsElement,
                  int row)
Constructs a new result-set row element

Method Detail

getResultSetElement

protected ResultSetElement getResultSetElement()
Returns the result-set element property

Returns:
The result-set element reference.

getRow

protected int getRow()
Returns the row property

Returns:
The row reference.

getCellElements

protected CellElement[] getCellElements()
Returns the cell elements property; If it doesn't exist -- creates it.

Returns:
The cell elements reference.

getLocalName

public java.lang.String getLocalName()
See Also:
Node.getLocalName()

getNamespaceURI

public java.lang.String getNamespaceURI()
See Also:
Node.getNamespaceURI()

getNextSibling

public org.w3c.dom.Node getNextSibling()
See Also:
Node.getNextSibling()

getPreviousSibling

public org.w3c.dom.Node getPreviousSibling()
See Also:
Node.getPreviousSibling()

getOwnerDocument

public org.w3c.dom.Document getOwnerDocument()
See Also:
Node.getOwnerDocument()

getParentNode

public org.w3c.dom.Node getParentNode()
See Also:
Node.getParentNode()

getPrefix

public java.lang.String getPrefix()
See Also:
Node.getPrefix()

getChildElements

public org.w3c.dom.Element[] getChildElements()
Description copied from class: ArrayBasedElement
Returns the array of child elements

Specified by:
getChildElements in class ArrayBasedElement
Returns:
The array of child elements
See Also:
com.mercury.topaz.tdm.adapters.dbAdapter.ArrayBasedElement#getChildElements()

getChildElementsLocalName

public java.lang.String getChildElementsLocalName()
Description copied from class: ArrayBasedElement
The local name of child elements

Specified by:
getChildElementsLocalName in class ArrayBasedElement
Returns:
The local name of child elements
See Also:
com.mercury.topaz.tdm.adapters.dbAdapter.ArrayBasedElement#getChildElementsLocalName()

clear

public void clear()
Description copied from class: ArrayBasedElement
Clear the elements array for GC

Specified by:
clear in class ArrayBasedElement
See Also:
ArrayBasedElement.clear()


Copyright 2003 Tal Rotbart, Manspace. See LICENSE.TXT for license.