|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.meterware.httpunit.ParameterHolder com.meterware.httpunit.WebRequestSource com.meterware.httpunit.FixedURLWebRequestSource com.meterware.httpunit.WebImage
Represents an image in an HTML document.
Nested Class Summary | |
class |
WebImage.Scriptable
|
Method Summary | |
protected void |
addPresetParameter(java.lang.String name,
java.lang.String value)
Records a parameter defined by including it in the destination URL. |
java.lang.String |
getAltText()
|
protected java.lang.String |
getEmptyParameterValue()
|
WebLink |
getLink()
|
java.lang.String |
getName()
Returns the name associated with this request source. |
java.lang.String[] |
getParameterNames()
Returns an array containing the names of any parameters defined as part of this link's URL. |
java.lang.String[] |
getParameterValues(java.lang.String name)
Returns the multiple default values of the named parameter. |
WebRequest |
getRequest()
Creates and returns a web request which will simulate clicking on this link. |
java.lang.String |
getSource()
|
ScriptableDelegate |
newScriptable()
|
void |
recordParameters(com.meterware.httpunit.protocol.ParameterProcessor processor)
Iterates through the parameters in this holder, recording them in the supplied parameter processor. |
protected void |
setDestination(java.lang.String destination)
|
Methods inherited from class com.meterware.httpunit.WebRequestSource |
doEvent, doEventScript, getAttribute, getBaseResponse, getBaseURL, getClassName, getCurrentFrameContents, getDestination, getDOMSubtree, getElement, getFragmentIdentifier, getFrame, getHTMLPage, getID, getNode, getPageFrame, getParentDelegate, getRelativeURL, getScriptingHandler, getTagName, getTarget, getText, getTitle, handleEvent, isSupportedAttribute, loadDestinationParameters, removeAttribute, setAttribute, setTargetAttribute, submitRequest, submitRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getName()
WebRequestSource
getName
in interface HTMLElement
getName
in class WebRequestSource
public java.lang.String getSource()
public java.lang.String getAltText()
public WebLink getLink()
public ScriptableDelegate newScriptable()
public WebRequest getRequest()
getRequest
in class WebRequestSource
public java.lang.String[] getParameterNames()
getParameterNames
in class WebRequestSource
public java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues
in class WebRequestSource
protected void addPresetParameter(java.lang.String name, java.lang.String value)
WebRequestSource
addPresetParameter
in class WebRequestSource
protected java.lang.String getEmptyParameterValue()
getEmptyParameterValue
in class WebRequestSource
protected void setDestination(java.lang.String destination)
setDestination
in class WebRequestSource
public void recordParameters(com.meterware.httpunit.protocol.ParameterProcessor processor) throws java.io.IOException
java.io.IOException
|
Copyright © 2000-2008 Russell Gold. See license agreement for rights granted. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |