com.manspace.resultSetDOMWrapper
Class CellElement

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

public class CellElement
extends ReadOnlyElement
implements org.w3c.dom.Element, org.w3c.dom.NamedNodeMap

Implements a cell element

Version:
1.0
Author:
Tal Rotbart

Field Summary
protected static java.lang.String _propertyColumnIndex
          Static constant that holds the string identification for the column index property; The constant is used to identify the properties in property / vetoable change events.
protected static java.lang.String _propertyDataTypeAttrNode
          Static constant that holds the string identification for the data-type attribute node property; The constant is used to identify the properties in property / vetoable change events.
protected static java.lang.String _propertyNameAttrNode
          Static constant that holds the string identification for the name attribute node property; The constant is used to identify the properties in property / vetoable change events.
protected static java.lang.String _propertyRowElement
          Static constant that holds the string identification for the row element property; The constant is used to identify the properties in property / vetoable change events.
protected static java.lang.String _propertyValueNode
          Static constant that holds the string identification for the value node property; The constant is used to identify the properties in property / vetoable change events.
protected static java.lang.String _propertyValueNodeList
          Static constant that holds the string identification for the value-node node-list 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
 
Method Summary
 org.w3c.dom.Node cloneNode(boolean deep)
           
 java.lang.String getAttribute(java.lang.String name)
           
 org.w3c.dom.Attr getAttributeNode(java.lang.String name)
           
 org.w3c.dom.Attr getAttributeNodeNS(java.lang.String namespaceURI, java.lang.String localName)
           
 java.lang.String getAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
           
 org.w3c.dom.NamedNodeMap getAttributes()
           
 org.w3c.dom.NodeList getChildNodes()
           
protected  int getColumnIndex()
          Returns the column index property
protected  MetaDataAttribute getDataTypeAttrNode()
          Returns the data-type attribute node property; If it doesn't exist -- creates it.
 org.w3c.dom.NodeList getElementsByTagName(java.lang.String name)
           
 org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
           
 org.w3c.dom.Node getFirstChild()
           
 org.w3c.dom.Node getLastChild()
           
 int getLength()
           
 java.lang.String getLocalName()
           
protected  MetaDataAttribute getNameAttrNode()
          Returns the name attribute node property; If it doesn't exist -- creates it.
 org.w3c.dom.Node getNamedItem(java.lang.String name)
           
 org.w3c.dom.Node getNamedItemNS(java.lang.String namespaceURI, java.lang.String localName)
           
 java.lang.String getNamespaceURI()
           
 org.w3c.dom.Node getNextSibling()
           
 java.lang.String getNodeValue()
           
 org.w3c.dom.Document getOwnerDocument()
           
 org.w3c.dom.Node getParentNode()
           
 java.lang.String getPrefix()
           
 org.w3c.dom.Node getPreviousSibling()
           
protected  RowElement getRowElement()
          Returns the row element property
protected  ValueCDATASection getValueNode()
          Returns the value node property; If it doesn't exist -- creates it.
protected  org.w3c.dom.NodeList getValueNodeList()
          Returns the value-node node-list property; If it doesn't exist -- creates it.
 boolean hasAttribute(java.lang.String name)
           
 boolean hasAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
           
 boolean hasAttributes()
           
 boolean hasChildNodes()
           
 org.w3c.dom.Node item(int index)
           
 org.w3c.dom.Node removeNamedItem(java.lang.String name)
           
 org.w3c.dom.Node removeNamedItemNS(java.lang.String namespaceURI, java.lang.String localName)
           
 org.w3c.dom.Node setNamedItem(org.w3c.dom.Node arg)
           
 org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node arg)
           
 
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, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, getNodeName, getNodeType, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Field Detail

_propertyRowElement

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

See Also:
Constant Field Values

_propertyColumnIndex

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

See Also:
Constant Field Values

_propertyNameAttrNode

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

See Also:
Constant Field Values

_propertyDataTypeAttrNode

protected static final java.lang.String _propertyDataTypeAttrNode
Static constant that holds the string identification for the data-type attribute node property; The constant is used to identify the properties in property / vetoable change events.

See Also:
Constant Field Values

_propertyValueNode

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

See Also:
Constant Field Values

_propertyValueNodeList

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

See Also:
Constant Field Values
Method Detail

getRowElement

protected RowElement getRowElement()
Returns the row element property

Returns:
The row element reference.

getColumnIndex

protected int getColumnIndex()
Returns the column index property

Returns:
The column index reference.

getNameAttrNode

protected MetaDataAttribute getNameAttrNode()
Returns the name attribute node property; If it doesn't exist -- creates it.

Returns:
The name attribute node reference.

getDataTypeAttrNode

protected MetaDataAttribute getDataTypeAttrNode()
Returns the data-type attribute node property; If it doesn't exist -- creates it.

Returns:
The data-type attribute node reference.

getValueNode

protected ValueCDATASection getValueNode()
Returns the value node property; If it doesn't exist -- creates it.

Returns:
The value node reference.

getValueNodeList

protected org.w3c.dom.NodeList getValueNodeList()
Returns the value-node node-list property; If it doesn't exist -- creates it.

Returns:
The value-node node-list reference.

getAttribute

public java.lang.String getAttribute(java.lang.String name)
Specified by:
getAttribute in interface org.w3c.dom.Element
See Also:
Element.getAttribute(java.lang.String)

getAttributeNode

public org.w3c.dom.Attr getAttributeNode(java.lang.String name)
Specified by:
getAttributeNode in interface org.w3c.dom.Element
See Also:
Element.getAttributeNode(java.lang.String)

getElementsByTagName

public org.w3c.dom.NodeList getElementsByTagName(java.lang.String name)
Specified by:
getElementsByTagName in interface org.w3c.dom.Element
See Also:
Element.getElementsByTagName(java.lang.String)

getAttributeNS

public java.lang.String getAttributeNS(java.lang.String namespaceURI,
                                       java.lang.String localName)
Specified by:
getAttributeNS in interface org.w3c.dom.Element
See Also:
Element.getAttributeNS(java.lang.String, java.lang.String)

getAttributeNodeNS

public org.w3c.dom.Attr getAttributeNodeNS(java.lang.String namespaceURI,
                                           java.lang.String localName)
Specified by:
getAttributeNodeNS in interface org.w3c.dom.Element
See Also:
Element.getAttributeNodeNS(java.lang.String, java.lang.String)

getElementsByTagNameNS

public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
                                                   java.lang.String localName)
Specified by:
getElementsByTagNameNS in interface org.w3c.dom.Element
See Also:
Element.getElementsByTagNameNS(java.lang.String, java.lang.String)

hasAttribute

public boolean hasAttribute(java.lang.String name)
Specified by:
hasAttribute in interface org.w3c.dom.Element
See Also:
Element.hasAttribute(java.lang.String)

hasAttributeNS

public boolean hasAttributeNS(java.lang.String namespaceURI,
                              java.lang.String localName)
Specified by:
hasAttributeNS in interface org.w3c.dom.Element
See Also:
Element.hasAttributeNS(java.lang.String, java.lang.String)

getNodeValue

public java.lang.String getNodeValue()
                              throws org.w3c.dom.DOMException
Specified by:
getNodeValue in interface org.w3c.dom.Node
org.w3c.dom.DOMException
See Also:
Node.getNodeValue()

getParentNode

public org.w3c.dom.Node getParentNode()
Specified by:
getParentNode in interface org.w3c.dom.Node
See Also:
Node.getParentNode()

getChildNodes

public org.w3c.dom.NodeList getChildNodes()
Specified by:
getChildNodes in interface org.w3c.dom.Node
See Also:
Node.getChildNodes()

getFirstChild

public org.w3c.dom.Node getFirstChild()
Specified by:
getFirstChild in interface org.w3c.dom.Node
See Also:
Node.getFirstChild()

getLastChild

public org.w3c.dom.Node getLastChild()
Specified by:
getLastChild in interface org.w3c.dom.Node
See Also:
Node.getLastChild()

