org.w3c.tidy
Class EntityTable
public final class EntityTable
extends java.lang.Object
Entity hash table.
$Revision: 622 $ ($Author: fgiust $)
entityCode
public int entityCode(String name)
Returns the entity code for the given entity name.
- entity code or 0 for unknown entity names
entityName
public String entityName(short code)
Returns the entity name for the given entity code.
- entity name or null for unknown entity codes
getDefaultEntityTable
public static EntityTable getDefaultEntityTable()
Returns the default entity table instance.
lookup
public Entity lookup(String name)
Lookup an entity by its name.