|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.meterware.httpunit.ParsedHTML
|
+--com.meterware.httpunit.TableCell
A single cell in an HTML table.
| Method Summary | |
String |
asText()
Returns the text value of this cell. |
int |
getColSpan()
Returns the number of columns spanned by this cell. |
Node |
getDOM()
Returns a copy of the domain object model associated with this HTML segment. |
WebForm[] |
getForms()
Returns the forms found in the page in the order in which they appear. |
WebForm |
getFormWithID(String ID)
Returns the form found in the page with the specified ID. |
WebForm |
getFormWithName(String name)
Returns the form found in the page with the specified name. |
WebLink[] |
getLinks()
Returns the links found in the page in the order in which they appear. |
WebLink |
getLinkWith(String text)
Returns the first link which contains the specified text. |
WebLink |
getLinkWithID(String ID)
Returns the link found in the page with the specified ID. |
WebLink |
getLinkWithImageText(String text)
Returns the first link which contains an image with the specified text as its 'alt' attribute. |
WebLink |
getLinkWithName(String name)
Returns the link found in the page with the specified name. |
int |
getRowSpan()
Returns the number of rows spanned by this cell. |
WebTable[] |
getTables()
Returns the top-level tables found in this page in the order in which they appear. |
WebTable |
getTableStartingWith(String text)
Returns the first table in the response which has the specified text as the full text of its first non-blank row and non-blank column. |
WebTable |
getTableStartingWithPrefix(String text)
Returns the first table in the response which has the specified text as a prefix of the text in its first non-blank row and non-blank column. |
WebTable |
getTableWithID(String ID)
Returns the first table in the response which has the specified text as its ID attribute. |
WebTable |
getTableWithSummary(String summary)
Returns the first table in the response which has the specified text as its summary attribute. |
protected void |
setBaseTarget(String baseTarget)
Overrides the base target for this HTML segment. |
protected void |
setBaseURL(URL baseURL)
Overrides the base URL for this HTML segment. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.meterware.httpunit.HTMLSegment |
getForms, getFormWithID, getFormWithName, getLinks, getLinkWith, getLinkWithImageText, getTables, getTableStartingWith, getTableStartingWithPrefix, getTableWithID, getTableWithSummary |
| Method Detail |
public int getColSpan()
public int getRowSpan()
public String asText()
public Node getDOM()
getDOM in class ParsedHTMLpublic WebForm[] getForms()
public WebForm getFormWithID(String ID)
SAXException - thrown if there is an error parsing the response.public WebForm getFormWithName(String name)
SAXException - thrown if there is an error parsing the response.public WebLink[] getLinks()
public WebLink getLinkWith(String text)
public WebLink getLinkWithImageText(String text)
public WebLink getLinkWithID(String ID)
SAXException - thrown if there is an error parsing the response.public WebLink getLinkWithName(String name)
SAXException - thrown if there is an error parsing the response.public WebTable[] getTables()
public WebTable getTableStartingWith(String text)
public WebTable getTableStartingWithPrefix(String text)
public WebTable getTableWithSummary(String summary)
public WebTable getTableWithID(String ID)
public String toString()
toString in class Objectprotected void setBaseURL(URL baseURL)
protected void setBaseTarget(String baseTarget)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||