net.sf.saxon.regex
Class SurrogateRegexTranslator.SimpleCharClass
- SurrogateRegexTranslator
public static abstract class SurrogateRegexTranslator.SimpleCharClass
Simple Character Class - essentially, anything other than a Union or Subtraction between two
character classes.
SimpleCharClass(int containsBmp, int containsNonBmp) - Create a SimpleCharClass
|
abstract void | inClassOutputBmp(FastStringBuffer buf) - Output a representation of the subset of this character class that's within the BMP, to
a supplied buffer, using regex syntax that will be valid within a character class
expression (that is, within square brackets)
|
void | outputBmp(FastStringBuffer buf) - Output a representation of the subset of this character class that's within the BMP, to
a supplied buffer
|
void | outputComplementBmp(FastStringBuffer buf) - Output a representation of the subset of this character class that's outwith the BMP, to
a supplied buffer.
|
SimpleCharClass
public SimpleCharClass(int containsBmp,
int containsNonBmp)
Create a SimpleCharClass
containsBmp
- true if the class includes BMP characterscontainsNonBmp
- true if the class includes non-BMP characters
inClassOutputBmp
public abstract void inClassOutputBmp(FastStringBuffer buf)
Output a representation of the subset of this character class that's within the BMP, to
a supplied buffer, using regex syntax that will be valid within a character class
expression (that is, within square brackets)
buf
- the supplied buffer