| java.lang.Object org.jfree.report.util.CharacterEntityParser
CharacterEntityParser | public class CharacterEntityParser (Code) | | The character entity parser replaces all known occurrences of an entity in the format
&entityname;.
author: Thomas Morgner |
Constructor Summary | |
public | CharacterEntityParser(Properties characterEntities) Creates a new CharacterEntityParser and initializes the parser with the given set of
entities. |
CharacterEntityParser | public CharacterEntityParser(Properties characterEntities)(Code) | | Creates a new CharacterEntityParser and initializes the parser with the given set of
entities.
Parameters: characterEntities - the entities used for the parser |
createXMLEntityParser | public static CharacterEntityParser createXMLEntityParser()(Code) | | create a new Character entity parser and initializes the parser with the entities
defined in the XML standard.
the CharacterEntityParser initialized with XML entities. |
decodeEntities | public String decodeEntities(String value)(Code) | | Decode the string, all known entities are replaced by their resolved characters.
Parameters: value - the string that should be decoded. the decoded string. |
encodeEntities | public String encodeEntities(String value)(Code) | | Encode the given String, so that all known entites are encoded. All characters
represented by these entites are now removed from the string.
Parameters: value - the original string the encoded string. |
|
|