Java Doc for Executable.java in  » XML » saxonb » net » sf » saxon » instruct » 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.instruct 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.saxon.instruct.Executable

Executable
public class Executable implements Serializable(Code)
A compiled stylesheet or a query in executable form. Note that the original stylesheet tree is not retained.



Constructor Summary
public  Executable()
    

Method Summary
public  voidaddQueryLibraryModule(StaticQueryContext module)
     Add an XQuery library module to the configuration.
public  voidaddRequiredParam(int fingerprint)
    
public  voidcheckAllRequiredParamsArePresent(GlobalParameterSet params)
    
public  voidfixupQueryModules(StaticQueryContext main)
     Fix up global variables and functions in all query modules.
public  IntHashMapgetCharacterMapIndex()
    
public  HashMapgetCollationTable()
    
public  IntHashMapgetCompiledGlobalVariables()
     Get the index of global variables the index of global variables.
public  ConfigurationgetConfiguration()
    
public  DecimalFormatManagergetDecimalFormatManager()
    
public  ComparatorgetDefaultCollation()
    
public  StringgetDefaultCollationName()
    
public  PropertiesgetDefaultOutputProperties()
    
public  FunctionLibrarygetFunctionLibrary()
    
public  SlotManagergetGlobalVariableMap()
    
public  intgetHostLanguage()
    
public  KeyManagergetKeyManager()
    
public  intgetLargestPatternStackFrame()
    
public  LocationMapgetLocationMap()
    
public  ComparatorgetNamedCollation(String name)
     Find a named collation.
public  TemplategetNamedTemplate(int fingerprint)
     Get the named template with a given name.
public  IntHashMapgetNamedTemplateTable()
     Get the named template table.
public  PropertiesgetOutputProperties(int fingerprint)
     Get a named output format
Parameters:
  fingerprint - the name of the output format properties the properties of the output format.
public  ListgetQueryLibraryModules(String namespace)
     Locate the known XQuery library modules for a given module namespace.
public  StringgetReasonUnableToCompile()
    
public  RuleManagergetRuleManager()
    
public  ModegetStripperRules()
     Get the rules determining which nodes are to be stripped from the tree a Mode object containing the whitespace stripping rules.
public  voidinitialiseBindery(Bindery bindery)
    
public  StrippernewStripper()
    
public  voidputNamedTemplate(int fingerprint, Template template)
    
public  voidregisterGlobalVariable(GlobalVariable variable)
    
public  voidsetCharacterMapIndex(IntHashMap cmi)
    
public  voidsetCollationTable(HashMap table)
    
public  voidsetConfiguration(Configuration config)
    
public  voidsetDecimalFormatManager(DecimalFormatManager dfm)
    
public  voidsetDefaultCollationName(String name)
    
public  voidsetDefaultOutputProperties(Properties properties)
    
public  voidsetFunctionLibrary(FunctionLibrary functionLibrary)
    
public  voidsetHostLanguage(int language)
    
public  voidsetKeyManager(KeyManager km)
    
public  voidsetLocationMap(LocationMap map)
    
public  voidsetOutputProperties(int fingerprint, Properties properties)
    
public  voidsetPatternSlotSpace(int patternLocals)
    
public  voidsetReasonUnableToCompile(String reason)
    
public  voidsetRuleManager(RuleManager rm)
    
public  voidsetStripperRules(Mode rules)
     Set the rules determining which nodes are to be stripped from the tree
Parameters:
  rules - a Mode object containing the whitespace stripping rules.
public  voidsetStripsInputTypeAnnotations(boolean strips)
    
public  voidsetStripsWhitespace(boolean strips)
    
public  booleanstripsInputTypeAnnotations()
    
public  booleanstripsWhitespace()
    


Constructor Detail
Executable
public Executable()(Code)




Method Detail
addQueryLibraryModule
public void addQueryLibraryModule(StaticQueryContext module)(Code)
Add an XQuery library module to the configuration. The Executable maintains a table indicating for each module namespace, the set of modules that have been loaded from that namespace. If a module import is encountered that specifies no location hint, all the known modules for that namespace are imported.



addRequiredParam
public void addRequiredParam(int fingerprint)(Code)
Add a required parameter



