|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--javax.swing.text.html.parser.Entity
An entity in as described in a DTD using the ENTITY construct. It defines the type and value of the the entity.
DTD| Field Summary | |
char[] |
data
|
String |
name
|
int |
type
|
| 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 | |
Entity(String name,
int type,
char[] data)
Create an entity. |
|
| Method Summary | |
char[] |
getData()
Return the data. |
String |
getName()
Get the name of the entity. |
String |
getString()
Return the data as a string. |
int |
getType()
Get the type of the entity. |
boolean |
isGeneral()
Return true if it is a parameter entity. |
boolean |
isParameter()
Return true if it is a parameter entity. |
static int |
name2type(String nm)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public String name
public int type
public char[] data
| Constructor Detail |
public Entity(String name,
int type,
char[] data)
| Method Detail |
public String getName()
public int getType()
public boolean isParameter()
public boolean isGeneral()
public char[] getData()
public String getString()
public static int name2type(String nm)
|
JavaTM 2 Platform Standard Edition |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||