getPreviousSibling

public org.w3c.dom.Node getPreviousSibling()
Specified by:
getPreviousSibling in interface org.w3c.dom.Node
See Also:
Node.getPreviousSibling()

getNextSibling

public org.w3c.dom.Node getNextSibling()
Specified by:
getNextSibling in interface org.w3c.dom.Node
See Also:
Node.getNextSibling()

getAttributes

public org.w3c.dom.NamedNodeMap getAttributes()
Specified by:
getAttributes in interface org.w3c.dom.Node
See Also:
Node.getAttributes()

getOwnerDocument

public org.w3c.dom.Document getOwnerDocument()
Specified by:
getOwnerDocument in interface org.w3c.dom.Node
See Also:
Node.getOwnerDocument()

hasChildNodes

public boolean hasChildNodes()
Specified by:
hasChildNodes in interface org.w3c.dom.Node
See Also:
Node.hasChildNodes()

cloneNode

public org.w3c.dom.Node cloneNode(boolean deep)
Specified by:
cloneNode in interface org.w3c.dom.Node
See Also:
Node.cloneNode(boolean)

getNamespaceURI

public java.lang.String getNamespaceURI()
Specified by:
getNamespaceURI in interface org.w3c.dom.Node
See Also:
Node.getNamespaceURI()

getPrefix

public java.lang.String getPrefix()
Specified by:
getPrefix in interface org.w3c.dom.Node
See Also:
Node.getPrefix()

getLocalName

public java.lang.String getLocalName()
Specified by:
getLocalName in interface org.w3c.dom.Node
See Also:
Node.getLocalName()

hasAttributes

public boolean hasAttributes()
Specified by:
hasAttributes in interface org.w3c.dom.Node
See Also:
Node.hasAttributes()

getLength

public int getLength()
Specified by:
getLength in interface org.w3c.dom.NamedNodeMap
See Also:
NamedNodeMap.getLength()

getNamedItem

public org.w3c.dom.Node getNamedItem(java.lang.String name)
Specified by:
getNamedItem in interface org.w3c.dom.NamedNodeMap
See Also:
NamedNodeMap.getNamedItem(java.lang.String)

getNamedItemNS

public org.w3c.dom.Node getNamedItemNS(java.lang.String namespaceURI,
                                       java.lang.String localName)
Specified by:
getNamedItemNS in interface org.w3c.dom.NamedNodeMap
See Also:
NamedNodeMap.getNamedItemNS(java.lang.String, java.lang.String)

item

public org.w3c.dom.Node item(int index)
Specified by:
item in interface org.w3c.dom.NamedNodeMap
See Also:
NamedNodeMap.item(int)

removeNamedItem

public org.w3c.dom.Node removeNamedItem(java.lang.String name)
                                 throws org.w3c.dom.DOMException
Specified by:
removeNamedItem in interface org.w3c.dom.NamedNodeMap
org.w3c.dom.DOMException
See Also:
NamedNodeMap.removeNamedItem(java.lang.String)

removeNamedItemNS

public org.w3c.dom.Node removeNamedItemNS(java.lang.String namespaceURI,
                                          java.lang.String localName)
                                   throws org.w3c.dom.DOMException
Specified by:
removeNamedItemNS in interface org.w3c.dom.NamedNodeMap
org.w3c.dom.DOMException
See Also:
NamedNodeMap.removeNamedItemNS(java.lang.String, java.lang.String)

setNamedItem

public org.w3c.dom.Node setNamedItem(org.w3c.dom.Node arg)
                              throws org.w3c.dom.DOMException
Specified by:
setNamedItem in interface org.w3c.dom.NamedNodeMap
org.w3c.dom.DOMException
See Also:
NamedNodeMap.setNamedItem(org.w3c.dom.Node)

setNamedItemNS

public org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node arg)
                                throws org.w3c.dom.DOMException
Specified by:
setNamedItemNS in interface org.w3c.dom.NamedNodeMap
org.w3c.dom.DOMException
See Also:
NamedNodeMap.setNamedItemNS(org.w3c.dom.Node)


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