net.sf.saxon.charcode
public class XMLCharacterData extends Object
Field Summary | |
---|---|
static int | MAX_XML11_NAME_CHAR
Maximum code point for a character permitted in an XML 1.1 name |
static byte | NAME_10_MASK
Bit setting to indicate that a character is valid in an XML 1.0 name |
static byte | NAME_11_MASK
Bit setting to indicate that a character is valid in an XML 1.1 name |
static byte | NAME_START_10_MASK
Bit setting to indicate that a character is valid at the start of an XML 1.0 name |
static byte | NAME_START_11_MASK
Bit setting to indicate that a character is valid at the start of an XML 1.1 name |
static byte | VALID_10_MASK
Bit setting to indicate that a character is valid in XML 1.0 |
static byte | VALID_11_MASK
Bit setting to indicate that a character is valid in XML 1.1 |
Method Summary | |
---|---|
static IntRangeSet | getCategory(byte mask)
Get all the characters in a given category, as an integer set. |
static boolean | isNCName10(int i)
Determine whether a character is valid in an NCName in XML 1.0 |
static boolean | isNCName11(int i)
Determine whether a character is valid in an NCName in XML 1.1 |
static boolean | isNCNameStart10(int i)
Determine whether a character is valid at the start of an NCName in XML 1.0 |
static boolean | isNCNameStart11(int i)
Determine whether a character is valid at the start of an NCName in XML 1.1 |
static boolean | isValid10(int i)
Determine whether a character is valid in XML 1.0 |
static boolean | isValid11(int i)
Determine whether a character is valid in XML 1.1 |
Parameters: mask identifies the properties of the required category
Returns: the set of characters in the given category.
Parameters: i the character
Returns: true if the character is valid in an NCName in XML 1.0
Parameters: i the character
Returns: true if the character is valid in an NCName in XML 1.1
Parameters: i the character
Returns: true if the character is valid at the start of an NCName in XML 1.0
Parameters: i the character
Returns: true if the character is valid at the start of an NCName in XML 1.1
Parameters: i the character
Returns: true if the character is valid in XML 1.0
Parameters: i the character
Returns: true if the character is valid in XML 1.1