|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.utils.UnImplNode | +--org.apache.xalan.lib.sql.StreamableNode | +--org.apache.xalan.lib.sql.ColumnHeader
This class represents a column-header Node, which contains the metadata for a column.
Constructor Summary | |
ColumnHeader(XStatement statement,
RowSet parent,
int columnIndex,
java.sql.ResultSetMetaData metaData)
Constructor ColumnHeader |
Method Summary | |
NamedNodeMap |
getAttributes()
Return the metadata for this column. |
Node |
getFirstChild()
getFirstChild - Always returns null. |
int |
getLength()
Get the number of attributes of column metadata attributes. |
Node |
getNamedItem(java.lang.String name)
Get an attribute by name from the metadata for this column. |
Node |
getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Get an attribute by namespaced name from the metadata for this column. |
Node |
getNextSibling()
Returns column-header Node for the next column. |
java.lang.String |
getNodeName()
Return Node name, "column-header". |
Node |
getParentNode()
The parent node of a column-header Node is the row-set Node. |
boolean |
hasChildNodes()
Tell if there are any children of the column-header Node, which is always false. |
Node |
item(int index)
Get an attribute by index from the metadata for this column. |
Node |
removeNamedItem(java.lang.String name)
Remove an attribute - Not supported |
Node |
removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Removed namespaced attribute - Not supported |
Node |
setNamedItem(Node arg)
Set an attribute from the metadata for this column. |
Node |
setNamedItemNS(Node arg)
Set namespaced attribute - Not supported |
Methods inherited from class org.apache.xalan.lib.sql.StreamableNode |
getLocalName,
getNamespaceURI,
getNodeTest,
getNodeType,
getOwnerDocument,
getPrefix,
getUid,
getXStatement,
isSupported,
setNodeTest |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ColumnHeader(XStatement statement, RowSet parent, int columnIndex, java.sql.ResultSetMetaData metaData)
statement
- Owning documentparent
- Parent node, a row-setcolumnIndex
- Index of column this header is formetaData
- Meta dataMethod Detail |
public java.lang.String getNodeName()
public Node getFirstChild()
public Node getNextSibling()
public Node getParentNode()
public boolean hasChildNodes()
public NamedNodeMap getAttributes()
public Node getNamedItem(java.lang.String name)
name
- Attribute namepublic Node item(int index)
index
- Index of attribut to getpublic int getLength()
public Node getNamedItemNS(java.lang.String namespaceURI, java.lang.String localName)
namespaceURI
- Namespace URI of attributelocalName
- Local name of attributepublic Node setNamedItem(Node arg) throws DOMException
arg
- public Node removeNamedItem(java.lang.String name) throws DOMException
name
- public Node setNamedItemNS(Node arg) throws DOMException
arg
- public Node removeNamedItemNS(java.lang.String namespaceURI, java.lang.String localName) throws DOMException
namespaceURI
- localName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |