Package de.pdark.decentxml
Class XMLUtils
java.lang.Object
de.pdark.decentxml.XMLUtils
Utility methods when working with XML.
- Since:
- 1.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
escapeXMLText
(String text) Escape '<', '>' and '&'static boolean
isAttribute
(Node n) static boolean
static boolean
static boolean
static boolean
static boolean
static String
Unescape '<', '>', '&', '"' and '''static String
unescapeXMLText
(String text) Unescape '<', '>' and '&'
-
Constructor Details
-
XMLUtils
public XMLUtils()
-
-
Method Details
-
escapeXMLText
Escape '<', '>' and '&' -
unescapeXMLText
Unescape '<', '>' and '&' -
unescapeXMLAttributeValue
Unescape '<', '>', '&', '"' and ''' -
isElement
-
isElementType
-
isAttribute
-
isAttributeType
-
isText
-
isTextType
-