Package net.sf.saxon.regex
Class SurrogateRegexTranslator.Property
java.lang.Object
net.sf.saxon.regex.SurrogateRegexTranslator.CharClass
net.sf.saxon.regex.SurrogateRegexTranslator.SimpleCharClass
net.sf.saxon.regex.SurrogateRegexTranslator.Property
- Enclosing class:
SurrogateRegexTranslator
public static class SurrogateRegexTranslator.Property
extends SurrogateRegexTranslator.SimpleCharClass
Character class containing characters that share a given Unicode property
-
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 buffer, using regex syntax that will be valid within a character class expression (that is, within square brackets)voidOutput a representation of the subset of this character class that's within the BMP, to a supplied buffervoidOutput a representation of the subset of this character class that's outwith the BMP, to a supplied buffer.Methods inherited from class net.sf.saxon.regex.SurrogateRegexTranslator.CharClass
addNonBmpRanges, getContainsBmp, getContainsNonBmp, getSingleChar, output
-
Constructor Details
-
Property
Create a character class for a named property- Parameters:
name- the name of the property
-
-
Method Details
-
outputBmp
Description copied from class:SurrogateRegexTranslator.SimpleCharClassOutput a representation of the subset of this character class that's within the BMP, to a supplied buffer- Overrides:
outputBmpin classSurrogateRegexTranslator.SimpleCharClass- Parameters:
buf- the supplied buffer
-
inClassOutputBmp
Description copied from class:SurrogateRegexTranslator.SimpleCharClassOutput 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)- Specified by:
inClassOutputBmpin classSurrogateRegexTranslator.SimpleCharClass- Parameters:
buf- the supplied buffer
-
outputComplementBmp
Description copied from class:SurrogateRegexTranslator.SimpleCharClassOutput a representation of the subset of this character class that's outwith the BMP, to a supplied buffer. Must not call if containsBmp == ALL- Overrides:
outputComplementBmpin classSurrogateRegexTranslator.SimpleCharClass- Parameters:
buf- the supplied buffer
-