|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.utils.XMLCharacterRecognizer
public class XMLCharacterRecognizer
Class used to verify whether the specified ch conforms to the XML 1.0 definition of whitespace.
Constructor Summary | |
---|---|
XMLCharacterRecognizer()
|
Method Summary | |
---|---|
static boolean |
isWhiteSpace(char ch)
Returns whether the specified ch conforms to the XML 1.0 definition of whitespace. |
static boolean |
isWhiteSpace(char[] ch,
int start,
int length)
Tell if the string is whitespace. |
static boolean |
isWhiteSpace(java.lang.String s)
Tell if the string is whitespace. |
static boolean |
isWhiteSpace(java.lang.StringBuffer buf)
Tell if the string is whitespace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLCharacterRecognizer()
Method Detail |
---|
public static boolean isWhiteSpace(char ch)
S
for details.
ch
- Character to check as XML whitespace.
public static boolean isWhiteSpace(char[] ch, int start, int length)
ch
- Character array to check as XML whitespace.start
- Start index of characters in the arraylength
- Number of characters in the array
public static boolean isWhiteSpace(java.lang.StringBuffer buf)
buf
- StringBuffer to check as XML whitespace.
public static boolean isWhiteSpace(java.lang.String s)
s
- String to check as XML whitespace.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |