public static class SurrogateRegexTranslator.WideSingleChar extends SurrogateRegexTranslator.SimpleCharClass
| Constructor | Description |
|---|---|
WideSingleChar(int c) |
Create a character class for a single non-BMP character
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addNonBmpRanges(java.util.List ranges) |
Add to a supplied List, ranges of non-BMP characters that are matched by this character class.
|
int |
getSingleChar() |
If this character class contains a single character, get that character
|
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)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContainsBmp, getContainsNonBmp, outputoutputBmp, outputComplementBmppublic WideSingleChar(int c)
c - the characterpublic void inClassOutputBmp(FastStringBuffer buf)
SurrogateRegexTranslator.SimpleCharClassinClassOutputBmp in class SurrogateRegexTranslator.SimpleCharClassbuf - the supplied bufferpublic int getSingleChar()
SurrogateRegexTranslator.CharClassgetSingleChar in class SurrogateRegexTranslator.CharClasspublic 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