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 TypeMethodDescriptionvoidOutput a representation of the subset of this character class that's within the BMP, to a supplied buffervoidOutput 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.CharClassOutput a representation of the subset of this character class that's within the BMP, to a supplied buffer- Specified by:
outputBmpin classSurrogateRegexTranslator.CharClass- Parameters:
buf- the supplied buffer
-
outputComplementBmp
Description copied from class:SurrogateRegexTranslator.CharClassOutput a representation of the complement of the subset of this character class that's within the BMP, to a supplied buffer- Specified by:
outputComplementBmpin classSurrogateRegexTranslator.CharClass- Parameters:
buf- the supplied buffer
-