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

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

static class Token.ClosureToken
extends Token
implements Serializable

This class represents a node in parse tree.

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)  Token child
           
(package private)  int max
           
(package private)  int min
           
 
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.ClosureToken(int type, Token tok)
           
 
Method Summary
(package private)  Token getChild(int index)
           
(package private)  int getMax()
           
(package private)  int getMin()
           
(package private)  void setMax(int max)
           
(package private)  void setMin(int min)
           
(package private)  int size()
          A number of children.
 String toString(int options)
           
 
Methods inherited from class org.enhydra.apache.xerces.utils.regex.Token
, addChild, addRange, analyzeFirstCharacter, compactRanges, complementRanges, createBackReference, createChar, createClosure, createConcat, createConcat, createCondition, createEmpty, createLook, createModifierGroup, createNGClosure, createNRange, createParen, createRange, createString, createUnion, findFixedString, getChar, getCombiningCharacterSequence, getGraphemePattern, getMaxLength, getMinLength, getParenNumber, getRange, getReferenceNumber, getString, intersectRanges, match, mergeRanges, sortRanges, subtractRanges, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

min

int min

max

int max

child

Token child
Constructor Detail

Token.ClosureToken

Token.ClosureToken(int type,
                   Token tok)
Method Detail

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

setMin

final void setMin(int min)
Overrides:
setMin in class Token

setMax

final void setMax(int max)
Overrides:
setMax in class Token

getMin

final int getMin()
Overrides:
getMin in class Token

getMax

final int getMax()
Overrides:
getMax in class Token

toString

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


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