org.htmlparser.tags

Class TextareaTag

public class TextareaTag extends CompositeTag

A text area tag within a form.
Constructor Summary
TextareaTag()
Create a new text area tag.
Method Summary
String[]getEnders()
Return the set of tag names that cause this tag to finish.
String[]getEndTagEnders()
Return the set of end tag names that cause this tag to finish.
String[]getIds()
Return the set of names handled by this tag.
StringgetValue()
Return the plain text contents from this text area.

Constructor Detail

TextareaTag

public TextareaTag()
Create a new text area tag.

Method Detail

getEnders

public String[] getEnders()
Return the set of tag names that cause this tag to finish.

Returns: The names of following tags that stop further scanning.

getEndTagEnders

public String[] getEndTagEnders()
Return the set of end tag names that cause this tag to finish.

Returns: The names of following end tags that stop further scanning.

getIds

public String[] getIds()
Return the set of names handled by this tag.

Returns: The names to be matched that create tags of this type.

getValue

public String getValue()
Return the plain text contents from this text area.

Returns: The text of the children of this TEXTAREA tag.

HTML Parser is an open source library released under LGPL. SourceForge.net