org.htmlparser.tags

Class LabelTag

public class LabelTag extends CompositeTag

A label tag.
Constructor Summary
LabelTag()
Create a new label tag.
Method Summary
String[]getEnders()
Return the set of tag names that cause this tag to finish.
String[]getIds()
Return the set of names handled by this tag.
StringgetLabel()
Returns the text contained inside this label tag.
StringtoString()
Returns a string representation of this label tag suitable for debugging.

Constructor Detail

LabelTag

public LabelTag()
Create a new label 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.

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.

getLabel

public String getLabel()
Returns the text contained inside this label tag.

Returns: The textual contents between the {@.html } pair.

toString

public String toString()
Returns a string representation of this label tag suitable for debugging.

Returns: A string representing this label.

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