java.io.Serializable
public class XMLTableColumnDefinition
extends java.lang.Object
implements java.io.Serializable
XMLTableColumnDefinition
a column within a table definition.
Modifier and Type | Field | Description |
---|---|---|
static int |
NODE_TYPE |
|
static int |
NUMBER_TYPE |
|
static int |
OBJECT_TYPE |
|
static int |
STRING_TYPE |
Constructor | Description |
---|---|
XMLTableColumnDefinition() |
|
XMLTableColumnDefinition(java.lang.String name,
java.lang.String expression,
int type) |
|
XMLTableColumnDefinition(java.lang.String name,
XPath xpath,
int type) |
|
XMLTableColumnDefinition(XPath columnXPath,
XPath xpath,
int type) |
Modifier and Type | Method | Description |
---|---|---|
protected XPath |
createXPath(java.lang.String expression) |
|
java.lang.Class<?> |
getColumnClass() |
|
XPath |
getColumnNameXPath() |
DOCUMENT ME!
|
java.lang.String |
getName() |
Getter for property name.
|
int |
getType() |
Getter for property type.
|
java.lang.Object |
getValue(java.lang.Object row) |
|
XPath |
getXPath() |
Getter for property xpath.
|
protected void |
handleException(java.lang.Exception e) |
|
static int |
parseType(java.lang.String typeName) |
|
void |
setColumnNameXPath(XPath columnNameXPath) |
Setter for property columnNameXPath.
|
void |
setName(java.lang.String name) |
Setter for property name.
|
void |
setType(int type) |
Setter for property type.
|
void |
setXPath(XPath xPath) |
Setter for property xpath.
|
public static final int OBJECT_TYPE
public static final int STRING_TYPE
public static final int NUMBER_TYPE
public static final int NODE_TYPE
public XMLTableColumnDefinition()
public XMLTableColumnDefinition(java.lang.String name, java.lang.String expression, int type)
public XMLTableColumnDefinition(java.lang.String name, XPath xpath, int type)
public static int parseType(java.lang.String typeName)
public java.lang.Class<?> getColumnClass()
public java.lang.Object getValue(java.lang.Object row)
public int getType()
public void setType(int type)
type
- New value of property type.public java.lang.String getName()
public void setName(java.lang.String name)
name
- New value of property name.public XPath getXPath()
public void setXPath(XPath xPath)
xPath
- New value of property xpath.public XPath getColumnNameXPath()
public void setColumnNameXPath(XPath columnNameXPath)
columnNameXPath
- New value of property xpath.protected XPath createXPath(java.lang.String expression)
protected void handleException(java.lang.Exception e)