net.sf.saxon.regex
Class SurrogateRegexTranslator.WideSingleChar
java.lang.Object
net.sf.saxon.regex.SurrogateRegexTranslator.SimpleCharClass
net.sf.saxon.regex.SurrogateRegexTranslator.WideSingleChar
- Enclosing class:
- SurrogateRegexTranslator
public static class SurrogateRegexTranslator.WideSingleChar
- extends SurrogateRegexTranslator.SimpleCharClass
Character class that matches a single specific character outside the BMP
SurrogateRegexTranslator.WideSingleChar
public SurrogateRegexTranslator.WideSingleChar(int c)
inClassOutputBmp
public void inClassOutputBmp(FastStringBuffer buf)
- Specified by:
inClassOutputBmp
in class SurrogateRegexTranslator.SimpleCharClass
getSingleChar
public int getSingleChar()
- If this character class contains a single character, get that character
- Returns:
- the single character matched by this character class, or -1 if it matches multiple characters
addNonBmpRanges
public void addNonBmpRanges(List ranges)
- Add ranges of non-BMP characters that are matched by this character class. Default
implementation does nothing.
Copyright (C) Michael H. Kay. All rights reserved.