|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ramapuram.thomas.webapp.jsp.EscapeXml
public class EscapeXml
Handles escaping of characters that could be interpreted as XML markup.
The specification for <c:out> defines the following
character conversions to be applied:
| Character | Character Entity Code |
|---|---|
| < | < |
| > | > |
| & | & |
| ' | ' |
| " | " |
| Constructor Summary | |
|---|---|
EscapeXml()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
escape(java.lang.String src)
Escape a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EscapeXml()
| Method Detail |
|---|
public static java.lang.String escape(java.lang.String src)
src - the string to escape; must not be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||