public class XMLUtils extends Object
Constructor and Description |
---|
XMLUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
escapeXMLText(String text)
Escape '<', '>' and '&'
|
static boolean |
isAttribute(Node n) |
static boolean |
isAttributeType(XMLTokenizer.Type t) |
static boolean |
isElement(Node n) |
static boolean |
isElementType(XMLTokenizer.Type t) |
static boolean |
isText(Node n) |
static boolean |
isTextType(XMLTokenizer.Type t) |
static String |
unescapeXMLAttributeValue(String text)
Unescape '<', '>', '&', '"' and '''
|
static String |
unescapeXMLText(String text)
Unescape '<', '>' and '&'
|
public static String unescapeXMLAttributeValue(String text)
public static boolean isElement(Node n)
public static boolean isElementType(XMLTokenizer.Type t)
public static boolean isAttribute(Node n)
public static boolean isAttributeType(XMLTokenizer.Type t)
public static boolean isText(Node n)
public static boolean isTextType(XMLTokenizer.Type t)
Copyright © 2008–2014. All rights reserved.