|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.regex.SurrogateRegexTranslator.CharClass
protected abstract static class SurrogateRegexTranslator.CharClass
Object representing a character class
Constructor Summary | |
---|---|
protected |
SurrogateRegexTranslator.CharClass(int containsBmp,
int containsNonBmp)
Create a character class |
Method Summary | |
---|---|
void |
addNonBmpRanges(java.util.List ranges)
Add to a supplied List, ranges of non-BMP characters that are matched by this character class. |
int |
getContainsBmp()
Determine whether this character class contains NONE, SOME, or ALL of the BMP characters |
int |
getContainsNonBmp()
Determine whether this character class contains NONE, SOME, or ALL of the non-BMP characters |
int |
getSingleChar()
If this character class contains a single character, get that character |
void |
output(FastStringBuffer buf)
Output a representation of this character class to the supplied buffer |
abstract void |
outputBmp(FastStringBuffer buf)
Output a representation of the subset of this character class that's within the BMP, to a supplied buffer |
abstract void |
outputComplementBmp(FastStringBuffer buf)
Output a representation of the complement of the subset of this character class that's within the BMP, to a supplied buffer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SurrogateRegexTranslator.CharClass(int containsBmp, int containsNonBmp)
containsBmp
- NONE, SOME, or ALL, depending on whether the character class contains all
the BMP characters, some of the BMP characters, or none of the BMP characterscontainsNonBmp
- NONE, SOME, or ALL, depending on whether the character class contains all
the non-BMP characters, some of the non-BMP characters, or none of the non-BMP charactersMethod Detail |
---|
public int getContainsBmp()
public int getContainsNonBmp()
public final void output(FastStringBuffer buf)
buf
- the supplied bufferpublic abstract void outputBmp(FastStringBuffer buf)
buf
- the supplied bufferpublic abstract void outputComplementBmp(FastStringBuffer buf)
buf
- the supplied bufferpublic int getSingleChar()
public void addNonBmpRanges(java.util.List ranges)
ranges
- a List to which this method will add zero or more Range objects denoting ranges
of non-BMP characters
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |