public class XMLTableColumnDefinition extends Object implements Serializable
XMLTableColumnDefinition
a column
within a table definition.
Modifier and Type | Field and Description |
---|---|
private String |
name
Holds value of property name.
|
static int |
NODE_TYPE |
static int |
NUMBER_TYPE |
static int |
OBJECT_TYPE |
static int |
STRING_TYPE |
private int |
type
Holds value of property type.
|
private XPath |
xpath
Holds value of property xpath.
|
Constructor and Description |
---|
XMLTableColumnDefinition() |
XMLTableColumnDefinition(String name,
String expression,
int type) |
XMLTableColumnDefinition(String name,
XPath xpath,
int type) |
Modifier and Type | Method and Description |
---|---|
protected XPath |
createXPath(String expression) |
Class |
getColumnClass() |
String |
getName()
Getter for property name.
|
int |
getType()
Getter for property type.
|
Object |
getValue(Object row) |
XPath |
getXPath()
Getter for property xpath.
|
protected void |
handleException(Exception e) |
static int |
parseType(String typeName) |
void |
setName(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
private int type
public XMLTableColumnDefinition()
public XMLTableColumnDefinition(String name, String expression, int type)
public XMLTableColumnDefinition(String name, XPath xpath, int type)
public Class getColumnClass()
public int getType()
public void setType(int type)
type
- New value of property type.public void setName(String name)
name
- New value of property name.public void setXPath(XPath xpath)
xpath
- New value of property xpath.protected XPath createXPath(String expression)
protected void handleException(Exception e)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses