Java Doc for OpCodes.java in  » XML » xalan » org » apache » xpath » compiler » 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 » xalan » org.apache.xpath.compiler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.xpath.compiler.OpCodes

OpCodes
public class OpCodes (Code)
Operations codes for XPath. Code for the descriptions of the operations codes: [UPPER CASE] indicates a literal value, [lower case] is a description of a value, ([length] always indicates the length of the operation, including the operations code and the length integer.) {UPPER CASE} indicates the given production, {description} is the description of a new production, (For instance, {boolean expression} means some expression that should be resolved to a boolean.) means that it occurs zero or more times, + means that it occurs one or more times, ? means that it is optional. returns: indicates what the production should return.


Field Summary
final public static  intAXES_END_TYPES
     The end of the axes types.
final public static  intAXES_START_TYPES
    
final public static  intELEMWILDCARD
     [ELEMWILDCARD] Means ELEMWILDCARD ("*"), used instead of string index in some places.
final public static  intEMPTY
     [EMPTY] Empty slot to indicate NULL.
final public static  intENDOP
     [ENDOP] Some operators may like to have a terminator.
final static  intFIRST_NODESET_OP
     The low opcode for nodesets, needed by getFirstPredicateOpPos and getNextStepPos.
final public static  intFROM_ANCESTORS
     ancestor axes opcode.
final public static  intFROM_ANCESTORS_OR_SELF
     ancestor-or-self axes opcode.
final public static  intFROM_ATTRIBUTES
     attribute axes opcode.
final public static  intFROM_CHILDREN
     children axes opcode.
final public static  intFROM_DESCENDANTS
     descendants axes opcode.
final public static  intFROM_DESCENDANTS_OR_SELF
     descendants-of-self axes opcode.
final public static  intFROM_FOLLOWING
     following axes opcode.
final public static  intFROM_FOLLOWING_SIBLINGS
     following-siblings axes opcode.
final public static  intFROM_NAMESPACE
     namespace axes opcode.
final public static  intFROM_PARENT
     parent axes opcode.
final public static  intFROM_PRECEDING
     preceding axes opcode.
final public static  intFROM_PRECEDING_SIBLINGS
     preceding-sibling axes opcode.
final public static  intFROM_ROOT
     '/' axes opcode.
final public static  intFROM_SELF
     self axes opcode.
final static  intLAST_NODESET_OP
     The last opcode for stuff that can be a nodeset.
final public static  intMATCH_ANY_ANCESTOR
     For match patterns.
final public static  intMATCH_ATTRIBUTE
     For match patterns.
final public static  intMATCH_IMMEDIATE_ANCESTOR
     For match patterns.
final public static  intNODENAME
    
final public static  intNODETYPE_ANYELEMENT
     [NODETYPE_ANY] No size or arguments.
final public static  intNODETYPE_COMMENT
     [NODETYPE_COMMENT] No size or arguments.
final public static  intNODETYPE_FUNCTEST
     [NODETYPE_ANY] No size or arguments.
final public static  intNODETYPE_NODE
     [NODETYPE_NODE] No size or arguments.
final public static  intNODETYPE_PI
    
final public static  intNODETYPE_ROOT
     [NODETYPE_ROOT] No size or arguments.
final public static  intNODETYPE_TEXT
     [NODETYPE_TEXT] No size or arguments.
final public static  intOP_AND
    
final public static  intOP_ARGUMENT
    
final public static  intOP_BOOL
    
final public static  intOP_DIV
    
final public static  intOP_EQUALS
    
final public static  intOP_EXTFUNCTION
    
final public static  intOP_FUNCTION
    
final public static  intOP_GROUP
    
final public static  intOP_GT
    
final public static  intOP_GTE
    
final public static  intOP_LITERAL
    
final public static  intOP_LOCATIONPATH
    
final public static  intOP_LOCATIONPATHPATTERN
    
final public static  intOP_LT
    
final public static  intOP_LTE
    
final public static  intOP_MATCHPATTERN
    
final public static  intOP_MINUS
    
final public static  intOP_MOD
    
final public static  intOP_MULT
    
final public static  intOP_NEG
    
final public static  intOP_NOTEQUALS
    
final public static  intOP_NUMBER
    
final public static  intOP_NUMBERLIT
    
final public static  intOP_OR
    
final public static  intOP_PLUS
    
final public static  intOP_PREDICATE
    
final public static  intOP_QUO
    
final public static  intOP_STRING
    
final public static  intOP_UNION
    
final public static  intOP_VARIABLE
    
final public static  intOP_XPATH
    



Field Detail
AXES_END_TYPES
final public static int AXES_END_TYPES(Code)
The end of the axes types.



