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

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

static class Token.ConditionToken
extends Token
implements Serializable

(?(condition)yes-pattern|no-pattern)

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 condition
           
(package private)  Token no
           
(package private)  int refNumber
           
(package private)  Token yes
           
 
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.ConditionToken(int refno, Token cond, Token yespat, Token nopat)
           
 
Method Summary
(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
, 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, 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

refNumber

int refNumber

condition

Token condition

yes

Token yes

no

Token no
Constructor Detail

Token.ConditionToken

Token.ConditionToken(int refno,
                     Token cond,
                     Token yespat,
                     Token nopat)
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

toString

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


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