org.exolab.adaptx.xml
public class XMLUtil extends Object
Field Summary | |
---|---|
static String | EMPTY_STRING |
static char | LOCAL_SEP |
static char | NAME_SPACE_SEP |
static String | XMLNS |
Method Summary | |
---|---|
static Locale | getLocale(String xmlLang)
Creates a new Locale base on the value of the lang attribute |
static String | getLocalPart(String qName)
Returns the local part of the qualified XML name |
static String | getNameSpacePrefix(String qName)
Returns the namespace part of the qualified XML name |
static boolean | isWhitespace(String text)
Returns true if the given String contains only whitespace
characters |
static boolean | isWhitespace(char[] chars, int start, int length)
Returns true if the given String contains only whitespace
characters |
Parameters: lang the lang attribute to use when creating a Locale
Returns: the Local base on the lang attribute
Parameters: qName the qualified XML name
Returns: the local part of the qualified XML name
Parameters: qName the qualified XML name
Returns: the namespace part of the qualified XML name
Returns: true if the given String contains only whitespace characters, otherwise false.
Returns: true if the given String contains only whitespace characters, otherwise false.