|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ercp.xml.parser.CharDecoder
public class CharDecoder
Decodes special XML characters like: < & > ' " nnnn; Unicode character in decimal nnnn; Unicode character in hexadecimal
Constructor Summary | |
---|---|
CharDecoder()
Constructor |
Method Summary | |
---|---|
static CharDecoder |
forXml()
Return a new CharDecoder with the predefined entities |
java.lang.String |
getCharValue(java.lang.String name)
Return the character associated to the name if it exists, else return null. |
java.util.Hashtable |
getTable()
Return a copy of the current character table. |
static CharDecoder |
htmlCharacters()
Set a CharDecoder with the main HTML characters id |
void |
setCharValue(java.lang.String name,
java.lang.String value)
Set the key-value decoding association |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharDecoder()
Method Detail |
---|
public java.lang.String getCharValue(java.lang.String name)
public java.util.Hashtable getTable()
public static CharDecoder forXml()
public static CharDecoder htmlCharacters()
public void setCharValue(java.lang.String name, java.lang.String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |