Java Doc for Token.java in  » XML » saxonb » net » sf » saxon » expr » 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 » saxonb » net.sf.saxon.expr 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.saxon.expr.Token

Token
abstract public class Token (Code)
This class holds static constants and methods defining the lexical tokens used in XPath and XQuery, and associated keywords.


Field Summary
final public static  intAND
    
final public static  intASSIGN
    
final public static  intAT
    
final public static  intATTRIBUTE_QNAME
    
final public static  intAXIS
    
final public static  intCASE
    
final public static  intCASTABLE_AS
    
final public static  intCAST_AS
    
final public static  intCOLONCOLON
    
final public static  intCOLONSTAR
    
final public static  intCOMMA
    
final public static  intDECLARE_BASEURI
    
final public static  intDECLARE_BOUNDARY_SPACE
    
final public static  intDECLARE_CONSTRUCTION
    
final public static  intDECLARE_COPY_NAMESPACES
    
final public static  intDECLARE_DEFAULT
    
final public static  intDECLARE_FUNCTION
    
final public static  intDECLARE_NAMESPACE
    
final public static  intDECLARE_OPTION
    
final public static  intDECLARE_ORDERING
    
final public static  intDECLARE_VARIABLE
    
final public static  intDEFAULT
    
final public static  intDIV
    
final public static  intDOLLAR
    
final public static  intDOT
    
final public static  intDOTDOT
    
final public static  intELEMENT_QNAME
    
final public static  intELSE
    
final public static  intEOF
    
final public static  intEQUALS
    
final public static  intEVERY
    
final public static  intEXCEPT
    
final public static  intFEQ
    
final public static  intFGE
    
final public static  intFGT
    
final public static  intFLE
    
final public static  intFLT
    
final public static  intFNE
    
final public static  intFOLLOWS
    
final public static  intFOR
    
final public static  intFUNCTION
    
final public static  intGE
    
final public static  intGT
    
final public static  intIDIV
    
final public static  intIF
    
final public static  intIMPORT_MODULE
    
final public static  intIMPORT_SCHEMA
    
final public static  intIN
    
final public static  intINSTANCE_OF
    
final public static  intINTERSECT
    
final public static  intIS
    
final public static  intKEYWORD_CURLY
    
static  intLAST_OPERATOR
    
final public static  intLCURLY
    
final public static  intLE
    
final public static  intLET
    
final public static  intLPAR
    
final public static  intLSQB
    
final public static  intLT
    
final public static  intMINUS
    
final public static  intMOD
    
final public static  intMODULE_NAMESPACE
    
final public static  intMULT
    
final public static  intNAME
    
final public static  intNE
     Operator not-equals.
final public static  intNEGATE
    
final public static  intNODEKIND
     Node kind, e.g.
final public static  intNUMBER
    
final public static  intOR
    
final public static  intPI_QNAME
    
final public static  intPLUS
    
final public static  intPRAGMA
     A token representing an XQuery pragma. This construct "(# ....
final public static  intPRECEDES
    
final public static  intPREFIX
    
final public static  intQMARK
     Question mark symbol.
final public static  intRCURLY
    
final public static  intRETURN
    
final public static  intRPAR
    
final public static  intRSQB
    
final public static  intSATISFIES
    
final public static  intSEMICOLON
    
final public static  intSLASH
    
final public static  intSLSL
    
final public static  intSOME
    
final public static  intSTAR
    
final public static  intSTRING_LITERAL
    
final public static  intSUFFIX
    
final public static  intTAG
     "<" at the start of a tag (XQuery only).
final public static  intTHEN
    
final public static  intTO
    
final public static  intTREAT_AS
    
final public static  intTYPESWITCH
    
final public static  intUNION
    
final public static  intUNKNOWN
    
final public static  intVALIDATE
    
final public static  intVALIDATE_LAX
    
final public static  intVALIDATE_STRICT
    
final public static  intWHERE
    
final public static  intXQUERY_VERSION
    
public static  HashMapdoubleKeywords
    
public static  String[]tokens
    


Method Summary
final public static  intinverse(int operator)
    
final public static  intnegate(int operator)
    

Field Detail
AND
final public static int AND(Code)
Operator "and"



