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


java.lang.Object
   net.sf.saxon.expr.ComputedExpression
      net.sf.saxon.expr.Assignation

All known Subclasses:   net.sf.saxon.expr.LetExpression,  net.sf.saxon.expr.ForExpression,  net.sf.saxon.expr.QuantifiedExpression,
Assignation
abstract public class Assignation extends ComputedExpression implements Binding(Code)
Assignation is an abstract superclass for the kinds of expression that declare range variables: for, some, and every.


Field Summary
protected  Expressionaction
    
protected transient  RangeVariableDeclarationdeclaration
    
protected  intnameCode
    
protected  Expressionsequence
    
protected  intslotNumber
    
protected  StringvariableName
    


Method Summary
public  ValueRepresentationevaluateVariable(XPathContext context)
    
protected  Binding[]extendBindingList(Binding[] in)
    
public  ExpressiongetAction()
    
public  intgetLocalSlotNumber()
     If this is a local variable held on the local stack frame, return the corresponding slot number.
public  intgetRequiredSlots()
     Get the number of slots required.
public  RangeVariableDeclarationgetVariableDeclaration()
    
public  intgetVariableFingerprint()
    
public  StringgetVariableName(NamePool pool)
    
public  intgetVariableNameCode()
    
final public  booleanisAssignable()
     Test whether it is permitted to assign to the variable using the saxon:assign extension element.
final public  booleanisGlobal()
     Indicate whether the binding is local or global.
public  IteratoriterateSubExpressions()
    
public  Expressionpromote(PromotionOffer offer)
    
protected  ExpressionpromoteWhereClause(Binding positionBinding)
     Promote a WHERE clause whose condition doesn't depend on the variable being bound.
public  voidsetAction(Expression action)
    
public  voidsetSequence(Expression sequence)
    
public  voidsetSlotNumber(int nr)
    
public  voidsetVariableDeclaration(RangeVariableDeclaration decl)
    
public  Expressionsimplify(StaticContext env)
    
public  voidsuppressValidation(int validationMode)
     Suppress validation on contained element constructors, on the grounds that the parent element is already performing validation.

Field Detail
action
protected Expression action(Code)



declaration
protected transient RangeVariableDeclaration declaration(Code)



nameCode
protected int nameCode(Code)



sequence
protected Expression sequence(Code)



slotNumber
protected int slotNumber(Code)



variableName
protected String variableName(Code)





Method Detail
evaluateVariable
public ValueRepresentation evaluateVariable(XPathContext context) throws XPathException(Code)
Get the value of the range variable



extendBindingList
protected Binding[] extendBindingList(Binding[] in)(Code)
Extend an array of variable bindings to include the binding(s) defined in this expression



getAction
public Expression getAction()(Code)
Get the action expression



getLocalSlotNumber
public int getLocalSlotNumber()(Code)
If this is a local variable held on the local stack frame, return the corresponding slot number. In other cases, return -1.



getRequiredSlots
public int getRequiredSlots()(Code)
Get the number of slots required. Normally 1, except for a FOR expression with an AT clause, where it is 2.



getVariableDeclaration
public RangeVariableDeclaration getVariableDeclaration()(Code)
Get the variable declaration



getVariableFingerprint
public int getVariableFingerprint()(Code)



getVariableName
public String getVariableName(NamePool pool)(Code)
Get the display name of the range variable, for diagnostics only



getVariableNameCode
public int getVariableNameCode()(Code)



isAssignable
final public boolean isAssignable()(Code)
Test whether it is permitted to assign to the variable using the saxon:assign extension element. This will only be for an XSLT global variable where the extra attribute saxon:assignable="yes" is present.



isGlobal
final public boolean isGlobal()(Code)
Indicate whether the binding is local or global. A global binding is one that has a fixed value for the life of a query or transformation; any other binding is local.



iterateSubExpressions
public Iterator iterateSubExpressions()(Code)
Get the immediate subexpressions of this expression



promote
public Expression promote(PromotionOffer offer) throws XPathException(Code)
Promote this expression if possible



promoteWhereClause
protected Expression promoteWhereClause(Binding positionBinding)(Code)
Promote a WHERE clause whose condition doesn't depend on the variable being bound. This rewrites an expression of the form

