XMLTableDefinition represents a table definition based on
XPath expression evaluated on an XML document.
| Modifier and Type | Field and Description |
|---|---|
| private XMLTableColumnDefinition[] | columnArray
integer index array cache |
| private Map | columnNameIndex
name index cache |
| private List | columns
The columns to display in this table |
| private Object | rowValue
stores the current row value for the variableContext |
| private XPath | rowXPath
Holds value of property rowXPath. |
| private VariableContext | variableContext
for cross-row variables |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected void | |
| protected XPath | |
| protected XPath | |
| public XMLTableColumnDefinition | |
| public XMLTableColumnDefinition | |
| public Class | |
| public int | |
| public String | Returns: the static column name. This is used if there is no columnNameXPathDOCUMENT ME! columnIndex)DOCUMENT ME! |
| public XPath | Returns: the XPath expresssion used to create the column name, if there is one or null if there is no XPath expression to name the column.DOCUMENT ME! columnIndex)DOCUMENT ME! |
| public XPath | Returns: the XPath expression used to evaluate the value of cells in this columnDOCUMENT ME! columnIndex)DOCUMENT ME! |
| public XPath | |
| public synchronized Object | |
| public Object | getVariableValue(String
the namespace URI to which the prefix parameter
is bound in the XPath expression. If the variable
reference expression had no prefix, the namespace
URI is namespaceURI, String null.the prefix that was used in the variable reference
expression; this value is ignored and has no effect prefix, String the local name of the variable-reference
expression. If there is no prefix, then this is
the whole name of the variable. localName)Implements org. |
| protected void | |
| public static XMLTableDefinition | |
| public static XMLTableDefinition | |
| public void | |
| public void | |
| public void |
| columnArray | back to summary |
|---|---|
| private XMLTableColumnDefinition[] columnArray integer index array cache | |
| columnNameIndex | back to summary |
|---|---|
| private Map<String, XMLTableColumnDefinition> columnNameIndex name index cache | |
| columns | back to summary |
|---|---|
| private List<XMLTableColumnDefinition> columns The columns to display in this table | |
| rowValue | back to summary |
|---|---|
| private Object rowValue stores the current row value for the variableContext | |
| rowXPath | back to summary |
|---|---|
| private XPath rowXPath Holds value of property rowXPath. | |
| variableContext | back to summary |
|---|---|
| private VariableContext variableContext for cross-row variables | |
| XMLTableDefinition | back to summary |
|---|---|
| public XMLTableDefinition() | |
| addColumn | back to summary |
|---|---|
| public void addColumn(String name, String expression) | |
| addColumn | back to summary |
|---|---|
| public void addColumn(String name, String expression, int type) | |
| addColumn | back to summary |
|---|---|
| public void addColumn(XMLTableColumnDefinition column) | |
| addColumnWithXPathName | back to summary |
|---|---|
| public void addColumnWithXPathName(String columnNameXPathExpression, String expression, int type) | |
| addNumberColumn | back to summary |
|---|---|
| public void addNumberColumn(String name, String expression) | |
| addStringColumn | back to summary |
|---|---|
| public void addStringColumn(String name, String expression) | |
| clear | back to summary |
|---|---|
| public void clear() | |
| clearCaches | back to summary |
|---|---|
| protected void clearCaches() | |
| createColumnXPath | back to summary |
|---|---|
| protected XPath createColumnXPath(String expression) | |
| createXPath | back to summary |
|---|---|
| protected XPath createXPath(String expression) | |
| getColumn | back to summary |
|---|---|
| public XMLTableColumnDefinition getColumn(int index) | |
| getColumn | back to summary |
|---|---|
| public XMLTableColumnDefinition getColumn(String columnName) | |
| getColumnClass | back to summary |
|---|---|
| public Class | |
| getColumnCount | back to summary |
|---|---|
| public int getColumnCount() | |
| getColumnName | back to summary |
|---|---|
| public String getColumnName(int columnIndex) DOCUMENT ME!
| |
| getColumnNameXPath | back to summary |
|---|---|
| public XPath getColumnNameXPath(int columnIndex) DOCUMENT ME!
| |
| getColumnXPath | back to summary |
|---|---|
| public XPath getColumnXPath(int columnIndex) DOCUMENT ME!
| |
| getRowXPath | back to summary |
|---|---|
| public XPath getRowXPath() Getter for property rowXPath.
| |
| getValueAt | back to summary |
|---|---|
| public synchronized Object getValueAt(Object row, int columnIndex) | |
| getVariableValue | back to summary |
|---|---|
| public Object getVariableValue(String namespaceURI, String prefix, String localName) Implements org. Doc from org. An implementation should return the value of an XPath variable based on the namespace URI and local name of the variable-reference expression. It must not use the prefix parameter to select a variable, because a prefix could be bound to any namespace; the prefix parameter could be used in debugging output or other generated information. The prefix may otherwise be ignored.
| |
| handleException | back to summary |
|---|---|
| protected void handleException(Exception e) | |
| load | back to summary |
|---|---|
| public static XMLTableDefinition load(Document definition) Loads an XML table definition from an XML definition document
| |
| load | back to summary |
|---|---|
| public static XMLTableDefinition load(Element definition) Loads an XML table definition from an XML definition document
| |
| removeColumn | back to summary |
|---|---|
| public void removeColumn(XMLTableColumnDefinition column) | |
| setRowExpression | back to summary |
|---|---|
| public void setRowExpression(String xpath) | |
| setRowXPath | back to summary |
|---|---|
| public void setRowXPath(XPath rowXPath) Setter for property rowXPath.
| |