Java Doc for Location.java in  » XML » XPath-Saxon » net » sf » saxon » trace » 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 » XPath Saxon » net.sf.saxon.trace 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.saxon.trace.Location

Location
public class Location (Code)
This class holds constants identifying different kinds of location in a source stylesheet or query. These constants are used in the getConstructType() method of class InstructionInfo. Some of these locations represent points where the dynamic context changes, and they are therefore recorded as such on the context stack. Some of the locations represent points in the evaluation of a stylesheet (or query or XPath expression) that are notified to the trace listener. Some fulfil both roles.

Any constant used in net.sf.saxon.style.StandardNames can be used as a Location. Such names are generally used to identify XSLT instructions. They are also used for equivalent constructs in XQuery, for example XSL_ELEMENT is used for a computed element constructor in XQuery. The constants in StandardNames are all in the range 0-1023, so constants defined in this class are outside this range.

The constants in this file are annotated with Q to indicate they can appear in XQuery trace output, T to indicate they can appear in XSLT trace output, and/or C to indicate that they can appear on the dynamic context stack.



Field Summary
final public static  intBUILT_IN_TEMPLATE
     An XSLT built-in template rule.
final public static  intCASE_EXPRESSION
     CASE clause within "typeswitch".
final public static  intCONTROLLER
     The outer system environment, identified as the caller of a user query or stylesheet.
final public static  intDEFAULT_EXPRESSION
     DEFAULT clause within "typeswitch".
final public static  intELSE_EXPRESSION
     An XPath or XQuery "else" clause.
final public static  intEXTENSION_INSTRUCTION
     An XSLT instruction.
final public static  intFILTER_EXPRESSION
     An XPath or XQuery filter expression.
final public static  intFOR_EXPRESSION
     An XPath or XQuery "for" clause.
final public static  intFUNCTION_CALL
     An XPath function call to a user-defined function.
final public static  intGROUPING_KEY
     A grouping key in XSLT.
final public static  intIF_EXPRESSION
     An XPath or XQuery "if" expression.
final public static  intLAZY_EVALUATION
     Lazy evaluation of an expression (this code is used to identify a context created as a saved copy of an existing context, to be stored in a Closure).
final public static  intLET_EXPRESSION
     An XQuery "let" clause, or an XSLT local variable (which compiles into a LET clause).
final public static  intLITERAL_RESULT_ATTRIBUTE
     An attribute of an XSLT literal result element or of an XQuery direct element constructor.
final public static  intLITERAL_RESULT_ELEMENT
     An XSLT literal result element, or an XQuery direct element constructor.
final public static  intORDER_BY_CLAUSE
     An order-by clause in a FLWOR expression.
final public static  intPATH_EXPRESSION
     An XPath or XQuery path expression.
final public static  intPATTERN
     An XSLT Pattern.
final public static  intRETURN_EXPRESSION
     An XPath or XQuery "return" clause.
final public static  intSAXON_EVALUATE
     An XPath expression constructed dynamically using saxon:evaluate (or saxon:expression).
final public static  intSAXON_HIGHER_ORDER_EXTENSION_FUNCTION
     A higher-order extension function such as saxon:sum, saxon:highest.
final public static  intSAXON_SERIALIZE
     The saxon:serialize() extension function.
final public static  intSORT_KEY
     A sort key (or order-by key).
final public static  intTHEN_EXPRESSION
     An XPath or XQuery "then" clause.
final public static  intTRACE_CALL
     An explicit call of the fn:trace() function.
final public static  intTYPESWITCH_EXPRESSION
     An XPath or XQuery "typeswitch" expression.
final public static  intUNCLASSIFIED
     Unclassified location.
final public static  intVALIDATE_EXPRESSION
     An XPath or XQuery "validate" expression.
final public static  intWHERE_CLAUSE
     A WHERE clause in a FLWOR expression.
final public static  intXPATH_EXPRESSION
     XPath expression, otherwise unclassified.
final public static  intXPATH_IN_XSLT
     Entry point to a top-level XPath expression within an XSLT stylesheet.



Field Detail
BUILT_IN_TEMPLATE
final public static int BUILT_IN_TEMPLATE(Code)
An XSLT built-in template rule. Usage: TC



CASE_EXPRESSION
final public static int CASE_EXPRESSION(Code)
CASE clause within "typeswitch". Usage: Q



CONTROLLER
final public static int CONTROLLER(Code)
The outer system environment, identified as the caller of a user query or stylesheet. Usage:C



