|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.text.html.parser.Element
Untamed:
Field Summary | |
AttributeList |
atts
Enabled: |
ContentModel |
content
Enabled: |
(package private) static Hashtable |
contentTypes
|
Object |
data
Enabled: A field to store user data. |
BitSet |
exclusions
Enabled: |
BitSet |
inclusions
Enabled: |
int |
index
Enabled: |
(package private) static int |
maxIndex
|
String |
name
Enabled: |
boolean |
oEnd
Enabled: |
boolean |
oStart
Enabled: |
int |
type
Enabled: |
Fields inherited from interface javax.swing.text.html.parser.DTDConstants |
ANY, CDATA, CONREF, CURRENT, DEFAULT, EMPTY, ENDTAG, ENTITIES, ENTITY, FIXED, GENERAL, ID, IDREF, IDREFS, IMPLIED, MD, MODEL, MS, NAME, NAMES, NMTOKEN, NMTOKENS, NOTATION, NUMBER, NUMBERS, NUTOKEN, NUTOKENS, PARAMETER, PI, PUBLIC, RCDATA, REQUIRED, SDATA, STARTTAG, SYSTEM |
Constructor Summary | |
(package private) |
Element()
|
(package private) |
Element(String name,
int index)
Create a new element. |
Method Summary | |
AttributeList |
getAttribute(String name)
Enabled: Get an attribute by name. |
AttributeList |
getAttributeByValue(String name)
Enabled: Get an attribute by value. |
AttributeList |
getAttributes()
Enabled: Get the attributes. |
ContentModel |
getContent()
Enabled: Get content model |
int |
getIndex()
Enabled: Get index. |
String |
getName()
Enabled: Get the name of the element. |
int |
getType()
Enabled: Get type. |
boolean |
isEmpty()
Enabled: Check if empty |
static int |
name2type(String nm)
Enabled: |
boolean |
omitEnd()
Enabled: Return true if the end tag can be omitted. |
boolean |
omitStart()
Enabled: Return true if the start tag can be omitted. |
String |
toString()
Suppressed: Convert to a string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int index
public String name
public boolean oStart
public boolean oEnd
public BitSet inclusions
public BitSet exclusions
public int type
public ContentModel content
public AttributeList atts
static int maxIndex
public Object data
static Hashtable contentTypes
Constructor Detail |
Element()
Element(String name, int index)
Method Detail |
public String getName()
public boolean omitStart()
public boolean omitEnd()
public int getType()
public ContentModel getContent()
public AttributeList getAttributes()
public int getIndex()
public boolean isEmpty()
public String toString()
toString
in class Object
public AttributeList getAttribute(String name)
public AttributeList getAttributeByValue(String name)
public static int name2type(String nm)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |