org.htmlparser.tags
public class OptionTag extends CompositeTag
| Constructor Summary | |
|---|---|
| OptionTag()
Create a new option 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. |
| String | getOptionText()
Get the text of this option. |
| String | getValue()
Get the VALUE attribute, if any. |
| void | setValue(String value)
Set the value of the value attribute. |
| String | toString()
Return a string representation of this node suitable for debugging. |
Returns: The names of following tags that stop further scanning.
Returns: The names of following end tags that stop further scanning.
Returns: The names to be matched that create tags of this type.
Returns: The textual contents of this OPTION tag.
VALUE attribute, if any.Returns: The value of the VALUE attribute,
or null if the attribute doesn't exist.
Parameters: value The new value of the VALUE attribute.
Returns: The value and text of this tag in a string.
| HTML Parser is an open source library released under LGPL. | |