|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.java.help.impl.Tag
public class Tag
This class contains a reference to a tag in a parsed document, the type of tag, and the tag's attributes.
Parser,
HTMLParser| Field Summary | |
|---|---|
TagProperties |
atts
The tag attributes, in identifier, value pairs. |
boolean |
isEmpty
The type of tag, true if an empty tag. |
boolean |
isEnd
The type of tag, false if an opening tag or true if a closing tag. |
java.lang.String |
name
The name of the tag |
| Constructor Summary | |
|---|---|
Tag(java.lang.String name,
TagProperties atts,
boolean isEnd,
boolean isEmpty)
Sets the tag, position, and type. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String name
public boolean isEnd
public boolean isEmpty
public TagProperties atts
| Constructor Detail |
|---|
public Tag(java.lang.String name,
TagProperties atts,
boolean isEnd,
boolean isEmpty)
tag - the tag descriptorpos - the position in the textisEnd - true if a </tag> or <tag/> tagisEmpty - true if a <tag/> tagTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||