Package com.sun.java.help.impl
Class Tag
java.lang.Object
com.sun.java.help.impl.Tag
This class contains a reference to a tag in a parsed document, the type of
tag, and the tag's attributes.
- See Also:
-
Parser
HTMLParser
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTag
(String name, TagProperties atts, boolean isEnd, boolean isEmpty) Sets the tag, position, and type. -
Method Summary
-
Field Details
-
name
The name of the tag -
isEnd
public boolean isEndThe type of tag, false if an opening tag or true if a closing tag. -
isEmpty
public boolean isEmptyThe type of tag, true if an empty tag. -
atts
The tag attributes, in identifier, value pairs.
-
-
Constructor Details
-
Tag
Sets the tag, position, and type.- Parameters:
tag
- the tag descriptorpos
- the position in the textisEnd
- true if a </tag> or <tag/> tagisEmpty
- true if a <tag/> tag- See Also:
-