AXES_START_TYPES
final public static int AXES_START_TYPES(Code)
[FROM_stepType] [length, including predicates] [length of just the step, without the predicates] {node test} {predicates}? returns: XBoolean



ELEMWILDCARD
final public static int ELEMWILDCARD(Code)
[ELEMWILDCARD] Means ELEMWILDCARD ("*"), used instead of string index in some places.



EMPTY
final public static int EMPTY(Code)
[EMPTY] Empty slot to indicate NULL.



ENDOP
final public static int ENDOP(Code)
[ENDOP] Some operators may like to have a terminator.



FIRST_NODESET_OP
final static int FIRST_NODESET_OP(Code)
The low opcode for nodesets, needed by getFirstPredicateOpPos and getNextStepPos.



FROM_ANCESTORS
final public static int FROM_ANCESTORS(Code)
ancestor axes opcode.



FROM_ANCESTORS_OR_SELF
final public static int FROM_ANCESTORS_OR_SELF(Code)
ancestor-or-self axes opcode.



FROM_ATTRIBUTES
final public static int FROM_ATTRIBUTES(Code)
attribute axes opcode.



FROM_CHILDREN
final public static int FROM_CHILDREN(Code)
children axes opcode.



FROM_DESCENDANTS
final public static int FROM_DESCENDANTS(Code)
descendants axes opcode.



FROM_DESCENDANTS_OR_SELF
final public static int FROM_DESCENDANTS_OR_SELF(Code)
descendants-of-self axes opcode.



FROM_FOLLOWING
final public static int FROM_FOLLOWING(Code)
following axes opcode.



FROM_FOLLOWING_SIBLINGS
final public static int FROM_FOLLOWING_SIBLINGS(Code)
following-siblings axes opcode.



FROM_NAMESPACE
final public static int FROM_NAMESPACE(Code)
namespace axes opcode.



FROM_PARENT
final public static int FROM_PARENT(Code)
parent axes opcode.



FROM_PRECEDING
final public static int FROM_PRECEDING(Code)
preceding axes opcode.



FROM_PRECEDING_SIBLINGS
final public static int FROM_PRECEDING_SIBLINGS(Code)
preceding-sibling axes opcode.



FROM_ROOT
final public static int FROM_ROOT(Code)
'/' axes opcode.



FROM_SELF
final public static int FROM_SELF(Code)
self axes opcode.



LAST_NODESET_OP
final static int LAST_NODESET_OP(Code)
The last opcode for stuff that can be a nodeset.



MATCH_ANY_ANCESTOR
final public static int MATCH_ANY_ANCESTOR(Code)
For match patterns.



MATCH_ATTRIBUTE
final public static int MATCH_ATTRIBUTE(Code)
For match patterns.



MATCH_IMMEDIATE_ANCESTOR
final public static int MATCH_IMMEDIATE_ANCESTOR(Code)
For match patterns.



NODENAME
final public static int NODENAME(Code)
[NODENAME] [index to ns token or EMPTY] [index to name token] returns: XBoolean



NODETYPE_ANYELEMENT
final public static int NODETYPE_ANYELEMENT(Code)
[NODETYPE_ANY] No size or arguments. returns: XBoolean



NODETYPE_COMMENT
final public static int NODETYPE_COMMENT(Code)
[NODETYPE_COMMENT] No size or arguments. Note: must not overlap function OP number! returns: XBoolean



NODETYPE_FUNCTEST
final public static int NODETYPE_FUNCTEST(Code)
[NODETYPE_ANY] No size or arguments. returns: XBoolean



NODETYPE_NODE
final public static int NODETYPE_NODE(Code)
[NODETYPE_NODE] No size or arguments. Note: must not overlap function OP number! returns: XBoolean



NODETYPE_PI
final public static int NODETYPE_PI(Code)
[NODETYPE_PI] [index to token] Note: must not overlap function OP number! returns: XBoolean



NODETYPE_ROOT
final public static int NODETYPE_ROOT(Code)
[NODETYPE_ROOT] No size or arguments. returns: XBoolean



NODETYPE_TEXT
final public static int NODETYPE_TEXT(Code)
[NODETYPE_TEXT] No size or arguments. Note: must not overlap function OP number! returns: XBoolean



OP_AND
final public static int OP_AND(Code)
[OP_AND] [length] {boolean expression} {boolean expression} returns: XBoolean



OP_ARGUMENT
final public static int OP_ARGUMENT(Code)
[OP_ARGUMENT] (Function argument.) [length] {expression} returns: XNodeSet XNumber XString XBoolean XRTree XObject



