org.apache.xalan.lib.sql
Class RowSet

java.lang.Object
  |
  +--org.apache.xml.utils.UnImplNode
        |
        +--org.apache.xalan.lib.sql.StreamableNode
              |
              +--org.apache.xalan.lib.sql.RowSet

public class RowSet
extends StreamableNode

The row-set is the controlling element in the Document that determines if the JDB ResultSet is being traversed or if the ResultSet MetaData is being interogated.

 

The DTD for the Document is a follows. <row-set> <column-header org.apache.xalan.lib.sql.ColumnAttributes > . . One for each column in the Query . <column-header /> <row> . . One for each Row in the query . <col ColumnAttribute > The Data for the column </col> . . . One for each column in the Row . . </row> <row-set>


Constructor Summary
RowSet(XStatement statement)
          Constructor RowSet
 
Method Summary
 Node getFirstChild()
           
 Node getNextSibling()
          getNextSibling
 java.lang.String getNodeName()
          Return node name: "row-set".
 Node getParentNode()
          The parent node of row-set is #Document (represented by XStatement).
 boolean hasChildNodes()
          Tell if there are any children of the document, which is always true.
 
Methods inherited from class org.apache.xalan.lib.sql.StreamableNode
getAttributes, getLength, getLocalName, getNamedItem, getNamedItemNS, getNamespaceURI, getNodeTest, getNodeType, getOwnerDocument, getPrefix, getUid, getXStatement, incermentOrderIndex, isSupported, item, removeNamedItem, removeNamedItemNS, setNamedItem, setNamedItemNS, setNodeTest
 
Methods inherited from class org.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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowSet

public RowSet(XStatement statement)
Constructor RowSet
Parameters:
statement - Owning document
Method Detail

getNodeName

public java.lang.String getNodeName()
Return node name: "row-set".
Returns:
"row-set".
Overrides:
getNodeName in class UnImplNode

getFirstChild

public Node getFirstChild()
Overrides:
getFirstChild in class UnImplNode

getNextSibling

public Node getNextSibling()
getNextSibling
Returns:
null
Overrides:
getNextSibling in class UnImplNode

getParentNode

public Node getParentNode()
The parent node of row-set is #Document (represented by XStatement).
Returns:
Owner document
Overrides:
getParentNode in class UnImplNode

hasChildNodes

public boolean hasChildNodes()
Tell if there are any children of the document, which is always true.
Returns:
True
Overrides:
hasChildNodes in class UnImplNode


Copyright © 2000 Apache XML Project. All Rights Reserved.