This class provides several XML utility functions.
Static Public Member Functions | |
static SAXParser | createSAXParser () |
Create a SAX parser. | |
static String | escape (String source) |
Escape special characters in the given string. |
static SAXParser createSAXParser | ( | ) | [static] |
Create a SAX parser.
static String escape | ( | String | source | ) | [static] |
Escape special characters in the given string.
This method takes a string and escapes special characters so it can be used as the text content of an element or as an attribute value. For example, the ampersand & becomes &.
source | The string to escape |