public class XMLCharacterRecognizer extends Object
Constructor and Description |
---|
XMLCharacterRecognizer() |
Modifier and Type | Method and Description |
---|---|
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(String s)
Tell if the string is whitespace.
|
static boolean |
isWhiteSpace(StringBuffer buf)
Tell if the string is whitespace.
|
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 arraypublic static boolean isWhiteSpace(StringBuffer buf)
buf
- StringBuffer to check as XML whitespace.public static boolean isWhiteSpace(String s)
s
- String to check as XML whitespace.Copyright © 2019 JBoss by Red Hat. All rights reserved.