API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text.html.parser. Element View Source
Author(s)
Arthur van Hoff
Since
Version
1.10, 11/17/05
Serial
Hierarchy
 Object
      Element
Implements
 DTDConstants
 Serializable
Subclasses
Description
publicfinal class Element
  An element as described in a DTD using the ELEMENT construct.
See also:    DTD AttributeList
Constructors
pack-private Element ()
pack-private Element (String name, int index)
Create a new element.
Methods
Hide/Show inherited methods
public AttributeList getAttribute (String name)
Get an attribute by name.
public AttributeList getAttributeByValue (String name)
Get an attribute by value.
public AttributeList getAttributes ()
Get the attributes.
public ContentModel getContent ()
Get content model
public int getIndex ()
Get index.
public String getName ()
Get the name of the element.
public int getType ()
Get type.
public boolean isEmpty ()
Check if empty
publicstatic int name2type (String nm)
public boolean omitEnd ()
Return true if the end tag can be omitted.
public boolean omitStart ()
Return true if the start tag can be omitted.
public String toString ()
Convert to a string.
Fields
Hide/Show inherited fields
publicfinalstatic int ANY = "19" [Inherited From DTDConstants]
public AttributeList atts
publicfinalstatic int CDATA = "1" [Inherited From DTDConstants]
publicfinalstatic int CONREF = "4" [Inherited From DTDConstants]
public ContentModel content
pack-privatestatic Hashtable contentTypes
publicfinalstatic int CURRENT = "3" [Inherited From DTDConstants]
public Object data
  A field to store user data.
publicfinalstatic int DEFAULT = "131072" [Inherited From DTDConstants]
publicfinalstatic int EMPTY = "17" [Inherited From DTDConstants]
publicfinalstatic int ENDTAG = "14" [Inherited From DTDConstants]
publicfinalstatic int ENTITIES = "3" [Inherited From DTDConstants]
publicfinalstatic int ENTITY = "2" [Inherited From DTDConstants]
public BitSet exclusions
publicfinalstatic int FIXED = "1" [Inherited From DTDConstants]
publicfinalstatic int GENERAL = "65536" [Inherited From DTDConstants]
publicfinalstatic int ID = "4" [Inherited From DTDConstants]
publicfinalstatic int IDREF = "5" [Inherited From DTDConstants]
publicfinalstatic int IDREFS = "6" [Inherited From DTDConstants]
publicfinalstatic int IMPLIED = "5" [Inherited From DTDConstants]
public BitSet inclusions
public int index
pack-privatestatic int maxIndex
publicfinalstatic int MD = "16" [Inherited From DTDConstants]
publicfinalstatic int MODEL = "18" [Inherited From DTDConstants]
publicfinalstatic int MS = "15" [Inherited From DTDConstants]
public String name
publicfinalstatic int NAME = "7" [Inherited From DTDConstants]
publicfinalstatic int NAMES = "8" [Inherited From DTDConstants]
publicfinalstatic int NMTOKEN = "9" [Inherited From DTDConstants]
publicfinalstatic int NMTOKENS = "10" [Inherited From DTDConstants]
publicfinalstatic int NOTATION = "11" [Inherited From DTDConstants]
publicfinalstatic int NUMBER = "12" [Inherited From DTDConstants]
publicfinalstatic int NUMBERS = "13" [Inherited From DTDConstants]
publicfinalstatic int NUTOKEN = "14" [Inherited From DTDConstants]
publicfinalstatic int NUTOKENS = "15" [Inherited From DTDConstants]
public boolean oEnd
public boolean oStart
publicfinalstatic int PARAMETER = "262144" [Inherited From DTDConstants]
publicfinalstatic int PI = "12" [Inherited From DTDConstants]
publicfinalstatic int PUBLIC = "10" [Inherited From DTDConstants]
publicfinalstatic int RCDATA = "16" [Inherited From DTDConstants]
publicfinalstatic int REQUIRED = "2" [Inherited From DTDConstants]
publicfinalstatic int SDATA = "11" [Inherited From DTDConstants]
publicfinalstatic int STARTTAG = "13" [Inherited From DTDConstants]
publicfinalstatic int SYSTEM = "17" [Inherited From DTDConstants]
public int type
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar