Java Doc for Token.java in  » XML » xerces-2_9_1 » org » apache » xerces » impl » xpath » regex » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » XML » xerces 2_9_1 » org.apache.xerces.impl.xpath.regex 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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
Inner Class :static class StringToken extends Token implements java.io.Serializable
Inner Class :static class ConcatToken extends Token implements java.io.Serializable
Inner Class :static class CharToken extends Token implements java.io.Serializable
Inner Class :static class ClosureToken extends Token implements java.io.Serializable
Inner Class :static class ParenToken extends Token implements java.io.Serializable
Inner Class :static class ConditionToken extends Token implements java.io.Serializable
Inner Class :static class ModifierToken extends Token implements java.io.Serializable
Inner Class :static class UnionToken extends Token implements java.io.Serializable

Field Summary
final static  intANCHOR
    
final static  intBACKREFERENCE
    
final static  intCHAR
    
final static  intCHAR_FINAL_QUOTE
    
final static  intCHAR_INIT_QUOTE
    
final static  intCHAR_LETTER
    
final static  intCHAR_MARK
    
final static  intCHAR_NUMBER
    
final static  intCHAR_OTHER
    
final static  intCHAR_PUNCTUATION
    
final static  intCHAR_SEPARATOR
    
final static  intCHAR_SYMBOL
    
final static  intCLOSURE
    
final static  intCONCAT
    
final static  intCONDITION
    
final static  booleanCOUNTTOKENS
    
final static  intDOT
    
final static  intEMPTY
    
final static  intFC_ANY
    
final static  intFC_CONTINUE
    
final static  intFC_TERMINAL
    
final static  intINDEPENDENT
    
final static  intLOOKAHEAD
    
final static  intLOOKBEHIND
    
final static  intMODIFIERGROUP
    
final static  intNEGATIVELOOKAHEAD
    
final static  intNEGATIVELOOKBEHIND
    
final static  intNONGREEDYCLOSURE
    
final static  intNRANGE
    
final static  intPAREN
    
final static  intRANGE
    
final static  intSTRING
    
final static  intUNION
    
final static  intUTF16_MAX
    
final static  StringblockRanges
    
final static  int[]nonBMPBlockRanges
    
static  Hashtablenonxs
    
static  Tokentoken_0to9
    
static  Tokentoken_dot
    
static  Tokentoken_empty
    
static  Tokentoken_linebeginning
    
static  Tokentoken_linebeginning2
    
static  Tokentoken_lineend
    
static  Tokentoken_not_0to9
    
static  Tokentoken_not_spaces
    
static  Tokentoken_not_wordchars
    
static  Tokentoken_not_wordedge
    
static  Tokentoken_spaces
    
static  Tokentoken_stringbeginning
    
static  Tokentoken_stringend
    
static  Tokentoken_stringend2
    
static  Tokentoken_wordbeginning
    
static  Tokentoken_wordchars
    
static  Tokentoken_wordedge
    
static  Tokentoken_wordend
    
static  inttokens
    
final  inttype
    
final static  StringviramaString
    

Constructor Summary
protected  Token(int type)
    

Method Summary
 voidaddChild(Token tok)
    
protected  voidaddRange(int start, int end)
    
final  intanalyzeFirstCharacter(RangeToken result, int options)
    
protected  voidcompactRanges()
    
static  TokencomplementRanges(Token tok)
    
static  Token.StringTokencreateBackReference(int refno)
    
static  Token.CharTokencreateChar(int ch)
    
static  Token.ClosureTokencreateClosure(Token tok)
    
static  Token.ConcatTokencreateConcat(Token tok1, Token tok2)
    
static  Token.UnionTokencreateConcat()
    
static  Token.ConditionTokencreateCondition(int refno, Token condition, Token yespat, Token nopat)
    
static  TokencreateEmpty()
    
static  Token.ParenTokencreateLook(int type, Token child)
    
static  Token.ModifierTokencreateModifierGroup(Token child, int add, int mask)
    
static  Token.ClosureTokencreateNGClosure(Token tok)
    
static  RangeTokencreateNRange()
    
static  Token.ParenTokencreateParen(Token child, int pnumber)
    
static  RangeTokencreateRange()
    
static  Token.StringTokencreateString(String str)
    
static  Token.UnionTokencreateUnion()
    
final  voidfindFixedString(FixedStringContainer container, int options)
    
 intgetChar()
    
 TokengetChild(int index)
    
static synchronized  TokengetCombiningCharacterSequence()
    
static synchronized  TokengetGraphemePattern()
    
 intgetMax()
    
final  intgetMaxLength()
    
 intgetMin()
    
final  intgetMinLength()
    
 intgetParenNumber()
    