checkAllRequiredParamsArePresent
public void checkAllRequiredParamsArePresent(GlobalParameterSet params) throws XPathException(Code)
Check that all required parameters have been supplied



fixupQueryModules
public void fixupQueryModules(StaticQueryContext main) throws XPathException(Code)
Fix up global variables and functions in all query modules. This is done right at the end, because recursive imports are permitted



getCharacterMapIndex
public IntHashMap getCharacterMapIndex()(Code)
Get the index of named character maps the hash table that maps the names of character mapsto the HashMap objects representing the character maps



getCollationTable
public HashMap getCollationTable()(Code)
Get the table of collations a hash table that maps collation names (URIs) to objects representing thecollation information



getCompiledGlobalVariables
public IntHashMap getCompiledGlobalVariables()(Code)
Get the index of global variables the index of global variables. This is a HashMap in which the key is the integer fingerprintof the variable name, and the value is the GlobalVariable object representing the compiled global variable



getConfiguration
public Configuration getConfiguration()(Code)
Get the configuration



getDecimalFormatManager
public DecimalFormatManager getDecimalFormatManager()(Code)
Get the DecimalFormatManager which handles decimal-format definitions the DecimalFormatManager containing the named xsl:decimal-format definitions



getDefaultCollation
public Comparator getDefaultCollation()(Code)
Get the default collation a Comparator that implements the default collation



getDefaultCollationName
public String getDefaultCollationName()(Code)
Get the name of the default collation the name of the default collation; this is the code point collation URI if no other defaulthas been set up.



getDefaultOutputProperties
public Properties getDefaultOutputProperties()(Code)
Get the default output properties the properties for the unnamed output format



getFunctionLibrary
public FunctionLibrary getFunctionLibrary()(Code)
Get the library containing all the in-scope functions in the static context the function libary



getGlobalVariableMap
public SlotManager getGlobalVariableMap()(Code)
Get the global variable map the SlotManager defining the allocation of slots to global variables



getHostLanguage
public int getHostLanguage()(Code)
Get the host language a value identifying the host language: Configuration.XQUERY or Configuration.XSLTor Configuration.JAVA_APPLICATION



getKeyManager
public KeyManager getKeyManager()(Code)
Get the KeyManager which handles key definitions the KeyManager containing the xsl:key definitions



getLargestPatternStackFrame
public int getLargestPatternStackFrame()(Code)
Determine the size of the stack frame needed for evaluating match patterns



getLocationMap
public LocationMap getLocationMap()(Code)
Get the location map



getNamedCollation
public Comparator getNamedCollation(String name)(Code)
Find a named collation.
Parameters:
  name - identifies the name of the collation required; null indicates that the defaultcollation is required the requested collation, or null if the collation is not found



getNamedTemplate
public Template getNamedTemplate(int fingerprint)(Code)
Get the named template with a given name.
Parameters:
  fingerprint - The namepool fingerprint of the template name The template (of highest import precedence) with this name if there is one;null if none is found.



getNamedTemplateTable
public IntHashMap getNamedTemplateTable()(Code)
Get the named template table. Provided for use by tools allowing selection of a transformation entry point from a supplied list. a hash table containing entries that map the names of namedtemplates (in the form of namePool fingerprints) to the Template objects representingthe compiled xsl:template element in the stylesheet.



getOutputProperties
public Properties getOutputProperties(int fingerprint)(Code)
Get a named output format
Parameters:
  fingerprint - the name of the output format properties the properties of the output format. Return null if there areno output properties with the given name



getQueryLibraryModules
public List getQueryLibraryModules(String namespace)(Code)
Locate the known XQuery library modules for a given module namespace.
Parameters:
  namespace - the module namespace URI a list of items each of which is the StaticQueryContext representing a module, ornull if the module namespace is unknown



getReasonUnableToCompile
public String getReasonUnableToCompile()(Code)
Determine whether this executable can be compiled; and if it can't, return the reason why null if the executable can be compiled, or a message otherwise



getRuleManager
public RuleManager getRuleManager()(Code)
Get the RuleManager which handles template rules the RuleManager registered with setRuleManager



