|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectumich.cac.util.EntityEncoding
Class that encodes XML charachter entities such as >, <, ', ", and &.
Example:
String reservedChars = "foo&bar"; String result = EntityEncoding.encode(reserverdChars);The result would be "foo&bar"
| Constructor Summary | |
EntityEncoding()
|
|
| Method Summary | |
static java.lang.String |
encode(java.lang.String sourceString)
Automatically strip XML reserved charachters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EntityEncoding()
| Method Detail |
public static java.lang.String encode(java.lang.String sourceString)
sourceString - string with possible XML reserved charachters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||