Class Token.StringToken
java.lang.Object
com.sun.msv.datatype.regexp.Token
com.sun.msv.datatype.regexp.Token.StringToken
- All Implemented Interfaces:
Serializable
- Enclosing class:
Token
This class represents a node in parse tree.
- Version:
- Token.java,v 1.7 2003/02/25 14:43:13 sandygao Exp
-
Nested Class Summary
Nested classes/interfaces inherited from class Token
Token.CharToken, Token.ClosureToken, Token.ConcatToken, Token.ConditionToken, Token.FixedStringContainer, Token.ModifierToken, Token.ParenToken, Token.StringToken, Token.UnionToken -
Field Summary
FieldsFields inherited from class 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
Methods inherited from class Token
addChild, addRange, analyzeFirstCharacter, compactRanges, complementRanges, createBackReference, createChar, createClosure, createConcat, createConcat, createCondition, createEmpty, createLook, createModifierGroup, createNGClosure, createNRange, createParen, createRange, createString, createUnion, findFixedString, getChar, getChild, getCombiningCharacterSequence, getGraphemePattern, getMax, getMaxLength, getMin, getMinLength, getParenNumber, getRange, getRange, intersectRanges, isRegisterNonXS, match, mergeRanges, registerNonXS, setMax, setMin, size, sortRanges, subtractRanges, toString
-
Field Details
-
string
String string -
refNumber
int refNumber
-
-
Constructor Details
-
StringToken
StringToken(int type, String str, int n)
-
-
Method Details
-
getReferenceNumber
int getReferenceNumber()- Overrides:
getReferenceNumberin classToken
-
getString
-
toString
-