public abstract static class SurrogateRegexTranslator.SimpleCharClass extends SurrogateRegexTranslator.CharClass
| Constructor and Description |
|---|
SurrogateRegexTranslator.SimpleCharClass(int containsBmp,
int containsNonBmp)
Create a SimpleCharClass
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addNonBmpRanges, getContainsBmp, getContainsNonBmp, getSingleChar, outputpublic SurrogateRegexTranslator.SimpleCharClass(int containsBmp,
int containsNonBmp)
containsBmp - true if the class includes BMP characterscontainsNonBmp - true if the class includes non-BMP characterspublic void outputBmp(FastStringBuffer buf)
outputBmp in class SurrogateRegexTranslator.CharClassbuf - the supplied bufferpublic void outputComplementBmp(FastStringBuffer buf)
outputComplementBmp in class SurrogateRegexTranslator.CharClassbuf - the supplied bufferpublic abstract void inClassOutputBmp(FastStringBuffer buf)
buf - the supplied buffer