Class HtmlCharacterEntities
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- org.pentaho.reporting.libraries.xmlns.writer.HtmlCharacterEntities
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,Object>
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
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description HtmlCharacterEntities()
Creates an instance.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CharacterEntityParser
getEntityParser()
Gets the character entity parser for HTML content.-
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
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.
-
-