net.sf.saxon.regex
Class SurrogateRegexTranslator.Empty

java.lang.Object
  extended by net.sf.saxon.regex.SurrogateRegexTranslator.SimpleCharClass
      extended by net.sf.saxon.regex.SurrogateRegexTranslator.Empty
Enclosing class:
SurrogateRegexTranslator

public static class SurrogateRegexTranslator.Empty
extends SurrogateRegexTranslator.SimpleCharClass

Character class that matches nothing


Method Summary
static SurrogateRegexTranslator.Empty getInstance()
          Return the singular instance of this class
 void inClassOutputBmp(FastStringBuffer buf)
          Output 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)
 
Methods inherited from class net.sf.saxon.regex.SurrogateRegexTranslator.SimpleCharClass
outputBmp, outputComplementBmp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SurrogateRegexTranslator.Empty getInstance()
Return the singular instance of this class

Returns:
the singular instance

inClassOutputBmp

public void inClassOutputBmp(FastStringBuffer buf)
Description copied from class: SurrogateRegexTranslator.SimpleCharClass
Output 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:
inClassOutputBmp in class SurrogateRegexTranslator.SimpleCharClass
Parameters:
buf - the supplied buffer


Copyright (C) Michael H. Kay. All rights reserved.