public static class SurrogateRegexTranslator.Complement extends SurrogateRegexTranslator.CharClass
| Constructor and Description |
|---|
SurrogateRegexTranslator.Complement(SurrogateRegexTranslator.CharClass cc)
Create a character class representing the complement of another character class
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNonBmpRanges(java.util.List ranges)
Add to a supplied List, ranges of non-BMP characters that are matched by this character class.
|
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 complement of the subset of this character class that's within the BMP, to
a supplied buffer
|
getContainsBmp, getContainsNonBmp, getSingleChar, outputpublic SurrogateRegexTranslator.Complement(SurrogateRegexTranslator.CharClass cc)
cc - the character class of which this is the complementpublic void outputBmp(FastStringBuffer buf)
SurrogateRegexTranslator.CharClassoutputBmp in class SurrogateRegexTranslator.CharClassbuf - the supplied bufferpublic void outputComplementBmp(FastStringBuffer buf)
SurrogateRegexTranslator.CharClassoutputComplementBmp in class SurrogateRegexTranslator.CharClassbuf - the supplied bufferpublic void addNonBmpRanges(java.util.List ranges)
SurrogateRegexTranslator.CharClassaddNonBmpRanges in class SurrogateRegexTranslator.CharClassranges - a List to which this method will add zero or more Range objects denoting ranges
of non-BMP characters