|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | 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(java.lang.String ID)
Returns the form found in this HTML segment with the specified ID. |
WebForm |
getFormWithName(java.lang.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(java.lang.String text)
Returns the first link which contains the specified text. |
WebLink |
getLinkWithImageText(java.lang.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(java.lang.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(java.lang.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(java.lang.String ID)
Returns the first table in this HTML segment which has the specified text as its ID attribute. |
WebTable |
getTableWithSummary(java.lang.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 org.xml.sax.SAXException
org.xml.sax.SAXException
- thrown if there is an error parsing the segment.public WebForm getFormWithID(java.lang.String ID) throws org.xml.sax.SAXException
org.xml.sax.SAXException
- thrown if there is an error parsing the segment.public WebForm getFormWithName(java.lang.String name) throws org.xml.sax.SAXException
org.xml.sax.SAXException
- thrown if there is an error parsing the segment.public WebLink[] getLinks() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- thrown if there is an error parsing the segment.public WebLink getLinkWith(java.lang.String text) throws org.xml.sax.SAXException
org.xml.sax.SAXException
- thrown if there is an error parsing the segment.public WebLink getLinkWithImageText(java.lang.String text) throws org.xml.sax.SAXException
org.xml.sax.SAXException
- thrown if there is an error parsing the segment.public WebTable[] getTables() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- thrown if there is an error parsing the segment.public WebTable getTableStartingWith(java.lang.String text) throws org.xml.sax.SAXException
org.xml.sax.SAXException
- thrown if there is an error parsing the segment.public WebTable getTableStartingWithPrefix(java.lang.String text) throws org.xml.sax.SAXException
org.xml.sax.SAXException
- thrown if there is an error parsing the segment.public WebTable getTableWithSummary(java.lang.String summary) throws org.xml.sax.SAXException
org.xml.sax.SAXException
- thrown if there is an error parsing the segment.public WebTable getTableWithID(java.lang.String ID) throws org.xml.sax.SAXException
org.xml.sax.SAXException
- thrown if there is an error parsing the segment.
|
Copyright © 2000-2002 Russell Gold. See license agreement for rights granted. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |