All Packages Class Hierarchy This Package Previous Next Index
Class com.openly.util.Escaper
com.openly.util.Escaper
- public class Escaper
- extends java.lang.Object
A class to escape strings to prepare for a webpage or xml parser. Miles Poindexter, Openly Informatics, miles@openly.com

-
HTML -
-
XML -

-
Escaper() -

-
addEscapeChar(String, String, int) -
-
descape(String) - replace xml numeric and built-in entities with their Unicode equivalents (ü -> ü) 5/9/2002-esh
-
HTMLescape(String) -
-
main(String[]) -
-
PARAMescape(String) -
-
PARAMunescape(String) -
-
XMLescape(String) - replace unicode characters with xml numeric and built-in entities (ü -> ü) 5/9/2002-esh

HTML public static final int HTML
XML public static final int XML

Escaper public Escaper()

addEscapeChar public static void addEscapeChar(java.lang.String u, java.lang.String e, int where)
- Parameters:
- the - unencoded String
- the - string to encode it with
HTMLescape public static java.lang.String HTMLescape(java.lang.String s)
PARAMescape public static java.lang.String PARAMescape(java.lang.String s)
PARAMunescape public static java.lang.String PARAMunescape(java.lang.String s)
XMLescape public static java.lang.String XMLescape(java.lang.String string)
- replace unicode characters with xml numeric and built-in entities (ü -> ü) 5/9/2002-esh
descape public static java.lang.String descape(java.lang.String s)
- replace xml numeric and built-in entities with their Unicode equivalents (ü -> ü) 5/9/2002-esh
main public static void main(java.lang.String params[])
All Packages Class Hierarchy This Package Previous Next Index