|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.libraries.xmlns.writer.CharacterEntityParser
public class CharacterEntityParser
The character entity parser replaces all known occurrences of an entity in the format &entityname;.
| Constructor Summary | |
|---|---|
CharacterEntityParser(java.util.HashMap characterEntities)
Creates a new CharacterEntityParser and initializes the parser with the given set of entities. |
|
CharacterEntityParser(java.util.Properties characterEntities)
Creates a new CharacterEntityParser and initializes the parser with the given set of entities. |
|
| Method Summary | |
|---|---|
static CharacterEntityParser |
createXMLEntityParser()
create a new Character entity parser and initializes the parser with the entities defined in the XML standard. |
java.lang.String |
decodeEntities(java.lang.String value)
Decode the string, all known entities are replaced by their resolved characters. |
java.lang.String |
encodeEntities(java.lang.String value)
Encode the given String, so that all known entites are encoded. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CharacterEntityParser(java.util.Properties characterEntities)
characterEntities - the entities used for the parserpublic CharacterEntityParser(java.util.HashMap characterEntities)
characterEntities - the entities used for the parser| Method Detail |
|---|
public static CharacterEntityParser createXMLEntityParser()
public java.lang.String encodeEntities(java.lang.String value)
value - the original string
public java.lang.String decodeEntities(java.lang.String value)
value - the string that should be decoded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||