|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.util.xom.NodeHolder
org.specrunner.util.xom.TableAdapter
public class TableAdapter
A table adapter to encapsulate XOM API.
| Field Summary | |
|---|---|
protected List<CellAdapter> |
captions
List of caption elements. |
protected List<RowAdapter> |
rows
The list of rows. |
| Fields inherited from class org.specrunner.util.xom.NodeHolder |
|---|
node |
| Fields inherited from interface org.specrunner.util.xom.INodeHolder |
|---|
ATTRIBUTE_ARGUMENT_PREFIX, ATTRIBUTE_COMPARATOR, ATTRIBUTE_CONVERTER, ATTRIBUTE_EVALUATION, ATTRIBUTE_PROPERTY, ATTRIBUTE_VALUE |
| Constructor Summary | |
|---|---|
TableAdapter(nu.xom.Element node)
The table element. |
|
| Method Summary | |
|---|---|
List<CellAdapter> |
getCaptions()
Get captions list. |
RowAdapter |
getRow(int i)
The row given by that index. |
int |
getRowCount()
The counter of rows. |
List<RowAdapter> |
getRows()
The rows list. |
String |
getXPath()
Gets the XPath for rows. |
| Methods inherited from class org.specrunner.util.xom.NodeHolder |
|---|
append, attributeContains, attributeEquals, getArguments, getArguments, getAttribute, getAttribute, getComparator, getComparator, getConverter, getConverter, getNode, getObject, getObject, getQualifiedName, getValue, hasAttribute, hasName, prepend, removeAttribute, setAttribute, setNode, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected List<CellAdapter> captions
protected List<RowAdapter> rows
| Constructor Detail |
|---|
public TableAdapter(nu.xom.Element node)
node - The table.| Method Detail |
|---|
public String getXPath()
public List<CellAdapter> getCaptions()
public int getRowCount()
public List<RowAdapter> getRows()
public RowAdapter getRow(int i)
i - The row index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||