net.sf.saxon.java
Class JDK14RegexTranslator.Union

java.lang.Object
  extended by net.sf.saxon.regex.SurrogateRegexTranslator.CharClass
      extended by net.sf.saxon.java.JDK14RegexTranslator.Union
Enclosing class:
JDK14RegexTranslator

static class JDK14RegexTranslator.Union
extends SurrogateRegexTranslator.CharClass


Constructor Summary
JDK14RegexTranslator.Union(List members)
           
JDK14RegexTranslator.Union(SurrogateRegexTranslator.CharClass[] v)
           
 
Method Summary
 void addNonBmpRanges(List ranges)
          Add to a supplied List, ranges of non-BMP characters that are matched by this character class.
 void outputBmp(FastStringBuffer buf)
          Output a representation of the subset of this character class that's within the BMP, to a supplied buffer
 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 net.sf.saxon.regex.SurrogateRegexTranslator.CharClass
getContainsBmp, getContainsNonBmp, getSingleChar, output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDK14RegexTranslator.Union

JDK14RegexTranslator.Union(SurrogateRegexTranslator.CharClass[] v)

JDK14RegexTranslator.Union

JDK14RegexTranslator.Union(List members)
Method Detail

outputBmp

public void outputBmp(FastStringBuffer buf)
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 class SurrogateRegexTranslator.CharClass
Parameters:
buf - the supplied buffer

outputComplementBmp

public void outputComplementBmp(FastStringBuffer buf)
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 class SurrogateRegexTranslator.CharClass
Parameters:
buf - the supplied buffer

addNonBmpRanges

public void addNonBmpRanges(List ranges)
Description copied from class: SurrogateRegexTranslator.CharClass
Add to a supplied List, ranges of non-BMP characters that are matched by this character class. Default implementation does nothing.

Overrides:
addNonBmpRanges in class SurrogateRegexTranslator.CharClass
Parameters:
ranges - a List to which this method will add zero or more Range objects denoting ranges of non-BMP characters