protected static  RangeTokengetRange(String name, boolean positive)
    
protected static  RangeTokengetRange(String name, boolean positive, boolean xs)
    
 intgetReferenceNumber()
    
 StringgetString()
    
protected  voidintersectRanges(Token tok)
    
protected static  booleanisRegisterNonXS(String name)
    
 booleanmatch(int ch)
    
protected  voidmergeRanges(Token tok)
    
protected static  voidregisterNonXS(String name)
     This method is called by only getRange().
 voidsetMax(int max)
    
 voidsetMin(int min)
    
 intsize()
     A number of children.
protected  voidsortRanges()
    
protected  voidsubtractRanges(Token tok)
    
public  StringtoString()
    
public  StringtoString(int options)
    

Field Detail
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)



DOT
final static int DOT(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)



blockRanges
final static String blockRanges(Code)



nonBMPBlockRanges
final static int[] nonBMPBlockRanges(Code)



nonxs
static Hashtable nonxs(Code)



token_0to9
static Token token_0to9(Code)



token_dot
static Token token_dot(Code)



token_empty
static Token token_empty(Code)



token_linebeginning
static Token token_linebeginning(Code)



token_linebeginning2
static Token token_linebeginning2(Code)



token_lineend
static Token token_lineend(Code)



token_not_0to9
static Token token_not_0to9(Code)



token_not_spaces
static Token token_not_spaces(Code)



token_not_wordchars
static Token token_not_wordchars(Code)



token_not_wordedge
static Token token_not_wordedge(Code)



token_spaces
static Token token_spaces(Code)



token_stringbeginning
static Token token_stringbeginning(Code)



token_stringend
static Token token_stringend(Code)



token_stringend2
static Token token_stringend2(Code)



token_wordbeginning
static Token token_wordbeginning(Code)



token_wordchars
static Token token_wordchars(Code)



token_wordedge
static Token token_wordedge(Code)



token_wordend
static Token token_wordend(Code)



tokens
static int tokens(Code)



type
final int type(Code)



viramaString
final static String viramaString(Code)




Constructor Detail
Token
protected Token(int type)(Code)




Method Detail
addChild
void addChild(Token tok)(Code)



addRange
protected void addRange(int start, int end)(Code)



analyzeFirstCharacter
final int analyzeFirstCharacter(RangeToken result, int options)(Code)



compactRanges
protected void compactRanges()(Code)



complementRanges
static Token complementRanges(Token tok)(Code)



createBackReference
static Token.StringToken createBackReference(int refno)(Code)



createChar
static Token.CharToken createChar(int ch)(Code)



createClosure
static Token.ClosureToken createClosure(Token tok)(Code)



createConcat
static Token.ConcatToken createConcat(Token tok1, Token tok2)(Code)



createConcat
static Token.UnionToken createConcat()(Code)



createCondition
static Token.ConditionToken createCondition(int refno, Token condition, Token yespat, Token nopat)(Code)



createEmpty
static Token createEmpty()(Code)



createLook
static Token.ParenToken createLook(int type, Token child)(Code)



createModifierGroup
static Token.ModifierToken createModifierGroup(Token child, int add, int mask)(Code)



createNGClosure
static Token.ClosureToken createNGClosure(Token tok)(Code)



createNRange
static RangeToken createNRange()(Code)



createParen
static Token.ParenToken createParen(Token child, int pnumber)(Code)



createRange
static RangeToken createRange()(Code)



createString
static Token.StringToken createString(String str)(Code)



createUnion
static Token.UnionToken createUnion()(Code)



findFixedString
final void findFixedString(FixedStringContainer container, int options)(Code)



getChar
int getChar()(Code)



getChild
Token getChild(int index)(Code)



getCombiningCharacterSequence
static synchronized Token getCombiningCharacterSequence()(Code)



getGraphemePattern
static synchronized Token getGraphemePattern()(Code)



getMax
int getMax()(Code)



getMaxLength
final int getMaxLength()(Code)



getMin
int getMin()(Code)



getMinLength
final int getMinLength()(Code)
How many characters are needed?



getParenNumber
int getParenNumber()(Code)



getRange
protected static RangeToken getRange(String name, boolean positive)(Code)



getRange
protected static RangeToken getRange(String name, boolean positive, boolean xs)(Code)



getReferenceNumber
int getReferenceNumber()(Code)



getString
String getString()(Code)



intersectRanges
protected void intersectRanges(Token tok)(Code)



isRegisterNonXS
protected static boolean isRegisterNonXS(String name)(Code)



match
boolean match(int ch)(Code)



mergeRanges
protected void mergeRanges(Token tok)(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)



toString
public String toString()(Code)



toString
public String toString(int options)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.