Package net.sf.saxon.regex
Class SurrogateRegexTranslator.BackReference
java.lang.Object
net.sf.saxon.regex.SurrogateRegexTranslator.CharClass
net.sf.saxon.regex.SurrogateRegexTranslator.BackReference
- Enclosing class:
- SurrogateRegexTranslator
public static class SurrogateRegexTranslator.BackReference
extends SurrogateRegexTranslator.CharClass
Character class representing a back-reference.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Output a representation of the subset of this character class that's within the BMP, to a supplied buffervoid
Output a representation of the complement of the subset of this character class that's within the BMP, to a supplied bufferMethods inherited from class net.sf.saxon.regex.SurrogateRegexTranslator.CharClass
addNonBmpRanges, getContainsBmp, getContainsNonBmp, getSingleChar, output
-
Constructor Details
-
BackReference
public BackReference(int i) Create a character class representing a back reference- Parameters:
i
- the subexpression to which this is a backreference
-
-
Method Details
-
outputBmp
Description copied from class:SurrogateRegexTranslator.CharClass
Output a representation of the subset of this character class that's within the BMP, to a supplied buffer- Specified by:
outputBmp
in classSurrogateRegexTranslator.CharClass
- Parameters:
buf
- the supplied buffer
-
outputComplementBmp
Description copied from class:SurrogateRegexTranslator.CharClass
Output a representation of the complement of the subset of this character class that's within the BMP, to a supplied buffer- Specified by:
outputComplementBmp
in classSurrogateRegexTranslator.CharClass
- Parameters:
buf
- the supplied buffer
-