com.manspace.resultSetDOMWrapper
Class ValueCDATASection

java.lang.Object
  |
  +--com.manspace.resultSetDOMWrapper.ReadOnlyNode
        |
        +--com.manspace.resultSetDOMWrapper.ValueCDATASection
All Implemented Interfaces:
org.w3c.dom.CDATASection, org.w3c.dom.CharacterData, org.w3c.dom.Node, org.w3c.dom.Text

public class ValueCDATASection
extends ReadOnlyNode
implements org.w3c.dom.CDATASection

Defines the CDATA section that holds the value for a certain cell

Version:
1.0
Author:
Tal Rotbart

Field Summary
protected static java.lang.String _propertyCellElement
          Static constant that holds the string identification for the parent cell element 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
ValueCDATASection(CellElement cellElement)
           
 
Method Summary
 void appendData(java.lang.String arg)
           
 org.w3c.dom.Node cloneNode(boolean deep)
           
 void deleteData(int offset, int count)
           
 org.w3c.dom.NamedNodeMap getAttributes()
           
protected  CellElement getCellElement()
          Returns the parent cell element property
 org.w3c.dom.NodeList getChildNodes()
           
 java.lang.String getData()
           
 org.w3c.dom.Node getFirstChild()
           
 org.w3c.dom.Node getLastChild()
           
 int getLength()
           
 java.lang.String getLocalName()
           
 java.lang.String getNamespaceURI()
           
 org.w3c.dom.Node getNextSibling()
           
 short getNodeType()
           
 java.lang.String getNodeValue()
           
 org.w3c.dom.Document getOwnerDocument()
           
 org.w3c.dom.Node getParentNode()
           
 java.lang.String getPrefix()
           
 org.w3c.dom.Node getPreviousSibling()
           
 boolean hasAttributes()
           
 boolean hasChildNodes()
           
 void insertData(int offset, java.lang.String arg)
           
 void replaceData(int offset, int count, java.lang.String arg)
           
 void setData(java.lang.String data)
           
 org.w3c.dom.Text splitText(int offset)
           
 java.lang.String substringData(int offset, int count)
           
 
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.Node
appendChild, getNodeName, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Field Detail

_propertyCellElement

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

See Also:
Constant Field Values
Constructor Detail

ValueCDATASection

public ValueCDATASection(CellElement cellElement)
Method Detail

getCellElement

protected CellElement getCellElement()
Returns the parent cell element property

Returns:
The parent cell element reference.

splitText

public org.w3c.dom.Text splitText(int offset)
                           throws org.w3c.dom.DOMException
Specified by:
splitText in interface org.w3c.dom.Text
org.w3c.dom.DOMException
See Also:
Text.splitText(int)

getData

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

setData

public void setData(java.lang.String data)
             throws org.w3c.dom.DOMException
Specified by:
setData in interface org.w3c.dom.CharacterData
org.w3c.dom.DOMException
See Also:
CharacterData.setData(java.lang.String)

getLength

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

substringData

public java.lang.String substringData(int offset,
                                      int count)
                               throws org.w3c.dom.DOMException
Specified by:
substringData in interface org.w3c.dom.CharacterData
org.w3c.dom.DOMException
See Also:
CharacterData.substringData(int, int)

appendData

public void appendData(java.lang.String arg)
                throws org.w3c.dom.DOMException
Specified by:
appendData in interface org.w3c.dom.CharacterData
org.w3c.dom.DOMException
See Also:
CharacterData.appendData(java.lang.String)

insertData

public void insertData(int offset,
                       java.lang.String arg)
                throws org.w3c.dom.DOMException
Specified by:
insertData in interface org.w3c.dom.CharacterData
org.w3c.dom.DOMException
See Also:
CharacterData.insertData(int, java.lang.String)

deleteData

public void deleteData(int offset,
                       int count)
                throws org.w3c.dom.DOMException
Specified by:
deleteData in interface org.w3c.dom.CharacterData
org.w3c.dom.DOMException
See Also:
CharacterData.deleteData(int, int)

replaceData

public void replaceData(int offset,
                        int count,
                        java.lang.String arg)
                 throws org.w3c.dom.DOMException
Specified by:
replaceData in interface org.w3c.dom.CharacterData
org.w3c.dom.DOMException
See Also:
CharacterData.replaceData(int, int, 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()

getNodeType

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

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()


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