|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.w3c.tidy.EntityTable
Entity hash table.
Field Summary | |
private static EntityTable |
defaultEntityTable
the default entity table. |
private static Entity[] |
entities
Known entities. |
private java.util.Map |
entityHashtable
Entity map. |
Constructor Summary | |
private |
EntityTable()
use getDefaultEntityTable to get an entity table instance. |
Method Summary | |
int |
entityCode(java.lang.String name)
Returns the entity code for the given entity name. |
java.lang.String |
entityName(short code)
Returns the entity name for the given entity code. |
static EntityTable |
getDefaultEntityTable()
Returns the default entity table instance. |
private Entity |
install(Entity ent)
installs an entity. |
Entity |
lookup(java.lang.String name)
Lookup an entity by its name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static EntityTable defaultEntityTable
private static Entity[] entities
private java.util.Map entityHashtable
Constructor Detail |
private EntityTable()
Method Detail |
private Entity install(Entity ent)
ent
- entity
public Entity lookup(java.lang.String name)
name
- entity name
public int entityCode(java.lang.String name)
name
- entity name
public java.lang.String entityName(short code)
code
- entity code
public static EntityTable getDefaultEntityTable()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |