|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Represents the parse tree for a segment of HTML.
| Method Summary | |
WebForm[] |
getForms()
Returns the forms found in this HTML segment in the order in which they appear. |
WebForm |
getFormWithID(String ID)
Returns the form found in this HTML segment with the specified ID. |
WebForm |
getFormWithName(String name)
Returns the form found in this HTML segment with the specified name. |
WebLink[] |
getLinks()
Returns the links found in this HTML segment in the order in which they appear. |
WebLink |
getLinkWith(String text)
Returns the first link which contains the specified text. |
WebLink |
getLinkWithImageText(String text)
Returns the first link which contains an image with the specified text as its 'alt' attribute. |
WebTable[] |
getTables()
Returns the top-level tables found in this HTML segment in the order in which they appear. |
WebTable |
getTableStartingWith(String text)
Returns the first table in this HTML segment 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 this HTML segment 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 this HTML segment which has the specified text as its ID attribute. |
WebTable |
getTableWithSummary(String summary)
Returns the first table in this HTML segment which has the specified text as its summary attribute. |
| Method Detail |
public WebForm[] getForms()
throws SAXException
SAXException - thrown if there is an error parsing the segment.
public WebForm getFormWithID(String ID)
throws SAXException
SAXException - thrown if there is an error parsing the segment.
public WebForm getFormWithName(String name)
throws SAXException
SAXException - thrown if there is an error parsing the segment.
public WebLink[] getLinks()
throws SAXException
SAXException - thrown if there is an error parsing the segment.
public WebLink getLinkWith(String text)
throws SAXException
SAXException - thrown if there is an error parsing the segment.
public WebLink getLinkWithImageText(String text)
throws SAXException
SAXException - thrown if there is an error parsing the segment.
public WebTable[] getTables()
throws SAXException
SAXException - thrown if there is an error parsing the segment.
public WebTable getTableStartingWith(String text)
throws SAXException
SAXException - thrown if there is an error parsing the segment.
public WebTable getTableStartingWithPrefix(String text)
throws SAXException
SAXException - thrown if there is an error parsing the segment.
public WebTable getTableWithSummary(String summary)
throws SAXException
SAXException - thrown if there is an error parsing the segment.
public WebTable getTableWithID(String ID)
throws SAXException
SAXException - thrown if there is an error parsing the segment.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||