Package org.dom4j.swing
Class XMLTableColumnDefinition
- java.lang.Object
 - 
- org.dom4j.swing.XMLTableColumnDefinition
 
 
- 
- All Implemented Interfaces:
 Serializable
public class XMLTableColumnDefinition extends Object implements Serializable
XMLTableColumnDefinitiona column within a table definition.- See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static intNODE_TYPEstatic intNUMBER_TYPEstatic intOBJECT_TYPEstatic intSTRING_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 XPathcreateXPath(String expression)Class<?>getColumnClass()XPathgetColumnNameXPath()DOCUMENT ME!StringgetName()Getter for property name.intgetType()Getter for property type.ObjectgetValue(Object row)XPathgetXPath()Getter for property xpath.protected voidhandleException(Exception e)static intparseType(String typeName)voidsetColumnNameXPath(XPath columnNameXPath)Setter for property columnNameXPath.voidsetName(String name)Setter for property name.voidsetType(int type)Setter for property type.voidsetXPath(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)
 
 - 
 
 -