Home » Xerces-J-src.2.9.1 » org.apache.xerces » impl » xpath » regex » [javadoc | source]
org.apache.xerces.impl.xpath.regex
final class: RangeToken [javadoc | source]
java.lang.Object
   org.apache.xerces.impl.xpath.regex.Token
      org.apache.xerces.impl.xpath.regex.RangeToken

All Implemented Interfaces:
    Serializable

This class represents a character class such as [a-z] or a period.
Field Summary
 int[] ranges     
 boolean sorted     
 boolean compacted     
 RangeToken icaseCache     
 int[] map     
 int nonMapIndex     
Fields inherited from org.apache.xerces.impl.xpath.regex.Token:
COUNTTOKENS,  tokens,  CHAR,  DOT,  CONCAT,  UNION,  CLOSURE,  RANGE,  NRANGE,  PAREN,  EMPTY,  ANCHOR,  NONGREEDYCLOSURE,  STRING,  BACKREFERENCE,  LOOKAHEAD,  NEGATIVELOOKAHEAD,  LOOKBEHIND,  NEGATIVELOOKBEHIND,  INDEPENDENT,  MODIFIERGROUP,  CONDITION,  UTF16_MAX,  type,  token_dot,  token_0to9,  token_wordchars,  token_not_0to9,  token_not_wordchars,  token_spaces,  token_not_spaces,  token_empty,  token_linebeginning,  token_linebeginning2,  token_lineend,  token_stringbeginning,  token_stringend,  token_stringend2,  token_wordedge,  token_not_wordedge,  token_wordbeginning,  token_wordend,  FC_CONTINUE,  FC_TERMINAL,  FC_ANY,  CHAR_INIT_QUOTE,  CHAR_FINAL_QUOTE,  CHAR_LETTER,  CHAR_MARK,  CHAR_NUMBER,  CHAR_SEPARATOR,  CHAR_OTHER,  CHAR_PUNCTUATION,  CHAR_SYMBOL,  blockRanges,  nonBMPBlockRanges,  nonxs,  viramaString
Constructor:
 RangeToken(int type) 
Method from org.apache.xerces.impl.xpath.regex.RangeToken Summary:
addRange,   compactRanges,   complementRanges,   dumpRanges,   getCaseInsensitiveToken,   intersectRanges,   match,   mergeRanges,   sortRanges,   subtractRanges,   toString
Methods from org.apache.xerces.impl.xpath.regex.Token:
addChild,   addRange,   analyzeFirstCharacter,   compactRanges,   complementRanges,   createBackReference,   createChar,   createClosure,   createConcat,   createConcat,   createCondition,   createEmpty,   createLook,   createModifierGroup,   createNGClosure,   createNRange,   createParen,   createRange,   createString,   createUnion,   findFixedString,   getChar,   getChild,   getCombiningCharacterSequence,   getGraphemePattern,   getMax,   getMaxLength,   getMin,   getMinLength,   getParenNumber,   getRange,   getRange,   getReferenceNumber,   getString,   intersectRanges,   isRegisterNonXS,   match,   mergeRanges,   registerNonXS,   setMax,   setMin,   size,   sortRanges,   subtractRanges,   toString,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xerces.impl.xpath.regex.RangeToken Detail:
 protected  void addRange(int start,
    int end) 
 protected  void compactRanges() 
    this.ranges is sorted.
 static Token complementRanges(Token token) 
    for RANGE: Creates complement. for NRANGE: Creates the same meaning RANGE.
  void dumpRanges() 
 synchronized RangeToken getCaseInsensitiveToken() 
 protected  void intersectRanges(Token token) 
 boolean match(int ch) 
 protected  void mergeRanges(Token token) 
 protected  void sortRanges() 
 protected  void subtractRanges(Token token) 
 public String toString(int options)