| |
|
| java.lang.Object org.w3c.tidy.EntityTable
EntityTable | final public class EntityTable (Code) | | Entity hash table.
author: Dave Raggett dsr@w3.org author: Andy Quick ac.quick@sympatico.ca (translation to Java) author: Fabrizio Giustina version: $Revision: 1.10 $ ($Author: fgiust $) |
entityCode | public int entityCode(String name)(Code) | | Returns the entity code for the given entity name.
Parameters: name - entity name entity code or 0 for unknown entity names |
entityName | public String entityName(short code)(Code) | | Returns the entity name for the given entity code.
Parameters: code - entity code entity name or null for unknown entity codes |
getDefaultEntityTable | public static EntityTable getDefaultEntityTable()(Code) | | Returns the default entity table instance.
entity table instance |
lookup | public Entity lookup(String name)(Code) | | Lookup an entity by its name.
Parameters: name - entity name entity |
|
|
|