|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjd.xml.util.XmlUtil
A collection of xml related utility methods.
Field Summary | |
static String |
XINCLUDE_NAMESPACE_URI
The XInclude namespace URI. |
static String |
XML_NAMESPACE_URI
The XML namespace URI. |
static String |
XMLNS_NAMESPACE_URI
The XMLNS namespace URI. |
static String |
XSLT_NAMESPACE_URI
The XSLT namespace URI. |
Constructor Summary | |
XmlUtil()
|
Method Summary | |
static String |
getLocalPart(String name)
Return the local part of an element name. |
static Hashtable |
getPiPseudoAttributes(String piData)
Parse the data of a processing instruction into name-value pairs. |
static String |
getPrefix(String name)
Return the prefix of an element name or null if does not have one. |
static boolean |
isNCName(String s)
Test if the string is a valid NCName. |
static boolean |
isNCNameChar(char c)
Test if the character is a valid character of a NCName. |
static boolean |
isNCNameStartChar(char c)
Test if the character is a valid start character of a NCName. |
static boolean |
isQName(String s)
Test if the string is a valid QName. |
static boolean |
isWhitespace(char c)
Test if a character is a whitespace character (i.e. |
static boolean |
isWhitespaceString(char[] chars,
int start,
int length)
Test if a string contains only whitespace characters (i.e. |
static boolean |
isWhitespaceString(String s)
Test if a string contains only whitespace characters (i.e. |
static boolean |
startsSurrogatePair(char c)
Test if a character is the first of a unicode surrogate pair. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String XML_NAMESPACE_URI
public static final String XMLNS_NAMESPACE_URI
public static final String XSLT_NAMESPACE_URI
public static final String XINCLUDE_NAMESPACE_URI
Constructor Detail |
public XmlUtil()
Method Detail |
public static boolean isWhitespaceString(String s)
public static boolean isWhitespaceString(char[] chars, int start, int length)
public static boolean isWhitespace(char c)
public static boolean startsSurrogatePair(char c)
public static boolean isNCNameStartChar(char c)
public static boolean isNCNameChar(char c)
public static boolean isNCName(String s)
public static boolean isQName(String s)
public static String getLocalPart(String name)
public static String getPrefix(String name)
public static Hashtable getPiPseudoAttributes(String piData)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |