SurrogateRegexTranslator.CharRange
, SurrogateRegexTranslator.Empty
, SurrogateRegexTranslator.Property
, SurrogateRegexTranslator.SingleChar
, SurrogateRegexTranslator.WideSingleChar
public abstract static class SurrogateRegexTranslator.SimpleCharClass extends SurrogateRegexTranslator.CharClass
Constructor | Description |
---|---|
SimpleCharClass(int containsBmp,
int containsNonBmp) |
Create a SimpleCharClass
|
Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addNonBmpRanges, getContainsBmp, getContainsNonBmp, getSingleChar, output
public 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.CharClass
buf
- the supplied bufferpublic void outputComplementBmp(FastStringBuffer buf)
outputComplementBmp
in class SurrogateRegexTranslator.CharClass
buf
- the supplied bufferpublic abstract void inClassOutputBmp(FastStringBuffer buf)
buf
- the supplied buffer