| java.lang.Object org.apache.xml.utils.XMLCharacterRecognizer
XMLCharacterRecognizer | public class XMLCharacterRecognizer (Code) | | Class used to verify whether the specified ch
conforms to the XML 1.0 definition of whitespace.
|
Method Summary | |
public static boolean | isWhiteSpace(char ch) Returns whether the specified ch conforms to the XML 1.0 definition
of whitespace. | public static boolean | isWhiteSpace(char ch, int start, int length) Tell if the string is whitespace. | public static boolean | isWhiteSpace(StringBuffer buf) Tell if the string is whitespace.
Parameters: buf - StringBuffer to check as XML whitespace. | public static boolean | isWhiteSpace(String s) Tell if the string is whitespace.
Parameters: s - String to check as XML whitespace. |
isWhiteSpace | public static boolean isWhiteSpace(char ch)(Code) | | Returns whether the specified ch conforms to the XML 1.0 definition
of whitespace. Refer to
the definition of S for details.
Parameters: ch - Character to check as XML whitespace. =true if ch is XML whitespace; otherwise =false. |
isWhiteSpace | public static boolean isWhiteSpace(char ch, int start, int length)(Code) | | Tell if the string is whitespace.
Parameters: ch - Character array to check as XML whitespace. Parameters: start - Start index of characters in the array Parameters: length - Number of characters in the array True if the characters in the array are XML whitespace; otherwise, false. |
isWhiteSpace | public static boolean isWhiteSpace(StringBuffer buf)(Code) | | Tell if the string is whitespace.
Parameters: buf - StringBuffer to check as XML whitespace. True if characters in buffer are XML whitespace, false otherwise |
isWhiteSpace | public static boolean isWhiteSpace(String s)(Code) | | Tell if the string is whitespace.
Parameters: s - String to check as XML whitespace. True if characters in buffer are XML whitespace, false otherwise |
|
|