let $i := SEQ return if (C) then R else ()

to the form:

if (C) then (let $i := SEQ return R) else ()




setAction
public void setAction(Expression action)(Code)
Add the "return" or "satisfies" expression, and fix up all references to the range variable that occur within that expression
Parameters:
  action - the expression that occurs after the "return" keyword of a "for"expression, the "satisfies" keyword of "some/every", or the ":=" operator ofa "let" expression.

This method must be called after calling setVariableDeclaration()




setSequence
public void setSequence(Expression sequence)(Code)
Set the "sequence" expression - the one to which the variable is bound



setSlotNumber
public void setSlotNumber(int nr)(Code)
Set the slot number for the range variable



setVariableDeclaration
public void setVariableDeclaration(RangeVariableDeclaration decl)(Code)
Set the reference to the variable declaration



simplify
public Expression simplify(StaticContext env) throws XPathException(Code)
Simplify the expression



suppressValidation
public void suppressValidation(int validationMode)(Code)
Suppress validation on contained element constructors, on the grounds that the parent element is already performing validation. The default implementation does nothing.



Fields inherited from net.sf.saxon.expr.ComputedExpression
protected int locationId(Code)(Java Doc)
protected int staticProperties(Code)(Java Doc)

Methods inherited from net.sf.saxon.expr.ComputedExpression
public void adoptChildExpression(Expression child)(Code)(Java Doc)
public void checkPermittedContents(SchemaType parentType, StaticContext env, boolean whole) throws XPathException(Code)(Java Doc)
abstract protected int computeCardinality()(Code)(Java Doc)
public int computeDependencies()(Code)(Java Doc)
public int computeSpecialProperties()(Code)(Java Doc)
final public void computeStaticProperties()(Code)(Java Doc)
final public Expression doPromotion(Expression subexpression, PromotionOffer offer) throws XPathException(Code)(Java Doc)
protected void dynamicError(String message, XPathContext context) throws DynamicError(Code)(Java Doc)
protected void dynamicError(String message, String code, XPathContext context) throws DynamicError(Code)(Java Doc)
public boolean effectiveBooleanValue(XPathContext context) throws XPathException(Code)(Java Doc)
public String evaluateAsString(XPathContext context) throws XPathException(Code)(Java Doc)
public Item evaluateItem(XPathContext context) throws XPathException(Code)(Java Doc)
public int getCardinality()(Code)(Java Doc)
public int getColumnNumber()(Code)(Java Doc)
protected int getConstructType()(Code)(Java Doc)
public int getDependencies()(Code)(Java Doc)
public Executable getExecutable()(Code)(Java Doc)
public int getImplementationMethod()(Code)(Java Doc)
public InstructionInfo getInstructionInfo()(Code)(Java Doc)
public int getIntrinsicDependencies()(Code)(Java Doc)
public int getLineNumber()(Code)(Java Doc)
final public int getLocationId()(Code)(Java Doc)
public LocationProvider getLocationProvider()(Code)(Java Doc)
public Container getParentExpression()(Code)(Java Doc)
final public String getPublicId()(Code)(Java Doc)
public int[] getSlotsUsed()(Code)(Java Doc)
final public int getSpecialProperties()(Code)(Java Doc)
public String getSystemId()(Code)(Java Doc)
public boolean hasBadParentPointer()(Code)(Java Doc)
public SequenceIterator iterate(XPathContext context) throws XPathException(Code)(Java Doc)
public Iterator iterateSubExpressions()(Code)(Java Doc)
public boolean markTailFunctionCalls()(Code)(Java Doc)
public void process(XPathContext context) throws XPathException(Code)(Java Doc)
public Expression promote(PromotionOffer offer) throws XPathException(Code)(Java Doc)
final public void resetStaticProperties()(Code)(Java Doc)
public void setLocationId(int id)(Code)(Java Doc)
public void setParentExpression(Container parent)(Code)(Java Doc)
public Expression simplify(StaticContext env) throws XPathException(Code)(Java Doc)
public void suppressValidation(int validationMode)(Code)(Java Doc)
protected void typeError(String message, XPathContext context) throws DynamicError(Code)(Java Doc)
protected void typeError(String message, String errorCode, XPathContext context) throws DynamicError(Code)(Java Doc)

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.