|
||||||||||
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.ColumnAttribute
Represents a column attribute on a column-header element. Each column-header element can contain any of the following attributes, depending on the ResultSetMetadata object returned with the query result set.
ColumnHeader
Field Summary | |
static int |
CASESENSITIVE
Constant for CASESENSITIVE |
static int |
CATALOGUE_NAME
Constant for CATALOGUE_NAME |
static int |
COLUMN_LABEL
Constant for COLUMN_LABEL |
static int |
COLUMN_NAME
Constant for COLUMN_NAME |
static int |
COLUMN_TYPE
Constant for COLUMN_TYPE |
static int |
COLUMN_TYPENAME
Constant for COLUMN_TYPENAME |
static int |
DEFINATELYWRITABLE
Constant for DEFINATELYWRITABLE |
static int |
DISPLAY_SIZE
Constnat for DISPLAY_SIZE |
static int |
ISNULLABLE
Constant for ISNULLABLE |
static int |
ISSEARCHABLE
Constant for ISSEARCHABLE |
static int |
ISSIGNED
Constant for ISSIGNED |
static int |
ISWRITEABLE
Constant for ISWRITEABLE |
static int |
NUMBER_ATTRIBUTES
Constant for NUMBER_ATTRIBUTES |
static int |
PRECISION
Constant for PRECISION |
static java.lang.String |
S_CASESENSITIVE
Constant for S_CASESENSITIVE |
static java.lang.String |
S_CATALOGUE_NAME
Constant for S_CATALOGUE_NAME |
static java.lang.String |
S_COLUMN_LABEL
Constant for S_COLUMN_LABEL |
static java.lang.String |
S_COLUMN_NAME
Constant for S_COLUMN_NAME |
static java.lang.String |
S_COLUMN_TYPE
Constant for S_COLUMN_TYPE |
static java.lang.String |
S_COLUMN_TYPENAME
Constant for S_COLUMN_TYPENAME |
static java.lang.String |
S_DEFINATELYWRITABLE
Constant for S_DEFINATELYWRITABLE |
static java.lang.String |
S_DISPLAY_SIZE
Constant for S_DISPLAY_SIZE |
static java.lang.String |
S_ISNULLABLE
Constant for S_ISNULLABLE |
static java.lang.String |
S_ISSEARCHABLE
Constant for S_ISSEARCHABLE |
static java.lang.String |
S_ISSIGNED
Constant for S_ISSIGNED |
static java.lang.String |
S_ISWRITEABLE
Constant for S_ISWRITEABLE |
static java.lang.String |
S_PRECISION
Constant for S_PRECISION |
static java.lang.String |
S_SCALE
Constant for S_SCALE |
static java.lang.String |
S_SCHEMA_NAME
Constant for S_SCHEMA_NAME |
static java.lang.String |
S_TABLE_NAME
Constant for S_TABLE_NAME |
static int |
SCALE
Constant for SCALE |
static int |
SCHEMA_NAME
Constant for SCHEMA_NAME |
static int |
TABLE_NAME
Constant for TABLE_NAME |
Constructor Summary | |
ColumnAttribute(XStatement statement,
Element owner,
int columnIndex,
int type,
java.sql.ResultSetMetaData metadata)
Constructor ColumnAttribute |
Method Summary | |
java.lang.String |
getName()
Get the column name |
java.lang.String |
getNodeName()
Get the column name |
short |
getNodeType()
Return Node.ATTRIBUTE_NODE. |
java.lang.String |
getNodeValue()
Return column value |
Element |
getOwnerElement()
Return column owner |
Node |
getParentNode()
Get parent node |
boolean |
getSpecified()
Return Specified |
java.lang.String |
getValue()
Return column value |
boolean |
setName(java.lang.String name)
Set column name |
void |
setValue(java.lang.String value)
setValue - Not supported |
Methods inherited from class org.apache.xalan.lib.sql.StreamableNode |
getAttributes,
getLength,
getLocalName,
getNamedItem,
getNamedItemNS,
getNamespaceURI,
getNodeTest,
getOwnerDocument,
getPrefix,
getUid,
getXStatement,
isSupported,
item,
removeNamedItem,
removeNamedItemNS,
setNamedItem,
setNamedItemNS,
setNodeTest |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int CATALOGUE_NAME
public static final int DISPLAY_SIZE
public static final int COLUMN_LABEL
public static final int COLUMN_NAME
public static final int COLUMN_TYPE
public static final int COLUMN_TYPENAME
public static final int PRECISION
public static final int SCALE
public static final int SCHEMA_NAME
public static final int TABLE_NAME
public static final int CASESENSITIVE
public static final int DEFINATELYWRITABLE
public static final int ISNULLABLE
public static final int ISSIGNED
public static final int ISWRITEABLE
public static final int ISSEARCHABLE
public static final int NUMBER_ATTRIBUTES
public static final java.lang.String S_CATALOGUE_NAME
public static final java.lang.String S_DISPLAY_SIZE
public static final java.lang.String S_COLUMN_LABEL
public static final java.lang.String S_COLUMN_NAME
public static final java.lang.String S_COLUMN_TYPE
public static final java.lang.String S_COLUMN_TYPENAME
public static final java.lang.String S_PRECISION
public static final java.lang.String S_SCALE
public static final java.lang.String S_SCHEMA_NAME
public static final java.lang.String S_TABLE_NAME
public static final java.lang.String S_CASESENSITIVE
public static final java.lang.String S_DEFINATELYWRITABLE
public static final java.lang.String S_ISNULLABLE
public static final java.lang.String S_ISSIGNED
public static final java.lang.String S_ISWRITEABLE
public static final java.lang.String S_ISSEARCHABLE
Constructor Detail |
public ColumnAttribute(XStatement statement, Element owner, int columnIndex, int type, java.sql.ResultSetMetaData metadata)
statement
- Owning documentowner
- Column owning this attributecolumnIndex
- Owning column indextype
- attribute typemetadata
- Column headerMethod Detail |
public boolean setName(java.lang.String name)
name
- column attribute namepublic java.lang.String getNodeName()
public java.lang.String getName()
public boolean getSpecified()
public java.lang.String getNodeValue()
public java.lang.String getValue()
public void setValue(java.lang.String value) throws DOMException
value
- column value to setpublic Element getOwnerElement()
public Node getParentNode()
public short getNodeType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |