API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text.html.parser. Entity View Source
Author(s)
Arthur van Hoff
Since
Version
1.11, 11/17/05
Serial
Hierarchy
 Object
      Entity
Implements
 DTDConstants
Subclasses
Description
publicfinal class Entity
  An entity is described in a DTD using the ENTITY construct.
See also:    DTD
Constructors
public Entity (String name, int type, char[] data)
  Creates an entity.
Methods
Hide/Show inherited methods
public char getData ()
  Returns the data.
public String getName ()
  Gets the name of the entity.
public String getString ()
  Returns the data as a String.
public int getType ()
  Gets the type of the entity.
public boolean isGeneral ()
  Returns true if it is a general entity.
public boolean isParameter ()
  Returns true if it is a parameter entity.
publicstatic int name2type (String nm)
  Converts nm string to the corresponding entity type.
Fields
Hide/Show inherited fields
publicfinalstatic int ANY = "19" [Inherited From DTDConstants]
publicfinalstatic int CDATA = "1" [Inherited From DTDConstants]
publicfinalstatic int CONREF = "4" [Inherited From DTDConstants]
publicfinalstatic int CURRENT = "3" [Inherited From DTDConstants]
public char 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]
pack-privatestatic Hashtable entityTypes
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]
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]
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