ASSIGN
final public static int ASSIGN(Code)
":=" symbol (XQuery only)



AT
final public static int AT(Code)
At token, "@"



ATTRIBUTE_QNAME
final public static int ATTRIBUTE_QNAME(Code)
composite token <'attribute' QNAME> (XQuery only)



AXIS
final public static int AXIS(Code)
Token representing the name of an axis and the following "::" symbol



CASE
final public static int CASE(Code)
Keyword "case"



CASTABLE_AS
final public static int CASTABLE_AS(Code)
operator "castable as"



CAST_AS
final public static int CAST_AS(Code)
operator "cast as"



COLONCOLON
final public static int COLONCOLON(Code)
"::" symbol



COLONSTAR
final public static int COLONSTAR(Code)
":*" symbol



COMMA
final public static int COMMA(Code)
Comma token



DECLARE_BASEURI
final public static int DECLARE_BASEURI(Code)
"declare base-uri"



DECLARE_BOUNDARY_SPACE
final public static int DECLARE_BOUNDARY_SPACE(Code)
"declare boundary-space"



DECLARE_CONSTRUCTION
final public static int DECLARE_CONSTRUCTION(Code)
"declare construction"



DECLARE_COPY_NAMESPACES
final public static int DECLARE_COPY_NAMESPACES(Code)
"declare copy-namespaces"



DECLARE_DEFAULT
final public static int DECLARE_DEFAULT(Code)
"declare default"



DECLARE_FUNCTION
final public static int DECLARE_FUNCTION(Code)
"define function"



DECLARE_NAMESPACE
final public static int DECLARE_NAMESPACE(Code)
"declare namespace"



DECLARE_OPTION
final public static int DECLARE_OPTION(Code)
"declare option"



DECLARE_ORDERING
final public static int DECLARE_ORDERING(Code)
"declare xmlspace"



DECLARE_VARIABLE
final public static int DECLARE_VARIABLE(Code)
"define variable"



DEFAULT
final public static int DEFAULT(Code)
Keyword "default"



DIV
final public static int DIV(Code)
Operator "div"



DOLLAR
final public static int DOLLAR(Code)
"$" symbol



DOT
final public static int DOT(Code)
"." symbol



DOTDOT
final public static int DOTDOT(Code)
".." symbol



ELEMENT_QNAME
final public static int ELEMENT_QNAME(Code)
composite token <'element' QNAME> (XQuery only)



ELSE
final public static int ELSE(Code)
Keyword "else"



EOF
final public static int EOF(Code)
Pseudo-token representing the end of the expression



EQUALS
final public static int EQUALS(Code)
Equals token ("=")



EVERY
final public static int EVERY(Code)
Keyword "every"



EXCEPT
final public static int EXCEPT(Code)
Operator "except"



FEQ
final public static int FEQ(Code)
operator "eq"



FGE
final public static int FGE(Code)
operator "ge"



FGT
final public static int FGT(Code)
operator "gt"



FLE
final public static int FLE(Code)
opeartor "le"



FLT
final public static int FLT(Code)
operator "lt"



FNE
final public static int FNE(Code)
operator "ne"



FOLLOWS
final public static int FOLLOWS(Code)
Operator ">>"



FOR
final public static int FOR(Code)
"for" keyword



FUNCTION
final public static int FUNCTION(Code)
Token representing the name of a function and the following "(" symbol



GE
final public static int GE(Code)
Operator ">="



GT
final public static int GT(Code)
Operator ">"



IDIV
final public static int IDIV(Code)
operator "idiv"



IF
final public static int IF(Code)
Keyword "if"



IMPORT_MODULE
final public static int IMPORT_MODULE(Code)
"import module"



IMPORT_SCHEMA
final public static int IMPORT_SCHEMA(Code)
"import schema"



IN
final public static int IN(Code)
Keyword "in"



INSTANCE_OF
final public static int INSTANCE_OF(Code)
operator "instance of"



INTERSECT
final public static int INTERSECT(Code)
Operator "intersect"



IS
final public static int IS(Code)
Operator "is"



KEYWORD_CURLY
final public static int KEYWORD_CURLY(Code)
composite token: (XQuery only)



LAST_OPERATOR
static int LAST_OPERATOR(Code)
Constant identifying the token number of the last token to be classified as an operator



LCURLY
final public static int LCURLY(Code)
"{" symbol (XQuery only)



LE
final public static int LE(Code)
Operator "<="



LET
final public static int LET(Code)
"let" keyword (XQuery only)



LPAR
final public static int LPAR(Code)
Left parenthesis



LSQB
final public static int LSQB(Code)
Left square bracket



LT
final public static int LT(Code)
Operator "<"



MINUS
final public static int MINUS(Code)
Binary minus operator



MOD
final public static int MOD(Code)
Operator "mod"



MODULE_NAMESPACE
final public static int MODULE_NAMESPACE(Code)
"module namespace"



MULT
final public static int MULT(Code)
Multiply operator, "*" when used in an operator context



NAME
final public static int NAME(Code)
Name token (a QName, in general)



NE
final public static int NE(Code)
Operator not-equals. That is, "!="



NEGATE
final public static int NEGATE(Code)
Unary minus sign



NODEKIND
final public static int NODEKIND(Code)
Node kind, e.g. "node()" or "comment()"



NUMBER
final public static int NUMBER(Code)
Numeric literal



OR
final public static int OR(Code)
Operator "or"



PI_QNAME
final public static int PI_QNAME(Code)
composite token <'pi' QNAME> (XQuery only)



PLUS
final public static int PLUS(Code)
Operator "+"



PRAGMA
final public static int PRAGMA(Code)
A token representing an XQuery pragma. This construct "(# .... #)" is regarded as a single token, for the QueryParser to sort out.



PRECEDES
final public static int PRECEDES(Code)
Operator "<<"



PREFIX
final public static int PREFIX(Code)
"prefix:*" token



QMARK
final public static int QMARK(Code)
Question mark symbol. That is, "?"



RCURLY
final public static int RCURLY(Code)
"}" symbol (XQuery only)



RETURN
final public static int RETURN(Code)
Keyword "return"



RPAR
final public static int RPAR(Code)
Right parenthesis



RSQB
final public static int RSQB(Code)
Right square bracket



SATISFIES
final public static int SATISFIES(Code)
Keyword "satisfies"



SEMICOLON
final public static int SEMICOLON(Code)
semicolon separator



SLASH
final public static int SLASH(Code)
Forwards "/"



SLSL
final public static int SLSL(Code)
Double forwards slash, "//"



SOME
final public static int SOME(Code)
Keyword "some"



STAR
final public static int STAR(Code)
"*" symbol when used as a wildcard



STRING_LITERAL
final public static int STRING_LITERAL(Code)
String literal



SUFFIX
final public static int SUFFIX(Code)
"*:" token



TAG
final public static int TAG(Code)
"<" at the start of a tag (XQuery only). The pseudo-XML syntax that follows is read character-by-character by the XQuery parser



THEN
final public static int THEN(Code)
Ketword "then"



TO
final public static int TO(Code)
Operator "to"



TREAT_AS
final public static int TREAT_AS(Code)
operator "treat as"



TYPESWITCH
final public static int TYPESWITCH(Code)
Keyword "typeswitch"



UNION
final public static int UNION(Code)
"union" or "|" token



UNKNOWN
final public static int UNKNOWN(Code)
Pseudo-token representing the start of the expression



VALIDATE
final public static int VALIDATE(Code)
Various compound symbols supporting XQuery validation expression



VALIDATE_LAX
final public static int VALIDATE_LAX(Code)



VALIDATE_STRICT
final public static int VALIDATE_STRICT(Code)



WHERE
final public static int WHERE(Code)
Keyword "where"



XQUERY_VERSION
final public static int XQUERY_VERSION(Code)
"xquery version"



doubleKeywords
public static HashMap doubleKeywords(Code)
Lookup table for composite (two-keyword) tokens



tokens
public static String[] tokens(Code)
The following strings are used to represent tokens in error messages





Method Detail
inverse
final public static int inverse(int operator)(Code)
Return the inverse of a relational operator, so that "a op b" can be rewritten as "b inverse(op) a"



negate
final public static int negate(int operator)(Code)
Return the negation of a relational operator, so that "a op b" can be rewritten as not(b op' a)



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.