Package org.daypilot.util
Class Xml
- java.lang.Object
-
- org.daypilot.util.Xml
-
public class Xml extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
HIGHEST_SPECIAL
static char[][]
specialCharactersRepresentation
-
Constructor Summary
Constructors Constructor Description Xml()
-
Method Summary
Modifier and Type Method Description static java.lang.String
escape(char c)
static java.lang.String
escape(java.lang.Character c)
static java.lang.String
escape(java.lang.Object buffer)
static java.lang.String
escape(java.lang.String buffer)
Performs the following substring replacements (to facilitate output to XML/HTML pages): & -> & < -> < > -> > " -> " ' -> ' See also OutSupport.writeEscapedXml().
-
-
-
Field Detail
-
HIGHEST_SPECIAL
public static final int HIGHEST_SPECIAL
- See Also:
- Constant Field Values
-
specialCharactersRepresentation
public static char[][] specialCharactersRepresentation
-
-
Method Detail
-
escape
public static java.lang.String escape(java.lang.Object buffer)
-
escape
public static java.lang.String escape(char c)
-
escape
public static java.lang.String escape(java.lang.Character c)
-
escape
public static java.lang.String escape(java.lang.String buffer)
Performs the following substring replacements (to facilitate output to XML/HTML pages): & -> & < -> < > -> > " -> " ' -> ' See also OutSupport.writeEscapedXml().
-
-