OP_BOOL
final public static int OP_BOOL(Code)
[OP_BOOL] (cast operation) [length] {expression} returns: XBoolean



OP_DIV
final public static int OP_DIV(Code)
[OP_DIV] [length] {number expression} {number expression} returns: XNumber



OP_EQUALS
final public static int OP_EQUALS(Code)
[OP_EQUALS] [length] {expression} {expression} returns: XBoolean



OP_EXTFUNCTION
final public static int OP_EXTFUNCTION(Code)
[OP_EXTFUNCTION] (Extension function.) [length] [index to namespace token] [index to function name token] {OP_ARGUMENT} returns: XNodeSet XNumber XString XBoolean XRTree XObject



OP_FUNCTION
final public static int OP_FUNCTION(Code)
[OP_FUNCTION] [length] [FUNC_name] {OP_ARGUMENT} [ENDOP] returns: XNodeSet XNumber XString XBoolean XRTree XObject



OP_GROUP
final public static int OP_GROUP(Code)
[OP_GROUP] [length] {expression} returns: XNodeSet XNumber XString XBoolean XRTree XObject



OP_GT
final public static int OP_GT(Code)
[OP_GT] (greater-than) [length] {number expression} {number expression} returns: XBoolean



OP_GTE
final public static int OP_GTE(Code)
[OP_GTE] (greater-than-or-equals) [length] {number expression} {number expression} returns: XBoolean



OP_LITERAL
final public static int OP_LITERAL(Code)
[OP_LITERAL] [3] [index to token] returns: XString



OP_LOCATIONPATH
final public static int OP_LOCATIONPATH(Code)
[OP_LOCATIONPATH] [length] {FROM_stepType} | {function} {predicate} [ENDOP] (Note that element and attribute namespaces and names can be wildcarded '*'.) returns: XNodeSet



OP_LOCATIONPATHPATTERN
final public static int OP_LOCATIONPATHPATTERN(Code)
[OP_LOCATIONPATHPATTERN] [length] {FROM_stepType} | {function}{predicate} [ENDOP] returns: XNodeSet



OP_LT
final public static int OP_LT(Code)
[OP_LT] (less-than) [length] {number expression} {number expression} returns: XBoolean



OP_LTE
final public static int OP_LTE(Code)
[OP_LTE] (less-than-or-equals) [length] {number expression} {number expression} returns: XBoolean



OP_MATCHPATTERN
final public static int OP_MATCHPATTERN(Code)
[OP_MATCHPATTERN] [length] {PathExpr}+ returns: XNodeSet



OP_MINUS
final public static int OP_MINUS(Code)
[OP_MINUS] [length] {number expression} {number expression} returns: XNumber



OP_MOD
final public static int OP_MOD(Code)
[OP_MOD] [length] {number expression} {number expression} returns: XNumber



OP_MULT
final public static int OP_MULT(Code)
[OP_MULT] [length] {number expression} {number expression} returns: XNumber



OP_NEG
final public static int OP_NEG(Code)
[OP_NEG] [length] {number expression} returns: XNumber



OP_NOTEQUALS
final public static int OP_NOTEQUALS(Code)
[OP_NOTEQUALS] [length] {expression} {expression} returns: XBoolean



OP_NUMBER
final public static int OP_NUMBER(Code)
[OP_NUMBER] (cast operation) [length] {expression} returns: XBoolean



OP_NUMBERLIT
final public static int OP_NUMBERLIT(Code)
[OP_NUMBERLIT] (Number literal.) [3] [index to token] returns: XString



OP_OR
final public static int OP_OR(Code)
[OP_OR] [length] {boolean expression} {boolean expression} returns: XBoolean



OP_PLUS
final public static int OP_PLUS(Code)
[OP_PLUS] [length] {number expression} {number expression} returns: XNumber



OP_PREDICATE
final public static int OP_PREDICATE(Code)
[OP_PREDICATE] [length] {expression} [ENDOP] (For safety) returns: XBoolean or XNumber



OP_QUO
final public static int OP_QUO(Code)
[OP_QUO] [length] {number expression} {number expression} returns: XNumber



OP_STRING
final public static int OP_STRING(Code)
[OP_STRING] (cast operation) [length] {expression} returns: XString



OP_UNION
final public static int OP_UNION(Code)
[OP_UNION] [length] {PathExpr}+ returns: XNodeSet



OP_VARIABLE
final public static int OP_VARIABLE(Code)
[OP_VARIABLE] [4] [index to namespace token, or EMPTY] [index to function name token] returns: XString



OP_XPATH
final public static int OP_XPATH(Code)
[OP_XPATH] [length] {expression} returns: XNodeSet XNumber XString XBoolean XRTree XObject





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.