public static class SurrogateRegexTranslator.SingleChar extends SurrogateRegexTranslator.SimpleCharClass
| Constructor and Description |
|---|
SurrogateRegexTranslator.SingleChar(char c)
Create a character class for a single BMP character
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSingleChar()
Get the character represented by this character class
|
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 this character class to
a supplied buffer @param buf the supplied buffer
|
outputComplementBmpaddNonBmpRanges, getContainsBmp, getContainsNonBmp, outputpublic SurrogateRegexTranslator.SingleChar(char c)
c - the characterpublic int getSingleChar()
getSingleChar in class SurrogateRegexTranslator.CharClasspublic void outputBmp(FastStringBuffer buf)
outputBmp in class SurrogateRegexTranslator.SimpleCharClassbuf - the supplied bufferpublic void inClassOutputBmp(FastStringBuffer buf)
SurrogateRegexTranslator.SimpleCharClassinClassOutputBmp in class SurrogateRegexTranslator.SimpleCharClassbuf - the supplied buffer