|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.meterware.httpunit.WebResponse
A response from a web server to an Http request.
Method Summary | |
org.w3c.dom.Document |
getDOM()
Returns a copy of the domain object model tree associated with this response. |
WebForm[] |
getForms()
Returns the forms found in the page in the order in which they appear. |
WebLink[] |
getLinks()
Returns the links found in the page 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 page in the order in which they appear. |
WebTable |
getTableStartingWith(java.lang.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(java.lang.String text)
Returns the first table in the response which has the specified text as a prefix of the text of its first non-blank row and non-blank column. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public WebForm[] getForms() throws org.xml.sax.SAXException
public WebLink[] getLinks() throws org.xml.sax.SAXException
public WebLink getLinkWith(java.lang.String text) throws org.xml.sax.SAXException
public WebLink getLinkWithImageText(java.lang.String text) throws org.xml.sax.SAXException
public WebTable[] getTables() throws org.xml.sax.SAXException
public org.w3c.dom.Document getDOM() throws org.xml.sax.SAXException
public WebTable getTableStartingWith(java.lang.String text) throws org.xml.sax.SAXException
public WebTable getTableStartingWithPrefix(java.lang.String text) throws org.xml.sax.SAXException
public java.lang.String toString()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |