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

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

static class Token.ParenToken
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 parennumber
           
 
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.ParenToken(int type, Token tok, int paren)
           
 
Method Summary
(package private)  Token getChild(int index)
           
(package private)  int getParenNumber()
           
(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, getMax, getMaxLength, getMin, getMinLength, 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

child

Token child

parennumber

int parennumber
Constructor Detail

Token.ParenToken

Token.ParenToken(int type,
                 Token tok,
                 int paren)
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

getParenNumber

int getParenNumber()
Overrides:
getParenNumber in class Token

toString

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


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