public class XMLTableColumnDefinition extends Object implements Serializable
XMLTableColumnDefinition
a column within a table definition.
Modifier and Type | Field and Description |
---|---|
static int |
NODE_TYPE |
static int |
NUMBER_TYPE |
static int |
OBJECT_TYPE |
static int |
STRING_TYPE |
Constructor and Description |
---|
XMLTableColumnDefinition() |
XMLTableColumnDefinition(String name,
String expression,
int type) |
XMLTableColumnDefinition(String name,
XPath xpath,
int type) |
XMLTableColumnDefinition(XPath columnXPath,
XPath xpath,
int type) |
Modifier and Type | Method and Description |
---|---|
protected XPath |
createXPath(String expression) |
Class |
getColumnClass() |
XPath |
getColumnNameXPath()
DOCUMENT ME!
|
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 |
setColumnNameXPath(XPath columnNameXPath)
Setter for property columnNameXPath.
|
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
public static int parseType(String typeName)
public Class getColumnClass()
public int getType()
public void setType(int type)
type
- New value of property type.public String getName()
public void setName(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 void handleException(Exception e)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.