Package org.dom4j.swing
Class XMLTableColumnDefinition
java.lang.Object
org.dom4j.swing.XMLTableColumnDefinition
- All Implemented Interfaces:
Serializable
XMLTableColumnDefinition a column within a table definition.
- Version:
- $Revision: 1.10 $
- Author:
- James Strachan
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionXMLTableColumnDefinition(String name, String expression, int type) XMLTableColumnDefinition(String name, XPath xpath, int type) XMLTableColumnDefinition(XPath columnXPath, XPath xpath, int type) -
Method Summary
Modifier and TypeMethodDescriptionprotected XPathcreateXPath(String expression) DOCUMENT ME!getName()Getter for property name.intgetType()Getter for property type.getXPath()Getter for property xpath.protected voidstatic intvoidsetColumnNameXPath(XPath columnNameXPath) Setter for property columnNameXPath.voidSetter for property name.voidsetType(int type) Setter for property type.voidSetter for property xpath.
-
Field Details
-
OBJECT_TYPE
public static final int OBJECT_TYPE- See Also:
-
STRING_TYPE
public static final int STRING_TYPE- See Also:
-
NUMBER_TYPE
public static final int NUMBER_TYPE- See Also:
-
NODE_TYPE
public static final int NODE_TYPE- See Also:
-
-
Constructor Details
-
XMLTableColumnDefinition
public XMLTableColumnDefinition() -
XMLTableColumnDefinition
-
XMLTableColumnDefinition
-
XMLTableColumnDefinition
-
-
Method Details
-
parseType
-
getColumnClass
-
getValue
-
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
Getter for property name.- Returns:
- Value of property name.
-
setName
Setter for property name.- Parameters:
name- New value of property name.
-
getXPath
Getter for property xpath.- Returns:
- Value of property xpath.
-
setXPath
Setter for property xpath.- Parameters:
xPath- New value of property xpath.
-
getColumnNameXPath
DOCUMENT ME!- Returns:
- the XPath used to create the column name
-
setColumnNameXPath
Setter for property columnNameXPath.- Parameters:
columnNameXPath- New value of property xpath.
-
createXPath
-
handleException
-