Java Doc for XPathContextMajor.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.XPathContextMinor
      net.sf.saxon.expr.XPathContextMajor

XPathContextMajor
public class XPathContextMajor extends XPathContextMinor (Code)
This class represents a "major context" in which an XPath expression is evaluated: a "major context" object allows all aspects of the dynamic context to change, whereas a "minor context" only allows changes to the focus and the destination for push output.

Inner Class :protected static class XSLTContext


Constructor Summary
public  XPathContextMajor(Controller c)
     Constructor should only be called by the Controller, which acts as a XPathContext factory.
public  XPathContextMajor(Item item, Configuration config)
     Constructor for use in free-standing Java applications.

Method Summary
public  ValueRepresentationevaluateLocalVariable(int slotnumber)
    
public  GroupIteratorgetCurrentGroupIterator()
     Get the current group iterator.
public  ModegetCurrentMode()
     Get the current mode. the current mode.
public  RegexIteratorgetCurrentRegexIterator()
     Get the current regex iterator.
public  TemplategetCurrentTemplate()
     Get the current template.
public  ParameterSetgetLocalParameters()
     Get the local parameters for the current template call.
public  StackFramegetStackFrame()
     Get a reference to the local stack frame for variables.
public  ParameterSetgetTunnelParameters()
     Get the tunnel parameters for the current template call.
public  XSLTContextgetXSLTContext()
    
public  XPathContextMajornewContext()
     Construct a new context as a copy of another.
public static  XPathContextMajornewContext(XPathContextMinor p)
    
public  voidopenStackFrame(SlotManager map)
    
public  voidopenStackFrame(int numberOfVariables)
     Create a new stack frame large enough to hold a given number of local variables, for which no stack frame map is available.
public  voidsetCurrentGroupIterator(GroupIterator collection)
     Set the current grouping iterator.
public  voidsetCurrentMode(Mode mode)
     Set the current mode.
public  voidsetCurrentRegexIterator(RegexIterator currentRegexIterator)
     Set the current regex iterator.
public  voidsetCurrentTemplate(Template template)
     Set the current template.
public  voidsetLocalParameters(ParameterSet localParameters)
     Set the local parameters for the current template call.
public  voidsetLocalVariable(int slotnumber, ValueRepresentation value)
    
public  voidsetOrigin(InstructionInfoProvider expr)
     Set the creating expression (for use in diagnostics).
public  voidsetStackFrame(SlotManager map, ValueRepresentation[] variables)
     Set the local stack frame.
public  voidsetTunnelParameters(ParameterSet tunnelParameters)
     Set the tunnel parameters for the current template call.
public  booleanuseLocalParameter(int fingerprint, LocalParam binding, boolean isTunnel)
     Use local parameter.


Constructor Detail
XPathContextMajor
public XPathContextMajor(Controller c)(Code)
Constructor should only be called by the Controller, which acts as a XPathContext factory.



XPathContextMajor
public XPathContextMajor(Item item, Configuration config)(Code)
Constructor for use in free-standing Java applications.




Method Detail
evaluateLocalVariable
public ValueRepresentation evaluateLocalVariable(int slotnumber)(Code)
Get the value of a local variable, identified by its slot number



getCurrentGroupIterator
public GroupIterator getCurrentGroupIterator()(Code)
Get the current group iterator. This supports the current-group() and current-grouping-key() functions in XSLT 2.0 the current grouped collection



getCurrentMode
public Mode getCurrentMode()(Code)
Get the current mode. the current mode. May return null if the current mode is the default mode.



getCurrentRegexIterator
public RegexIterator getCurrentRegexIterator()(Code)
Get the current regex iterator. This supports the functionality of the regex-group() function in XSLT 2.0. the current regular expressions iterator



getCurrentTemplate
public Template getCurrentTemplate()(Code)
Get the current template. This is used to support xsl:apply-imports the current template



getLocalParameters
public ParameterSet getLocalParameters()(Code)
Get the local parameters for the current template call. the supplied parameters



getStackFrame
public StackFrame getStackFrame()(Code)
Get a reference to the local stack frame for variables. Note that it's the caller's job to make a local copy of this. This is used for creating a Closure containing a retained copy of the variables for delayed evaluation. array of variables.



getTunnelParameters
public ParameterSet getTunnelParameters()(Code)
Get the tunnel parameters for the current template call. the supplied tunnel parameters



getXSLTContext
public XSLTContext getXSLTContext()(Code)
Get the XSLT-specific part of the context



newContext
public XPathContextMajor newContext()(Code)
Construct a new context as a copy of another. The new context is effectively added to the top of a stack, and contains a pointer to the previous context



newContext
public static XPathContextMajor newContext(XPathContextMinor p)(Code)



openStackFrame
public void openStackFrame(SlotManager map)(Code)
Create a new stack frame for local variables, using the supplied SlotManager to define the allocation of slots to individual variables
Parameters:
  map - the SlotManager for the new stack frame



openStackFrame
public void openStackFrame(int numberOfVariables)(Code)
Create a new stack frame large enough to hold a given number of local variables, for which no stack frame map is available. This is used in particular when evaluating match patterns of template rules.
Parameters:
  numberOfVariables - The number of local variables to be accommodated.



setCurrentGroupIterator
public void setCurrentGroupIterator(GroupIterator collection)(Code)
Set the current grouping iterator. This supports the current-group() and current-grouping-key() functions in XSLT 2.0
Parameters:
  collection - the new current GroupIterator



