com.meterware.httpunit

Class TextBlock

public class TextBlock extends BlockElement

A class which represents a block of text in a web page. Experimental.

Since: 1.6

Author: Russell Gold

Field Summary
static HTMLElementPredicateMATCH_CLASS
Predicate to match part or all of a block's class attribute.
static HTMLElementPredicateMATCH_TAG
Predicate to match the tag associated with a block (case insensitive).
Constructor Summary
TextBlock(WebResponse response, FrameSelector frame, URL baseURL, String baseTarget, Node rootNode, String characterSet)
Method Summary
WebList[]getLists()
Returns any lists embedded in this text block.

Field Detail

MATCH_CLASS

public static final HTMLElementPredicate MATCH_CLASS
Predicate to match part or all of a block's class attribute. *

MATCH_TAG

public static final HTMLElementPredicate MATCH_TAG
Predicate to match the tag associated with a block (case insensitive). *

Constructor Detail

TextBlock

public TextBlock(WebResponse response, FrameSelector frame, URL baseURL, String baseTarget, Node rootNode, String characterSet)

Method Detail

getLists

public WebList[] getLists()
Returns any lists embedded in this text block.