XMLTableDefinition repro.
| Modifier and Type | Field and Description |
|---|---|
| private XMLTableDefinition | definition
Holds value of property definition. |
| private List | rows
The rows evaluated from the row XPath expression |
| private Object | source
Holds value of property source. |
| Access | Constructor and Description |
|---|---|
| public | XMLTableModel(Element
DOCUMENT ME! tableDefinition, Object DOCUMENT ME! source)Creates a TableModel from an XML table definition document and an XML source |
| public | XMLTableModel(Document
DOCUMENT ME! tableDefinition, Object DOCUMENT ME! source)Creates a TableModel from an XML table definition document and an XML source |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Class | getColumnClass(int
the column being queried columnIndex)Overrides javax. Implements javax. Object.class regardless of columnIndex.
|
| public int | getColumnCount()
Implements javax. |
| public String | getColumnName(int
the column being queried columnIndex)Overrides javax. Implements javax. |
| public XMLTableDefinition | |
| public int | getRowCount()
Implements javax. |
| public List | |
| public Object | |
| public Object | Returns: Value of property source.Getter for the XML source, which is usually a Node or List of nodes. |
| public Object | getValueAt(int
the row whose value is to be queried rowIndex, int the column whose value is to be queried columnIndex)Implements javax. columnIndex and
rowIndex.
|
| protected void | |
| public void | setDefinition(XMLTableDefinition
New value of property definition. definition)Setter for property definition. |
| public void |
| definition | back to summary |
|---|---|
| private XMLTableDefinition definition Holds value of property definition. | |
| rows | back to summary |
|---|---|
| private List<Node> rows The rows evaluated from the row XPath expression | |
| source | back to summary |
|---|---|
| private Object source Holds value of property source. | |
| XMLTableModel | back to summary |
|---|---|
| public XMLTableModel(Element tableDefinition, Object source) Creates a TableModel from an XML table definition document and an XML source | |
| XMLTableModel | back to summary |
|---|---|
| public XMLTableModel(Document tableDefinition, Object source) Creates a TableModel from an XML table definition document and an XML source | |
| XMLTableModel | back to summary |
|---|---|
| public XMLTableModel(XMLTableDefinition definition, Object source) | |
| getColumnClass | back to summary |
|---|---|
| public Class Overrides javax. Implements javax. Doc from javax. Returns
| |
| getColumnCount | back to summary |
|---|---|
| public int getColumnCount() Implements javax. Doc from javax. Returns the number of columns in the model. A
| |
| getColumnName | back to summary |
|---|---|
| public String getColumnName(int columnIndex) Overrides javax. Implements javax. Doc from javax. Returns a default name for the column using spreadsheet conventions:
A, B, C, ... Z, AA, AB, etc. If
| |
| getDefinition | back to summary |
|---|---|
| public XMLTableDefinition getDefinition() Getter for property definition.
| |
| getRowCount | back to summary |
|---|---|
| public int getRowCount() Implements javax. Doc from javax. Returns the number of rows in the model. A
| |
| getRows | back to summary |
|---|---|
| public List | |
| getRowValue | back to summary |
|---|---|
| public Object getRowValue(int rowIndex) | |
| getSource | back to summary |
|---|---|
| public Object getSource() Getter for the XML source, which is usually a Node or List of nodes.
| |
| getValueAt | back to summary |
|---|---|
| public Object getValueAt(int rowIndex, int columnIndex) Implements javax. Doc from javax. Returns the value for the cell at
| |
| handleException | back to summary |
|---|---|
| protected void handleException(Exception e) | |
| setDefinition | back to summary |
|---|---|
| public void setDefinition(XMLTableDefinition definition) Setter for property definition.
| |
| setSource | back to summary |
|---|---|
| public void setSource(Object source) Setter for the XML source, which is usually a Node or List of nodes.
| |