Package com.sun.msv.datatype.regexp
Class Token.ClosureToken
java.lang.Object
com.sun.msv.datatype.regexp.Token
com.sun.msv.datatype.regexp.Token.ClosureToken
- All Implemented Interfaces:
Serializable
- Enclosing class:
Token
This class represents a node in parse tree.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.msv.datatype.regexp.Token
Token.CharToken, Token.ClosureToken, Token.ConcatToken, Token.ConditionToken, Token.FixedStringContainer, Token.ModifierToken, Token.ParenToken, Token.StringToken, Token.UnionToken -
Field Summary
FieldsModifier and TypeFieldDescription(package private) Token(package private) int(package private) intFields inherited from class com.sun.msv.datatype.regexp.Token
ANCHOR, BACKREFERENCE, blockRanges, 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, nonBMPBlockRanges, NONGREEDYCLOSURE, nonxs, 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
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) TokengetChild(int index) (package private) final intgetMax()(package private) final intgetMin()(package private) final voidsetMax(int max) (package private) final voidsetMin(int min) (package private) intsize()A number of children.toString(int options) Methods inherited from class com.sun.msv.datatype.regexp.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, getRange, getReferenceNumber, getString, intersectRanges, isRegisterNonXS, match, mergeRanges, registerNonXS, sortRanges, subtractRanges, toString
-
Field Details
-
min
int min -
max
int max -
child
Token child
-
-
Constructor Details
-
ClosureToken
ClosureToken(int type, Token tok)
-
-
Method Details
-
size
int size()Description copied from class:TokenA number of children. -
getChild
-
setMin
final void setMin(int min) -
setMax
final void setMax(int max) -
getMin
final int getMin() -
getMax
final int getMax() -
toString
-