| |
|
| java.lang.Object org.apache.xerces.impl.xpath.regex.Token
All known Subclasses: org.apache.xerces.impl.xpath.regex.RangeToken,
Token | class Token implements java.io.Serializable(Code) | | This class represents a node in parse tree.
version: $Id: Token.java 572108 2007-09-02 18:48:31Z mrglavas $ |
Inner Class :static class FixedStringContainer | |
Constructor Summary | |
protected | Token(int type) |
Method Summary | |
void | addChild(Token tok) | protected void | addRange(int start, int end) | final int | analyzeFirstCharacter(RangeToken result, int options) | protected void | compactRanges() | static Token | complementRanges(Token tok) | static Token.StringToken | createBackReference(int refno) | static Token.CharToken | createChar(int ch) | static Token.ClosureToken | createClosure(Token tok) | static Token.ConcatToken | createConcat(Token tok1, Token tok2) | static Token.UnionToken | createConcat() | static Token.ConditionToken | createCondition(int refno, Token condition, Token yespat, Token nopat) | static Token | createEmpty() | static Token.ParenToken | createLook(int type, Token child) | static Token.ModifierToken | createModifierGroup(Token child, int add, int mask) | static Token.ClosureToken | createNGClosure(Token tok) | static RangeToken | createNRange() | static Token.ParenToken | createParen(Token child, int pnumber) | static RangeToken | createRange() | static Token.StringToken | createString(String str) | static Token.UnionToken | createUnion() | final void | findFixedString(FixedStringContainer container, int options) | int | getChar() | Token | getChild(int index) | static synchronized Token | getCombiningCharacterSequence() | static synchronized Token | getGraphemePattern() | int | getMax() | final int | getMaxLength() | int | getMin() | final int | getMinLength() | int | getParenNumber() | protected static RangeToken | getRange(String name, boolean positive) | protected static RangeToken | getRange(String name, boolean positive, boolean xs) | int | getReferenceNumber() | String | getString() | protected void | intersectRanges(Token tok) | protected static boolean | isRegisterNonXS(String name) | boolean | match(int ch) | protected void | mergeRanges(Token tok) | protected static void | registerNonXS(String name) This method is called by only getRange(). | void | setMax(int max) | void | setMin(int min) | int | size() A number of children. | protected void | sortRanges() | protected void | subtractRanges(Token tok) | public String | toString() | public String | toString(int options) |
ANCHOR | final static int ANCHOR(Code) | | |
BACKREFERENCE | final static int BACKREFERENCE(Code) | | |
CHAR | final static int CHAR(Code) | | |
CHAR_FINAL_QUOTE | final static int CHAR_FINAL_QUOTE(Code) | | |
CHAR_INIT_QUOTE | final static int CHAR_INIT_QUOTE(Code) | | |
CHAR_LETTER | final static int CHAR_LETTER(Code) | | |
CHAR_MARK | final static int CHAR_MARK(Code) | | |
CHAR_NUMBER | final static int CHAR_NUMBER(Code) | | |
CHAR_OTHER | final static int CHAR_OTHER(Code) | | |
CHAR_PUNCTUATION | final static int CHAR_PUNCTUATION(Code) | | |
CHAR_SEPARATOR | final static int CHAR_SEPARATOR(Code) | | |
CHAR_SYMBOL | final static int CHAR_SYMBOL(Code) | | |
CLOSURE | final static int CLOSURE(Code) | | |
CONCAT | final static int CONCAT(Code) | | |
CONDITION | final static int CONDITION(Code) | | |
COUNTTOKENS | final static boolean COUNTTOKENS(Code) | | |
EMPTY | final static int EMPTY(Code) | | |
FC_ANY | final static int FC_ANY(Code) | | |
FC_CONTINUE | final static int FC_CONTINUE(Code) | | |
FC_TERMINAL | final static int FC_TERMINAL(Code) | | |
INDEPENDENT | final static int INDEPENDENT(Code) | | |
LOOKAHEAD | final static int LOOKAHEAD(Code) | | |
LOOKBEHIND | final static int LOOKBEHIND(Code) | | |
MODIFIERGROUP | final static int MODIFIERGROUP(Code) | | |
NEGATIVELOOKAHEAD | final static int NEGATIVELOOKAHEAD(Code) | | |
NEGATIVELOOKBEHIND | final static int NEGATIVELOOKBEHIND(Code) | | |
NONGREEDYCLOSURE | final static int NONGREEDYCLOSURE(Code) | | |
NRANGE | final static int NRANGE(Code) | | |
PAREN | final static int PAREN(Code) | | |
RANGE | final static int RANGE(Code) | | |
STRING | final static int STRING(Code) | | |
UNION | final static int UNION(Code) | | |
UTF16_MAX | final static int UTF16_MAX(Code) | | |
nonBMPBlockRanges | final static int[] nonBMPBlockRanges(Code) | | |
token_linebeginning | static Token token_linebeginning(Code) | | |
token_linebeginning2 | static Token token_linebeginning2(Code) | | |
token_not_wordchars | static Token token_not_wordchars(Code) | | |
token_not_wordedge | static Token token_not_wordedge(Code) | | |
token_stringbeginning | static Token token_stringbeginning(Code) | | |
token_wordbeginning | static Token token_wordbeginning(Code) | | |
Token | protected Token(int type)(Code) | | |
addRange | protected void addRange(int start, int end)(Code) | | |
analyzeFirstCharacter | final int analyzeFirstCharacter(RangeToken result, int options)(Code) | | |
compactRanges | protected void compactRanges()(Code) | | |
findFixedString | final void findFixedString(FixedStringContainer container, int options)(Code) | | |
getCombiningCharacterSequence | static synchronized Token getCombiningCharacterSequence()(Code) | | |
getGraphemePattern | static synchronized Token getGraphemePattern()(Code) | | |
getMaxLength | final int getMaxLength()(Code) | | |
getMinLength | final int getMinLength()(Code) | | How many characters are needed?
|
getParenNumber | int getParenNumber()(Code) | | |
getReferenceNumber | int getReferenceNumber()(Code) | | |
intersectRanges | protected void intersectRanges(Token tok)(Code) | | |
isRegisterNonXS | protected static boolean isRegisterNonXS(String name)(Code) | | |
match | boolean match(int ch)(Code) | | |
registerNonXS | protected static void registerNonXS(String name)(Code) | | This method is called by only getRange().
So this method need not MT-safe.
|
setMax | void setMax(int max)(Code) | | |
setMin | void setMin(int min)(Code) | | |
size | int size()(Code) | | A number of children.
|
sortRanges | protected void sortRanges()(Code) | | |
subtractRanges | protected void subtractRanges(Token tok)(Code) | | |
|
|
|