BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.apache.xalan.lib.sql
Class Column

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

public class Column
extends StreamableNode

Represents a col node from a row node.

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
Column(XStatement statement, Row parent, int columnIndex, java.sql.ResultSetMetaData metadata)
          Constructor Column
 
Method Summary
 org.w3c.dom.NamedNodeMap getAttributes()
          Return the metadata for this column.
 org.w3c.dom.Node getFirstChild()
          Return the col text node (the column value).
 org.w3c.dom.Node getNextSibling()
          Return the next col element for the current row.
 java.lang.String getNodeName()
          Return "col".
 org.w3c.dom.Document getOwnerDocument()
          The parent of col is #Document (represented by XStatement).
 org.w3c.dom.Node getParentNode()
          The parent node of col is a row.
 boolean hasChildNodes()
          Tell if there are any children of col, which is always true.
 
Methods inherited from class weblogic.apache.xalan.lib.sql.StreamableNode
getLength, getLocalName, getNamedItem, getNamedItemNS, getNamespaceURI, getNodeTest, getNodeType, getPrefix, getUid, getXStatement, isSupported, item, removeNamedItem, removeNamedItemNS, setNamedItem, setNamedItemNS, setNodeTest
 
Methods inherited from class weblogic.apache.xml.utils.UnImplNode
appendChild, appendData, cloneNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, deleteData, error, error, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildNodes, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, getLastChild, getNodeValue, getOwnerElement, getPreviousSibling, getSpecified, getTagName, hasAttribute, hasAttributeNS, hasAttributes, importNode, insertBefore, insertData, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, replaceData, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setData, setNodeValue, setPrefix, setValue, splitText, substringData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Column

public Column(XStatement statement,
              Row parent,
              int columnIndex,
              java.sql.ResultSetMetaData metadata)
Constructor Column

Parameters:
statement - Current Document
parent - Parent row node of this column
columnIndex - Index for this column
metadata - Meta data (column header).
Method Detail

getOwnerDocument

public org.w3c.dom.Document getOwnerDocument()
The parent of col is #Document (represented by XStatement).

Returns:
The parent of this column
Overrides:
getOwnerDocument in class StreamableNode

getNodeName

public java.lang.String getNodeName()
Return "col".

Returns:
the deault column name "col".
Overrides:
getNodeName in class UnImplNode

getFirstChild

public org.w3c.dom.Node getFirstChild()
Return the col text node (the column value).

Returns:
the column value
Overrides:
getFirstChild in class UnImplNode

getNextSibling

public org.w3c.dom.Node getNextSibling()
Return the next col element for the current row.

Returns:
a Column node or null.
Overrides:
getNextSibling in class UnImplNode

getParentNode

public org.w3c.dom.Node getParentNode()
The parent node of col is a row.

Returns:
The parent node of this column
Overrides:
getParentNode in class UnImplNode

hasChildNodes

public boolean hasChildNodes()
Tell if there are any children of col, which is always true. I.e., col contains a text node with a textual representation of the column value.

Returns:
True
Overrides:
hasChildNodes in class UnImplNode

getAttributes

public org.w3c.dom.NamedNodeMap getAttributes()
Return the metadata for this column.

Returns:
the metadata for this column(column header).
Overrides:
getAttributes in class StreamableNode

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.