Package org.dom4j.swing
Class XMLTableColumnDefinition
- java.lang.Object
-
- org.dom4j.swing.XMLTableColumnDefinition
-
- All Implemented Interfaces:
Serializable
public class XMLTableColumnDefinition extends Object implements Serializable
XMLTableColumnDefinition
a column within a table definition.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
NODE_TYPE
static int
NUMBER_TYPE
static int
OBJECT_TYPE
static int
STRING_TYPE
-
Constructor Summary
Constructors Constructor Description XMLTableColumnDefinition()
XMLTableColumnDefinition(String name, String expression, int type)
XMLTableColumnDefinition(String name, XPath xpath, int type)
XMLTableColumnDefinition(XPath columnXPath, XPath xpath, int type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
OBJECT_TYPE
public static final int OBJECT_TYPE
- See Also:
- Constant Field Values
-
STRING_TYPE
public static final int STRING_TYPE
- See Also:
- Constant Field Values
-
NUMBER_TYPE
public static final int NUMBER_TYPE
- See Also:
- Constant Field Values
-
NODE_TYPE
public static final int NODE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseType
public static int parseType(String typeName)
-
getColumnClass
public Class<?> getColumnClass()
-
getType
public int getType()
Getter for property type.- Returns:
- Value of property type.
-
setType
public void setType(int type)
Setter for property type.- Parameters:
type
- New value of property type.
-
getName
public String getName()
Getter for property name.- Returns:
- Value of property name.
-
setName
public void setName(String name)
Setter for property name.- Parameters:
name
- New value of property name.
-
getXPath
public XPath getXPath()
Getter for property xpath.- Returns:
- Value of property xpath.
-
setXPath
public void setXPath(XPath xPath)
Setter for property xpath.- Parameters:
xPath
- New value of property xpath.
-
getColumnNameXPath
public XPath getColumnNameXPath()
DOCUMENT ME!- Returns:
- the XPath used to create the column name
-
setColumnNameXPath
public void setColumnNameXPath(XPath columnNameXPath)
Setter for property columnNameXPath.- Parameters:
columnNameXPath
- New value of property xpath.
-
handleException
protected void handleException(Exception e)
-
-