Java Doc for StaticProperty.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.StaticProperty

StaticProperty
abstract public class StaticProperty (Code)
This class contains constants identifying dependencies that an XPath expression might have on its context.


Field Summary
final public static  intALLOWS_MANY
    
final public static  intALLOWS_ONE
    
final public static  intALLOWS_ONE_OR_MORE
    
final public static  intALLOWS_ZERO
    
final public static  intALLOWS_ZERO_OR_MORE
    
final public static  intALLOWS_ZERO_OR_ONE
    
final public static  intATTRIBUTE_NS_NODESET
    
final public static  intCARDINALITY_MASK
    
final public static  intCONTEXT_DOCUMENT_NODESET
     Expression property: this bit is set by getProperties() in the case of an expression whose item type is node, when the nodes in the result are guaranteed all to be in the same document as the context node.
final public static  intDEPENDENCY_MASK
    
final public static  intDEPENDS_ON_CONTEXT_DOCUMENT
    
final public static  intDEPENDS_ON_CONTEXT_ITEM
    
final public static  intDEPENDS_ON_CURRENT_GROUP
    
final public static  intDEPENDS_ON_CURRENT_ITEM
    
final public static  intDEPENDS_ON_FOCUS
    
final public static  intDEPENDS_ON_LAST
    
final public static  intDEPENDS_ON_LOCAL_VARIABLES
    
final public static  intDEPENDS_ON_NON_DOCUMENT_FOCUS
    
final public static  intDEPENDS_ON_POSITION
    
final public static  intDEPENDS_ON_REGEX_GROUP
    
final public static  intDEPENDS_ON_USER_FUNCTIONS
    
final public static  intDEPENDS_ON_XSLT_CONTEXT
    
final public static  intEMPTY
    
final public static  intEXACTLY_ONE
    
final public static  intNON_CREATIVE
     Expression property: this bit is set in the case of an expression that will never return newly created nodes, nor a value that depends on the identity of newly created nodes (for example generate-id(new-node())).
final public static  intORDERED_NODESET
     Expression property: this bit is set by getProperties() in the case of an expression whose item type is node, when the nodes in the result are in document order.
final public static  intPEER_NODESET
     Expression property: this bit is set by getProperties() in the case of an expression that delivers a set of nodes with the guarantee that no node in the set will be an ancestor of any other.
final public static  intREVERSE_DOCUMENT_ORDER
     Expression property: this bit is set by getProperties() in the case of an expression that delivers items in the reverse of the correct order, when unordered retrieval is requested.
final public static  intSINGLE_DOCUMENT_NODESET
     Expression property: this bit is set in the case of an expression that delivers a set of nodes that are all in the same document (not necessarily the same document as the context node).
final public static  intSPECIAL_PROPERTY_MASK
    
final public static  intSUBTREE_NODESET
    


Method Summary
final public static  intgetCardinalityCode(int cardinality)
    
final public static  StringgetCardinalityDescription(int cardinality)
    

Field Detail
ALLOWS_MANY
final public static int ALLOWS_MANY(Code)
Bit set if multiple values are allowed



ALLOWS_ONE
final public static int ALLOWS_ONE(Code)
Bit set if a single value is allowed



ALLOWS_ONE_OR_MORE
final public static int ALLOWS_ONE_OR_MORE(Code)
Occurence indicator for "one or more" (+)



ALLOWS_ZERO
final public static int ALLOWS_ZERO(Code)



ALLOWS_ZERO_OR_MORE
final public static int ALLOWS_ZERO_OR_MORE(Code)
Occurence indicator for "zero or more" (*)



ALLOWS_ZERO_OR_ONE
final public static int ALLOWS_ZERO_OR_ONE(Code)
Occurence indicator for "zero or one" (?)



ATTRIBUTE_NS_NODESET
final public static int ATTRIBUTE_NS_NODESET(Code)
Expression property: this bit is set by getProperties() in the case of an expression that delivers a set of nodes with the guarantee that every node in the result will be an attribute or namespace of the context node



CARDINALITY_MASK
final public static int CARDINALITY_MASK(Code)
Mask for all cardinality bits



CONTEXT_DOCUMENT_NODESET
final public static int CONTEXT_DOCUMENT_NODESET(Code)
Expression property: this bit is set by getProperties() in the case of an expression whose item type is node, when the nodes in the result are guaranteed all to be in the same document as the context node. For expressions that return values other than nodes, the setting is undefined.



DEPENDENCY_MASK
final public static int DEPENDENCY_MASK(Code)
Mask to select all the dependency bits