getStripperRules
public Mode getStripperRules()(Code)
Get the rules determining which nodes are to be stripped from the tree a Mode object containing the whitespace stripping rules. A Modeis generally a collection of template rules, but it is reused here to representa collection of stripping rules.



initialiseBindery
public void initialiseBindery(Bindery bindery)(Code)
Allocate space in bindery for all the variables needed
Parameters:
  bindery - The bindery to be initialized



newStripper
public Stripper newStripper()(Code)
Create a Stripper which handles whitespace stripping definitions the constructed Stripper object



putNamedTemplate
public void putNamedTemplate(int fingerprint, Template template)(Code)
Register the named template with a given name



registerGlobalVariable
public void registerGlobalVariable(GlobalVariable variable)(Code)
Register a global variable



setCharacterMapIndex
public void setCharacterMapIndex(IntHashMap cmi)(Code)
Set the index of named character maps
Parameters:
  cmi - a hash table that maps the names of character mapsto the HashMap objects representing the character maps



setCollationTable
public void setCollationTable(HashMap table)(Code)
Set the table of collations
Parameters:
  table - a hash table that maps collation names (URIs) to objects representing thecollation information



setConfiguration
public void setConfiguration(Configuration config)(Code)
Set the configuration



setDecimalFormatManager
public void setDecimalFormatManager(DecimalFormatManager dfm)(Code)
Set the DecimalFormatManager which handles decimal-format definitions
Parameters:
  dfm - the DecimalFormatManager containing the named xsl:decimal-format definitions



setDefaultCollationName
public void setDefaultCollationName(String name)(Code)
Set the default collation
Parameters:
  name - the name of the default collation



setDefaultOutputProperties
public void setDefaultOutputProperties(Properties properties)(Code)
Set the default output properties (the properties for the unnamed output format)
Parameters:
  properties - the output properties to be used when the unnamed output formatis selected



setFunctionLibrary
public void setFunctionLibrary(FunctionLibrary functionLibrary)(Code)
Set the library containing all the in-scope functions in the static context
Parameters:
  functionLibrary - the function libary



setHostLanguage
public void setHostLanguage(int language)(Code)
Set the host language



setKeyManager
public void setKeyManager(KeyManager km)(Code)
Set the KeyManager which handles key definitions
Parameters:
  km - the KeyManager containing the xsl:key definitions



setLocationMap
public void setLocationMap(LocationMap map)(Code)
Set the location map



setOutputProperties
public void setOutputProperties(int fingerprint, Properties properties)(Code)
An a named output format
Parameters:
  fingerprint - the name of the output format
Parameters:
  properties - the properties of the output format



setPatternSlotSpace
public void setPatternSlotSpace(int patternLocals)(Code)
Set the space requirements for variables used in template match patterns
Parameters:
  patternLocals - The largest number of local variables used in the match pattern of any template rule



setReasonUnableToCompile
public void setReasonUnableToCompile(String reason)(Code)
If this Executable can't be compiled, set a message explaining why



setRuleManager
public void setRuleManager(RuleManager rm)(Code)
Set the RuleManager that handles template rules
Parameters:
  rm - the RuleManager containing details of all the template rules



setStripperRules
public void setStripperRules(Mode rules)(Code)
Set the rules determining which nodes are to be stripped from the tree
Parameters:
  rules - a Mode object containing the whitespace stripping rules. A Modeis generally a collection of template rules, but it is reused here to representa collection of stripping rules.



setStripsInputTypeAnnotations
public void setStripsInputTypeAnnotations(boolean strips)(Code)
Set whether source documents are to have their type annotations stripped



setStripsWhitespace
public void setStripsWhitespace(boolean strips)(Code)
Indicate that the stylesheet does some whitespace stripping
Parameters:
  strips - true if the stylesheet performs whitespace strippingof one or more elements.



stripsInputTypeAnnotations
public boolean stripsInputTypeAnnotations()(Code)
Determine whether source documents are to have their type annotations stripped



stripsWhitespace
public boolean stripsWhitespace()(Code)
Determine whether this stylesheet does any whitespace stripping true if the stylesheet performs whitespace strippingof one or more elements.



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.