public static class SurrogateRegexTranslator.SingleChar extends SurrogateRegexTranslator.SimpleCharClass
| Constructor | Description |
|---|---|
SingleChar(char c) |
Create a character class for a single BMP character
|
| Modifier and Type | Method | 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddNonBmpRanges, getContainsBmp, getContainsNonBmp, outputoutputComplementBmppublic 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