DEPENDS_ON_CONTEXT_DOCUMENT
final public static int DEPENDS_ON_CONTEXT_DOCUMENT(Code)
Bit setting: Expression depends on the document containing the context node



DEPENDS_ON_CONTEXT_ITEM
final public static int DEPENDS_ON_CONTEXT_ITEM(Code)
Bit setting: Expression depends on context item



DEPENDS_ON_CURRENT_GROUP
final public static int DEPENDS_ON_CURRENT_GROUP(Code)
Bit setting: Expression depends on current-group() and/or current-grouping-key()



DEPENDS_ON_CURRENT_ITEM
final public static int DEPENDS_ON_CURRENT_ITEM(Code)
Bit setting: Expression depends on current() item



DEPENDS_ON_FOCUS
final public static int DEPENDS_ON_FOCUS(Code)
Combination of bits representing dependencies on the focus



DEPENDS_ON_LAST
final public static int DEPENDS_ON_LAST(Code)
Bit setting: Expression depends on last()



DEPENDS_ON_LOCAL_VARIABLES
final public static int DEPENDS_ON_LOCAL_VARIABLES(Code)
Bit setting: Expression depends on local variables



DEPENDS_ON_NON_DOCUMENT_FOCUS
final public static int DEPENDS_ON_NON_DOCUMENT_FOCUS(Code)
Combination of bits representing dependencies on the focus, but excluding dependencies on the current document



DEPENDS_ON_POSITION
final public static int DEPENDS_ON_POSITION(Code)
Bit setting: Expression depends on position()



DEPENDS_ON_REGEX_GROUP
final public static int DEPENDS_ON_REGEX_GROUP(Code)
Bit setting: Expression depends on regex-group()



DEPENDS_ON_USER_FUNCTIONS
final public static int DEPENDS_ON_USER_FUNCTIONS(Code)
Bit setting: Expression depends on user-defined functions



DEPENDS_ON_XSLT_CONTEXT
final public static int DEPENDS_ON_XSLT_CONTEXT(Code)
Combination of bits representing dependencies on the XSLT context



EMPTY
final public static int EMPTY(Code)
Occurence indicator when an empty sequence is required



EXACTLY_ONE
final public static int EXACTLY_ONE(Code)
Occurence indicator for "exactly one" (default occurrence indicator)



NON_CREATIVE
final public static int NON_CREATIVE(Code)
Expression property: this bit is set in the case of an expression that will never return newly created nodes, nor a value that depends on the identity of newly created nodes (for example generate-id(new-node())). Expressions that do create new nodes cannot be moved out of loops as this could cause too few nodes to be created: for example if f() creates a new node, then count(for $i in 1 to 5 return f()) must be 5.



ORDERED_NODESET
final public static int ORDERED_NODESET(Code)
Expression property: this bit is set by getProperties() in the case of an expression whose item type is node, when the nodes in the result are in document order.



PEER_NODESET
final public static int PEER_NODESET(Code)
Expression property: this bit is set by getProperties() in the case of an expression that delivers a set of nodes with the guarantee that no node in the set will be an ancestor of any other. This property is useful in deciding whether the results of a path expression are pre-sorted. The property is only used in the case where the NATURALLY_SORTED property is true, so there is no point in setting it in other cases.



REVERSE_DOCUMENT_ORDER
final public static int REVERSE_DOCUMENT_ORDER(Code)
Expression property: this bit is set by getProperties() in the case of an expression that delivers items in the reverse of the correct order, when unordered retrieval is requested.



SINGLE_DOCUMENT_NODESET
final public static int SINGLE_DOCUMENT_NODESET(Code)
Expression property: this bit is set in the case of an expression that delivers a set of nodes that are all in the same document (not necessarily the same document as the context node).



SPECIAL_PROPERTY_MASK
final public static int SPECIAL_PROPERTY_MASK(Code)
Mask for "special properties": that is, all properties other than cardinality and dependencies



SUBTREE_NODESET
final public static int SUBTREE_NODESET(Code)
Expression property: this bit is set by getProperties() in the case of an expression that delivers a set of nodes with the guarantee that every node in the result will be a descendant or self, or attribute or namespace, of the context node





Method Detail
getCardinalityCode
final public static int getCardinalityCode(int cardinality)(Code)
Reduce the cardinality value to an integer in the range 0-7



getCardinalityDescription
final public static String getCardinalityDescription(int cardinality)(Code)
Display the cardinality value as a string (used for diagnostics)



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.