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, output
public SurrogateRegexTranslator.Complement(SurrogateRegexTranslator.CharClass cc)
cc
- the character class of which this is the complementpublic void outputBmp(FastStringBuffer buf)
SurrogateRegexTranslator.CharClass
outputBmp
in class SurrogateRegexTranslator.CharClass
buf
- the supplied bufferpublic void outputComplementBmp(FastStringBuffer buf)
SurrogateRegexTranslator.CharClass
outputComplementBmp
in class SurrogateRegexTranslator.CharClass
buf
- the supplied bufferpublic void addNonBmpRanges(java.util.List ranges)
SurrogateRegexTranslator.CharClass
addNonBmpRanges
in class SurrogateRegexTranslator.CharClass
ranges
- a List to which this method will add zero or more Range objects denoting ranges
of non-BMP characters