org.cyberneko.html

Class HTMLEntities

public class HTMLEntities extends Object

Pre-defined HTML entities.

Version: $Id: HTMLEntities.java,v 1.5 2005/02/14 03:56:54 andyc Exp $

Author: Andy Clark

Field Summary
protected static PropertiesENTITIES
Entities.
protected static HTMLEntities.IntPropertiesSEITITNE
Reverse mapping from characters to names.
Method Summary
static intget(String name)
Returns the character associated to the given entity name, or -1 if the name is not known.
static Stringget(int c)
Returns the name associated to the given character or null if the character is not known.

Field Detail

ENTITIES

protected static final Properties ENTITIES
Entities.

SEITITNE

protected static final HTMLEntities.IntProperties SEITITNE
Reverse mapping from characters to names.

Method Detail

get

public static int get(String name)
Returns the character associated to the given entity name, or -1 if the name is not known.

get

public static String get(int c)
Returns the name associated to the given character or null if the character is not known.
(C) Copyright 2002-2005, Andy Clark. All rights reserved.