BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.apache.xalan.lib.sql
Class ColumnData

java.lang.Object
  |
  +--weblogic.apache.xml.utils.UnImplNode
        |
        +--weblogic.apache.xalan.lib.sql.StreamableNode
              |
              +--weblogic.apache.xalan.lib.sql.ColumnData

public class ColumnData
extends StreamableNode
implements org.w3c.dom.Text

Represents the col element text node, i.e., the column value.

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.


Constructor Summary
ColumnData(XStatement statement, Column parent)
          Constructor ColumnData
 
Method Summary
 void appendData(java.lang.String arg)
          Not supported.
 void deleteData(int offset, int count)
          Not supported.
 java.lang.String getData()
          Return the value for this col element text node.
 org.w3c.dom.Node getFirstChild()
          Return First child.
 int getLength()
          The number of 16-bit units that are available through data and the substringData method below.
 org.w3c.dom.Node getNextSibling()
          Return next sibling.
 java.lang.String getNodeName()
          Return node name, "#Text".
 short getNodeType()
          Return node type, Node.TEXT_NODE.
 java.lang.String getNodeValue()
          Return the value for this col element text node.
 org.w3c.dom.Document getOwnerDocument()
          The owner of a col text node is the #Document (represented by XStatement).
 org.w3c.dom.Node getParentNode()
          The parent node of the col text node is the col node.
 boolean hasChildNodes()
          Tell if there are any children of the col node, which is always false.
 void insertData(int offset, java.lang.String arg)
          Not supported.
 void replaceData(int offset, int count, java.lang.String arg)
          Not supported.
 void setData(java.lang.String data)
          Not supported.
 org.w3c.dom.Text splitText(int offset)
          splitText - not supported
 java.lang.String substringData(int offset, int count)
          substringData - Not supported.
 
Methods inherited from class weblogic.apache.xalan.lib.sql.StreamableNode
getAttributes, getLocalName, getNamedItem, getNamedItemNS, getNamespaceURI, getNodeTest, getPrefix, getUid, getXStatement, isSupported, item, removeNamedItem, removeNamedItemNS, setNamedItem, setNamedItemNS, setNodeTest
 
Methods inherited from class weblogic.apache.xml.utils.UnImplNode
appendChild, cloneNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, error, error, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildNodes, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, getLastChild, getOwnerElement, getPreviousSibling, getSpecified, getTagName, hasAttribute, hasAttributeNS, hasAttributes, importNode, insertBefore, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setNodeValue, setPrefix, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnData

public ColumnData(XStatement statement,
                  Column parent)
Constructor ColumnData

Parameters:
statement - Owning document
parent - Owning column
Method Detail

getNodeType

public short getNodeType()
Return node type, Node.TEXT_NODE.

Returns:
Node.TEXT_NODE.
Overrides:
getNodeType in class StreamableNode

splitText

public org.w3c.dom.Text splitText(int offset)
                           throws org.w3c.dom.DOMException
splitText - not supported
Specified by:
splitText in interface org.w3c.dom.Text

Parameters:
offset - Offset where to split text
Returns:
null
Throws:
org.w3c.dom.DOMException -  
Overrides:
splitText in class UnImplNode

getData

public java.lang.String getData()
                         throws org.w3c.dom.DOMException
Return the value for this col element text node. I.e., return a String representation of the data for this column in the current row.

Returns:
the data for this column
Throws:
org.w3c.dom.DOMException -  

getNodeValue

public java.lang.String getNodeValue()
                              throws org.w3c.dom.DOMException
Return the value for this col element text node. I.e., return a String representation of the data for this column in the current row. Calls @link #getNodeValue() getNodeValue()}.

Returns:
the value for this column
Throws:
org.w3c.dom.DOMException -  
Overrides:
getNodeValue in class UnImplNode

getLength

public int getLength()
The number of 16-bit units that are available through data and the substringData method below. This may have the value zero, i.e., CharacterData nodes may be empty.

Returns:
Number of characters in data
Overrides:
getLength in class StreamableNode

substringData

public java.lang.String substringData(int offset,
                                      int count)
                               throws org.w3c.dom.DOMException
substringData - Not supported.

Parameters:
offset - Starting offset of substring
count - Number of characters isn substring
Returns:
null
Throws:
org.w3c.dom.DOMException -  
Overrides:
substringData in class UnImplNode

appendData

public void appendData(java.lang.String arg)
                throws org.w3c.dom.DOMException
Not supported.

Parameters:
arg -  
Throws:
org.w3c.dom.DOMException -  
Overrides:
appendData in class UnImplNode

insertData

public void insertData(int offset,
                       java.lang.String arg)
                throws org.w3c.dom.DOMException
Not supported.

Parameters:
offset -  
arg -  
Throws:
org.w3c.dom.DOMException -  
Overrides:
insertData in class UnImplNode

deleteData

public void deleteData(int offset,
                       int count)
                throws org.w3c.dom.DOMException
Not supported.

Parameters:
offset -  
count -  
Throws:
org.w3c.dom.DOMException -  
Overrides:
deleteData in class UnImplNode

replaceData

public void replaceData(int offset,
                        int count,
                        java.lang.String arg)
                 throws org.w3c.dom.DOMException
Not supported.

Parameters:
offset -  
count -  
arg -  
Throws:
org.w3c.dom.DOMException -  
Overrides:
replaceData in class UnImplNode

setData

public void setData(java.lang.String data)
             throws org.w3c.dom.DOMException
Not supported.

Parameters:
data -  
Throws:
org.w3c.dom.DOMException -  
Overrides:
setData in class UnImplNode

getOwnerDocument

public org.w3c.dom.Document getOwnerDocument()
The owner of a col text node is the #Document (represented by XStatement).

Returns:
The owning document
Overrides:
getOwnerDocument in class StreamableNode

getNodeName

public java.lang.String getNodeName()
Return node name, "#Text".

Returns:
"#Text".
Overrides:
getNodeName in class UnImplNode

getFirstChild

public org.w3c.dom.Node getFirstChild()
Return First child. This always returns null.

Returns:
null
Overrides:
getFirstChild in class UnImplNode

getNextSibling

public org.w3c.dom.Node getNextSibling()
Return next sibling. This always returns null.

Returns:
null
Overrides:
getNextSibling in class UnImplNode

getParentNode

public org.w3c.dom.Node getParentNode()
The parent node of the col text node is the col node.

Returns:
The parent node i.e the column node
Overrides:
getParentNode in class UnImplNode

hasChildNodes

public boolean hasChildNodes()
Tell if there are any children of the col node, which is always false.

Returns:
false
Overrides:
hasChildNodes in class UnImplNode

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.