setCurrentMode
public void setCurrentMode(Mode mode)(Code)
Set the current mode.
Parameters:
  mode - the new current mode



setCurrentRegexIterator
public void setCurrentRegexIterator(RegexIterator currentRegexIterator)(Code)
Set the current regex iterator. This supports the functionality of the regex-group() function in XSLT 2.0.
Parameters:
  currentRegexIterator - the current regex iterator



setCurrentTemplate
public void setCurrentTemplate(Template template)(Code)
Set the current template. This is used to support xsl:apply-imports. The caller is responsible for remembering the previous current template and resetting it after use.
Parameters:
  template - the current template



setLocalParameters
public void setLocalParameters(ParameterSet localParameters)(Code)
Set the local parameters for the current template call.
Parameters:
  localParameters - the supplied parameters



setLocalVariable
public void setLocalVariable(int slotnumber, ValueRepresentation value)(Code)
Set the value of a local variable, identified by its slot number



setOrigin
public void setOrigin(InstructionInfoProvider expr)(Code)
Set the creating expression (for use in diagnostics). The origin is generally set to "this" by the object that creates the new context. It's up to the debugger to determine whether this information is useful. The object will either be an InstructionInfoProvider , allowing information about the calling instruction to be obtained, or null.



setStackFrame
public void setStackFrame(SlotManager map, ValueRepresentation[] variables)(Code)
Set the local stack frame. This method is used when creating a Closure to support delayed evaluation of expressions. The "stack frame" is actually on the Java heap, which means it can survive function returns and the like.



setTunnelParameters
public void setTunnelParameters(ParameterSet tunnelParameters)(Code)
Set the tunnel parameters for the current template call.
Parameters:
  tunnelParameters - the supplied tunnel parameters



useLocalParameter
public boolean useLocalParameter(int fingerprint, LocalParam binding, boolean isTunnel) throws XPathException(Code)
Use local parameter. This is called when a local xsl:param element is processed. If a parameter of the relevant name was supplied, it is bound to the xsl:param element. Otherwise the method returns false, so the xsl:param default will be evaluated
Parameters:
  fingerprint - The fingerprint of the parameter name
Parameters:
  binding - The XSLParam element to bind its value to
Parameters:
  isTunnel - True if a tunnel parameter is required, else false true if a parameter of this name was supplied, false if not



Fields inherited from net.sf.saxon.expr.XPathContextMinor
XPathContext caller(Code)(Java Doc)
Controller controller(Code)(Java Doc)
SequenceIterator currentIterator(Code)(Java Doc)
SequenceReceiver currentReceiver(Code)(Java Doc)
boolean isTemporaryDestination(Code)(Java Doc)
int last(Code)(Java Doc)
Object origin(Code)(Java Doc)

Methods inherited from net.sf.saxon.expr.XPathContextMinor
public void changeOutputDestination(Properties props, Result result, boolean isFinal, int validation, SchemaType schemaType) throws XPathException(Code)(Java Doc)
public ValueRepresentation evaluateLocalVariable(int slotnumber)(Code)(Java Doc)
final public XPathContext getCaller()(Code)(Java Doc)
final public Comparator getCollation(String name) throws XPathException(Code)(Java Doc)
final public Configuration getConfiguration()(Code)(Java Doc)
final public Item getContextItem()(Code)(Java Doc)
final public int getContextPosition() throws DynamicError(Code)(Java Doc)
final public Controller getController()(Code)(Java Doc)
public GroupIterator getCurrentGroupIterator()(Code)(Java Doc)
final public SequenceIterator getCurrentIterator()(Code)(Java Doc)
public Mode getCurrentMode()(Code)(Java Doc)
public RegexIterator getCurrentRegexIterator()(Code)(Java Doc)
public Template getCurrentTemplate()(Code)(Java Doc)
final public Comparator getDefaultCollation()(Code)(Java Doc)
final public int getImplicitTimezone()(Code)(Java Doc)
final public int getLast() throws XPathException(Code)(Java Doc)
public ParameterSet getLocalParameters()(Code)(Java Doc)
final public NameChecker getNameChecker()(Code)(Java Doc)
final public NamePool getNamePool()(Code)(Java Doc)
public InstructionInfoProvider getOrigin()(Code)(Java Doc)
public int getOriginatingConstructType()(Code)(Java Doc)
final public SequenceReceiver getReceiver()(Code)(Java Doc)
public StackFrame getStackFrame()(Code)(Java Doc)
public ParameterSet getTunnelParameters()(Code)(Java Doc)
public XPathContextMajor.XSLTContext getXSLTContext()(Code)(Java Doc)
final public boolean isAtLast() throws XPathException(Code)(Java Doc)
public XPathContextMajor newCleanContext()(Code)(Java Doc)
public XPathContextMajor newContext()(Code)(Java Doc)
public XPathContextMinor newMinorContext()(Code)(Java Doc)
public void setCaller(XPathContext caller)(Code)(Java Doc)
public void setCurrentIterator(SequenceIterator iter)(Code)(Java Doc)
public void setLocalVariable(int slotnumber, ValueRepresentation value)(Code)(Java Doc)
public void setOrigin(InstructionInfoProvider expr)(Code)(Java Doc)
public void setOriginatingConstructType(int loc)(Code)(Java Doc)
public void setReceiver(SequenceReceiver receiver)(Code)(Java Doc)
public void setTemporaryReceiver(SequenceReceiver out)(Code)(Java Doc)
public boolean useLocalParameter(int fingerprint, LocalParam binding, boolean isTunnel) throws XPathException(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.