DEFAULT_EXPRESSION
final public static int DEFAULT_EXPRESSION(Code)
DEFAULT clause within "typeswitch". Usage: Q



ELSE_EXPRESSION
final public static int ELSE_EXPRESSION(Code)
An XPath or XQuery "else" clause. Usage: Q



EXTENSION_INSTRUCTION
final public static int EXTENSION_INSTRUCTION(Code)
An XSLT instruction. The name of the instruction (which may be an extension instruction) can be obtained using the fingerprint property. Usage:T



FILTER_EXPRESSION
final public static int FILTER_EXPRESSION(Code)
An XPath or XQuery filter expression. Usage: C



FOR_EXPRESSION
final public static int FOR_EXPRESSION(Code)
An XPath or XQuery "for" clause. Usage: Q



FUNCTION_CALL
final public static int FUNCTION_CALL(Code)
An XPath function call to a user-defined function. The "expression" property references the actual expression, of class ComputedExpression. The "target" property references the function being called, of class UserFunction. Usage: QTC



GROUPING_KEY
final public static int GROUPING_KEY(Code)
A grouping key in XSLT. Usage: C



IF_EXPRESSION
final public static int IF_EXPRESSION(Code)
An XPath or XQuery "if" expression. Usage: Q



LAZY_EVALUATION
final public static int LAZY_EVALUATION(Code)
Lazy evaluation of an expression (this code is used to identify a context created as a saved copy of an existing context, to be stored in a Closure). Usage: C



LET_EXPRESSION
final public static int LET_EXPRESSION(Code)
An XQuery "let" clause, or an XSLT local variable (which compiles into a LET clause). Usage: Q,T



LITERAL_RESULT_ATTRIBUTE
final public static int LITERAL_RESULT_ATTRIBUTE(Code)
An attribute of an XSLT literal result element or of an XQuery direct element constructor. Usage: QT



LITERAL_RESULT_ELEMENT
final public static int LITERAL_RESULT_ELEMENT(Code)
An XSLT literal result element, or an XQuery direct element constructor. Usage:QT



ORDER_BY_CLAUSE
final public static int ORDER_BY_CLAUSE(Code)
An order-by clause in a FLWOR expression. Usage: Q



PATH_EXPRESSION
final public static int PATH_EXPRESSION(Code)
An XPath or XQuery path expression. Usage: C



PATTERN
final public static int PATTERN(Code)
An XSLT Pattern. Usage: C



RETURN_EXPRESSION
final public static int RETURN_EXPRESSION(Code)
An XPath or XQuery "return" clause. Usage: Q



SAXON_EVALUATE
final public static int SAXON_EVALUATE(Code)
An XPath expression constructed dynamically using saxon:evaluate (or saxon:expression). Usage: QTC



SAXON_HIGHER_ORDER_EXTENSION_FUNCTION
final public static int SAXON_HIGHER_ORDER_EXTENSION_FUNCTION(Code)
A higher-order extension function such as saxon:sum, saxon:highest. Usage: C



SAXON_SERIALIZE
final public static int SAXON_SERIALIZE(Code)
The saxon:serialize() extension function. Usage: C



SORT_KEY
final public static int SORT_KEY(Code)
A sort key (or order-by key). Usage: C



THEN_EXPRESSION
final public static int THEN_EXPRESSION(Code)
An XPath or XQuery "then" clause. Usage: Q



TRACE_CALL
final public static int TRACE_CALL(Code)
An explicit call of the fn:trace() function. Usage: QT



TYPESWITCH_EXPRESSION
final public static int TYPESWITCH_EXPRESSION(Code)
An XPath or XQuery "typeswitch" expression. Usage: Q



UNCLASSIFIED
final public static int UNCLASSIFIED(Code)
Unclassified location. Used in fallback cases only.



VALIDATE_EXPRESSION
final public static int VALIDATE_EXPRESSION(Code)
An XPath or XQuery "validate" expression. Usage: Q



WHERE_CLAUSE
final public static int WHERE_CLAUSE(Code)
A WHERE clause in a FLWOR expression. Usage: Q



XPATH_EXPRESSION
final public static int XPATH_EXPRESSION(Code)
XPath expression, otherwise unclassified. The "expression" property references the actual expression, of class ComputedExpression. Used in fallback cases only.



XPATH_IN_XSLT
final public static int XPATH_IN_XSLT(Code)
Entry point to a top-level XPath expression within an XSLT stylesheet. Usage: TC





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.