Class XMLTableModel

    • Constructor Detail

      • XMLTableModel

        public XMLTableModel​(Element tableDefinition,
                             Object source)
        Creates a TableModel from an XML table definition document and an XML source
        Parameters:
        tableDefinition - DOCUMENT ME!
        source - DOCUMENT ME!
      • XMLTableModel

        public XMLTableModel​(Document tableDefinition,
                             Object source)
        Creates a TableModel from an XML table definition document and an XML source
        Parameters:
        tableDefinition - DOCUMENT ME!
        source - DOCUMENT ME!
    • Method Detail

      • getRowValue

        public Object getRowValue​(int rowIndex)
      • getColumnCount

        public int getColumnCount()
      • getValueAt

        public Object getValueAt​(int rowIndex,
                                 int columnIndex)
      • getRowCount

        public int getRowCount()
      • getDefinition

        public XMLTableDefinition getDefinition()
        Getter for property definition.
        Returns:
        Value of property definition.
      • setDefinition

        public void setDefinition​(XMLTableDefinition definition)
        Setter for property definition.
        Parameters:
        definition - New value of property definition.
      • getSource

        public Object getSource()
        Getter for the XML source, which is usually a Node or List of nodes.
        Returns:
        Value of property source.
      • setSource

        public void setSource​(Object source)
        Setter for the XML source, which is usually a Node or List of nodes.
        Parameters:
        source - New value of property source.
      • handleException

        protected void handleException​(Exception e)