com.meterware.httpunit
public abstract class BlockElement extends ParsedHTML implements HTMLSegment, HTMLElement
Since: 1.6
| Constructor Summary | |
|---|---|
| protected | BlockElement(WebResponse response, FrameSelector frame, URL baseURL, String baseTarget, Node rootNode, String characterSet) |
| Method Summary | |
|---|---|
| boolean | equals(Object obj) |
| String | getAttribute(String name) |
| protected int | getAttributeValue(Node node, String attributeName, int defaultValue) |
| String | getClassName()
Returns the class attribute associated with this element. |
| Node | getDOM()
Returns a copy of the domain object model associated with this HTML segment.
|
| String | getID()
Returns the ID associated with this element. |
| String | getName()
Returns the name associated with this element.
|
| ScriptableDelegate | getScriptableDelegate()
Returns the delegate which supports scripting this element. |
| String | getTagName()
Returns the tag for this block. |
| String | getText()
Returns the text value of this block.
|
| String | getTitle()
Returns the title associated with this element.
|
| int | hashCode() |
| boolean | isSupportedAttribute(String name)
Returns true if this element may have an attribute with the specified name. |