|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.brains2b.util.XmlHelper
XML Helper class provides some currently used functions for dealing with XML files.
| Method Summary | |
static java.lang.String |
decode(java.lang.String s)
decode xml-encoded String to a normal String Decode will take both the symbol and hex coded variant of the encoded String |
static java.lang.String |
encode(java.lang.String s)
encode a given String to an xml-encoded String Encode will code only the symboled (apos,quote,lt,gt,amp) characters |
static boolean |
isWhitespace(char c)
checks if a given character is a whitespace as defined by XML1.0 specifications |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final java.lang.String decode(java.lang.String s)
Decode will take both the symbol and hex coded variant of the encoded String
s - String, xml-encoded String
public static final java.lang.String encode(java.lang.String s)
Encode will code only the symboled (apos,quote,lt,gt,amp) characters
s - String, a normal jva String
public static final boolean isWhitespace(char c)
c -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||