PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

javax.swing.text.html.parser
Class Element

java.lang.Object
 |
 +--javax.swing.text.html.parser.Element
All Implemented Interfaces:
DTDConstants, Serializable

public final class Element
extends Object
implements DTDConstants, Serializable

Untamed:

See Also:
Serialized Form

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

index

public int index
Enabled:


name

public String name
Enabled:


oStart

public boolean oStart
Enabled:


oEnd

public boolean oEnd
Enabled:


inclusions

public BitSet inclusions
Enabled:


exclusions

public BitSet exclusions
Enabled:


type

public int type
Enabled:


content

public ContentModel content
Enabled:


atts

public AttributeList atts
Enabled:


maxIndex

static int maxIndex

data

public Object data
Enabled: A field to store user data. Mostly used to store style sheets.


contentTypes

static Hashtable contentTypes
Constructor Detail

Element

Element()

Element

Element(String name,
 int index)
Create a new element.

Method Detail

getName

public String getName()
Enabled: Get the name of the element.


omitStart

public boolean omitStart()
Enabled: Return true if the start tag can be omitted.


omitEnd

public boolean omitEnd()
Enabled: Return true if the end tag can be omitted.


getType

public int getType()
Enabled: Get type.


getContent

public ContentModel getContent()
Enabled: Get content model


getAttributes

public AttributeList getAttributes()
Enabled: Get the attributes.


getIndex

public int getIndex()
Enabled: Get index.


isEmpty

public boolean isEmpty()
Enabled: Check if empty


toString

public String toString()
Suppressed: Convert to a string.

Overrides:
toString in class Object
Returns:
a string representation of the object.

getAttribute

public AttributeList getAttribute(String name)
Enabled: Get an attribute by name.


getAttributeByValue

public AttributeList getAttributeByValue(String name)
Enabled: Get an attribute by value.


name2type

public static int name2type(String nm)
Enabled:


PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

comments?

AltStyle によって変換されたページ (->オリジナル) /