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, wait
addNonBmpRanges, getContainsBmp, getContainsNonBmp, output
outputComplementBmp
public SingleChar(char c)
c
- the characterpublic int getSingleChar()
getSingleChar
in class SurrogateRegexTranslator.CharClass
public void outputBmp(FastStringBuffer buf)
outputBmp
in class SurrogateRegexTranslator.SimpleCharClass
buf
- the supplied bufferpublic void inClassOutputBmp(FastStringBuffer buf)
SurrogateRegexTranslator.SimpleCharClass
inClassOutputBmp
in class SurrogateRegexTranslator.SimpleCharClass
buf
- the supplied buffer