public static class SurrogateRegexTranslator.Property extends SurrogateRegexTranslator.SimpleCharClass
Constructor and Description |
---|
SurrogateRegexTranslator.Property(java.lang.String name)
Create a character class for a named property
|
Modifier and Type | Method and Description |
---|---|
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 the subset of this character class that's within the BMP, to
a supplied buffer
|
void |
outputComplementBmp(FastStringBuffer buf)
Output a representation of the subset of this character class that's outwith the BMP, to
a supplied buffer.
|
addNonBmpRanges, getContainsBmp, getContainsNonBmp, getSingleChar, output
public SurrogateRegexTranslator.Property(java.lang.String name)
name
- the name of the propertypublic void outputBmp(FastStringBuffer buf)
SurrogateRegexTranslator.SimpleCharClass
outputBmp
in class SurrogateRegexTranslator.SimpleCharClass
buf
- the supplied bufferpublic void inClassOutputBmp(FastStringBuffer buf)
SurrogateRegexTranslator.SimpleCharClass
inClassOutputBmp
in class SurrogateRegexTranslator.SimpleCharClass
buf
- the supplied bufferpublic void outputComplementBmp(FastStringBuffer buf)
SurrogateRegexTranslator.SimpleCharClass
outputComplementBmp
in class SurrogateRegexTranslator.SimpleCharClass
buf
- the supplied buffer