|
|||||||||
| Home >> All >> com >> meterware >> [ httpunit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.meterware.httpunit
Interface HTMLElement

- All Known Implementing Classes:
- BlockElement, HTMLElementBase, WebRequestSource
- public interface HTMLElement
An interface which defines the common properties for an HTML element, which can correspond to any HTML tag.
- Since:
- 1.5.2
| Method Summary | |
java.lang.String |
getAttribute(java.lang.String name)
Returns the value of the attribute of this element with the specified name. |
java.lang.String |
getClassName()
Returns the class associated with this element. |
java.lang.String |
getID()
Returns the ID associated with this element. |
java.lang.String |
getName()
Returns the name associated with this element. |
com.meterware.httpunit.scripting.ScriptableDelegate |
getScriptableDelegate()
Returns the delegate which supports scripting this element. |
java.lang.String |
getText()
Returns the contents of this element, converted to a string. |
java.lang.String |
getTitle()
Returns the title associated with this element. |
boolean |
isSupportedAttribute(java.lang.String name)
Returns true if this element may have an attribute with the specified name. |
| Method Detail |
getID
public java.lang.String getID()
- Returns the ID associated with this element. IDs are unique throughout the HTML document.
getClassName
public java.lang.String getClassName()
- Returns the class associated with this element.
getName
public java.lang.String getName()
- Returns the name associated with this element.
getTitle
public java.lang.String getTitle()
- Returns the title associated with this element.
getAttribute
public java.lang.String getAttribute(java.lang.String name)
- Returns the value of the attribute of this element with the specified name.
Returns the empty string if no such attribute exists.
- Since:
- 1.6
isSupportedAttribute
public boolean isSupportedAttribute(java.lang.String name)
- Returns true if this element may have an attribute with the specified name.
- Since:
- 1.6
getScriptableDelegate
public com.meterware.httpunit.scripting.ScriptableDelegate getScriptableDelegate()
- Returns the delegate which supports scripting this element.
getText
public java.lang.String getText()
- Returns the contents of this element, converted to a string.
- Since:
- 1.6
|
|||||||||
| Home >> All >> com >> meterware >> [ httpunit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC