org.pentaho.reporting.libraries.xmlns.writer

Class HtmlCharacterEntities

public class HtmlCharacterEntities extends Properties

A collection of all character entites defined in the HTML4 standard. The key is the entity name, the property value is the decoded string.

Author: Thomas Morgner

Constructor Summary
HtmlCharacterEntities()
Creates an instance.
Method Summary
static CharacterEntityParsergetEntityParser()
Gets the character entity parser for HTML content.

Constructor Detail

HtmlCharacterEntities

public HtmlCharacterEntities()
Creates an instance.

Method Detail

getEntityParser

public static CharacterEntityParser getEntityParser()
Gets the character entity parser for HTML content. The CharacterEntity parser translates known characters into predefined entities.

Returns: the character entity parser instance.