org.enhydra.apache.xerces.utils.regex
Class Token.UnionToken

java.lang.Object
  |
  +--org.enhydra.apache.xerces.utils.regex.Token
        |
        +--org.enhydra.apache.xerces.utils.regex.Token.UnionToken
All Implemented Interfaces:
Serializable
Enclosing class:
Token

static class Token.UnionToken
extends Token
implements Serializable

This class represents a node in parse tree. for UNION or CONCAT.

See Also:
Serialized Form

Inner classes inherited from class org.enhydra.apache.xerces.utils.regex.Token
Token.CharToken, Token.ClosureToken, Token.ConcatToken, Token.ConditionToken, Token.FixedStringContainer, Token.ModifierToken, Token.ParenToken, Token.StringToken, Token.UnionToken
 
Field Summary
(package private)  Vector children
           
 
Fields inherited from class org.enhydra.apache.xerces.utils.regex.Token
ANCHOR, BACKREFERENCE, blockNames, blockRanges, categories, categories2, categoryNames, CHAR, CHAR_FINAL_QUOTE, CHAR_INIT_QUOTE, CHAR_LETTER, CHAR_MARK, CHAR_NUMBER, CHAR_OTHER, CHAR_PUNCTUATION, CHAR_SEPARATOR, CHAR_SYMBOL, CLOSURE, CONCAT, CONDITION, COUNTTOKENS, DOT, EMPTY, FC_ANY, FC_CONTINUE, FC_TERMINAL, INDEPENDENT, LOOKAHEAD, LOOKBEHIND, MODIFIERGROUP, NEGATIVELOOKAHEAD, NEGATIVELOOKBEHIND, NONGREEDYCLOSURE, NRANGE, PAREN, RANGE, STRING, token_0to9, token_dot, token_empty, token_linebeginning, token_linebeginning2, token_lineend, token_not_0to9, token_not_spaces, token_not_wordchars, token_not_wordedge, token_spaces, token_stringbeginning, token_stringend, token_stringend2, token_wordbeginning, token_wordchars, token_wordedge, token_wordend, tokens, type, UNION, UTF16_MAX, viramaString
 
Constructor Summary
(package private) Token.UnionToken(int type)
           
 
Method Summary
(package private)  void addChild(Token tok)
           
(package private)  Token getChild(int index)
           
(package private)  int size()
          A number of children.
 String toString(int options)
           
 
Methods inherited from class org.enhydra.apache.xerces.utils.regex.Token
, addRange, analyzeFirstCharacter, compactRanges, complementRanges, createBackReference, createChar, createClosure, createConcat, createConcat, createCondition, createEmpty, createLook, createModifierGroup, createNGClosure, createNRange, createParen, createRange, createString, createUnion, findFixedString, getChar, getCombiningCharacterSequence, getGraphemePattern, getMax, getMaxLength, getMin, getMinLength, getParenNumber, getRange, getReferenceNumber, getString, intersectRanges, match, mergeRanges, setMax, setMin, sortRanges, subtractRanges, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

children

Vector children
Constructor Detail

Token.UnionToken

Token.UnionToken(int type)
Method Detail

addChild

void addChild(Token tok)
Overrides:
addChild in class Token

size

int size()
Description copied from class: Token
A number of children.
Overrides:
size in class Token

getChild

Token getChild(int index)
Overrides:
getChild in class Token

toString

public String toString(int options)
Overrides:
toString in class Token


Copyright © 1999 The Apache Software Foundation. All Rights reserved.