public class TableAdapter extends NodeHolderDefault
isProperty| Modifier and Type | Field and Description |
|---|---|
protected List<CellAdapter> |
captions
List of caption elements.
|
protected List<CellAdapter> |
cols
List of col elements.
|
protected List<RowAdapter> |
rows
The list of rows.
|
attributeValue, nodeATTRIBUTE_ARGUMENT_CONVERTER_PREFIX, ATTRIBUTE_ARGUMENT_FORMATTER_PREFIX, ATTRIBUTE_CEVALUATION, ATTRIBUTE_COMPARATOR, ATTRIBUTE_CONVERTER, ATTRIBUTE_EVALUATION, ATTRIBUTE_FORCE_CONTENT, ATTRIBUTE_FORCE_VALUE, ATTRIBUTE_FORMATTER, ATTRIBUTE_PROPERTY, ATTRIBUTE_READER, ATTRIBUTE_VALUEDEFAULT_EVAL_ARGS, DEFAULT_EVAL_FORMATTER_ARGS, FEATURE_EVAL_ARGS, FEATURE_EVAL_FORMATTER_ARGS| Constructor and Description |
|---|
TableAdapter(nu.xom.Element node)
The table element.
|
| Modifier and Type | Method and Description |
|---|---|
CellAdapter |
getCaption(int i)
The caption given by that index.
|
List<CellAdapter> |
getCaptions()
Get captions list.
|
int |
getCaptionsCount()
The counter of captions.
|
String |
getCaptionsXPath()
Gets the XPath for captions.
|
CellAdapter |
getCol(int i)
The col given by that index.
|
List<CellAdapter> |
getCols()
Get cols list.
|
int |
getColsCount()
The counter of cols.
|
String |
getColsXPath()
Gets the XPath for cols.
|
RowAdapter |
getRow(int i)
The row given by that index.
|
int |
getRowCount()
The counter of rows.
|
List<RowAdapter> |
getRows()
The rows list.
|
String |
getRowsXPath()
Gets the XPath for rows.
|
void |
select(int fixedCols,
int colIndex,
int columnIndex,
int span)
Filter a table in range of columns.
|
append, append, attributeContains, attributeEquals, detach, getArguments, getArguments, getArgumentsLocal, getAttribute, getAttribute, getAttributeValue, getComparator, getComparator, getConverter, getConverter, getFormatter, getFormatter, getFormatterArguments, getFormatterArguments, getFormatterArgumentsLocal, getLocal, getNode, getObject, getObject, getProperty, getQualifiedName, getReader, getReader, getValue, getValue, getValue, hasAttribute, hasName, isProperty, notCeval, notEval, prepend, prepend, removeAttribute, setAttribute, setAttributeValue, setNode, setValue, toString, toXMLprotected List<CellAdapter> cols
protected List<CellAdapter> captions
protected List<RowAdapter> rows
public TableAdapter(nu.xom.Element node)
node - The table.public int getColsCount()
public List<CellAdapter> getCols()
public String getColsXPath()
public CellAdapter getCol(int i)
i - The col index.public int getCaptionsCount()
public List<CellAdapter> getCaptions()
public String getCaptionsXPath()
public CellAdapter getCaption(int i)
i - The caption index.public int getRowCount()
public List<RowAdapter> getRows()
public String getRowsXPath()
public RowAdapter getRow(int i)
i - The row index.public void select(int fixedCols,
int colIndex,
int columnIndex,
int span)
fixedCols - Fixed columns.colIndex - Col index.columnIndex - Columns index.span - Colspan.Copyright © 2016. All rights reserved.