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.

Version:
$Revision: 1.10 $
Author:
James Strachan
See Also:
  • Field Details

  • Constructor Details

    • XMLTableColumnDefinition

      public XMLTableColumnDefinition()
    • XMLTableColumnDefinition

      public XMLTableColumnDefinition(String name, String expression, int type)
    • XMLTableColumnDefinition

      public XMLTableColumnDefinition(String name, XPath xpath, int type)
    • XMLTableColumnDefinition

      public XMLTableColumnDefinition(XPath columnXPath, XPath xpath, int type)
  • Method Details

    • parseType

      public static int parseType(String typeName)
    • getColumnClass

      public Class<?> getColumnClass()
    • getValue

      public Object getValue(Object row)
    • 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.
    • createXPath

      protected XPath createXPath(String expression)
    • handleException

      protected void handleException(Exception e)