public class XMLCharacterRecognizer
extends java.lang.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)
Detects if the string is whitespace.
|
static boolean |
isWhiteSpace(java.lang.CharSequence buf)
Detects if the string is whitespace.
|
static boolean |
isWhiteSpace(java.lang.String s)
Deprecated.
Will be replaced by
isWhiteSpace(CharSequence) in the next major release. |
static boolean |
isWhiteSpace(java.lang.StringBuffer buf)
Deprecated.
Will be replaced by
isWhiteSpace(CharSequence) in the next major release. |
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(java.lang.CharSequence buf)
buf - StringBuffer to check as XML whitespace.@Deprecated public static boolean isWhiteSpace(java.lang.StringBuffer buf)
isWhiteSpace(CharSequence) in the next major release.buf - StringBuffer to check as XML whitespace.@Deprecated public static boolean isWhiteSpace(java.lang.String s)
isWhiteSpace(CharSequence) in the next major release.s - String to check as XML whitespace.Copyright © 2023 Apache XML Project. All Rights Reserved.