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


java.lang.Object
   net.sf.saxon.style.ExpressionContext

ExpressionContext
public class ExpressionContext implements XSLTStaticContext(Code)
An ExpressionContext represents the context for an XPath expression written in the stylesheet.



Constructor Summary
public  ExpressionContext(StyleElement styleElement)
    

Method Summary
public  VariableReferencebindVariable(int fingerprint)
    
public  StringgetBaseURI()
     Get the Base URI of the element containing the expression, for resolving any relative URI's used in the expression.
public  ComparatorgetCollation(String name)
     Get a named collation.
Parameters:
  name - The name of the required collation.
public  ConfigurationgetConfiguration()
    
public  StringgetDefaultCollationName()
     Get the default collation.
public  shortgetDefaultElementNamespace()
    
public  StringgetDefaultFunctionNamespace()
    
public  intgetFingerprint(String qname, boolean useDefault)
     Get a fingerprint for a name, using this as the context for namespace resolution
Parameters:
  qname - The name as written, in the form "[prefix:]localname"
Parameters:
  useDefault - Defines the action when there is no prefix.
public  FunctionLibrarygetFunctionLibrary()
    
public  SetgetImportedSchemaNamespaces()
    
public  intgetLineNumber()
    
public  LocationMapgetLocationMap()
    
public  NamePoolgetNamePool()
    
public  NamespaceResolvergetNamespaceResolver()
    
public  StyleElementgetStyleElement()
    
public  StringgetSystemId()
    
public  StringgetURIForPrefix(String prefix)
     Get the URI for a prefix, using this Element as the context for namespace resolution.
public  XSLStylesheetgetXSLStylesheet()
    
public  booleanisAllowedBuiltInType(AtomicType type)
     Determine whether a built-in type is available in this context.
public  booleanisElementAvailable(String qname)
    
public  booleanisImportedSchema(String namespace)
    
public  booleanisInBackwardsCompatibleMode()
    
public  voidissueWarning(String s, SourceLocator locator)
    
public  XPathContextmakeEarlyEvaluationContext()
    


Constructor Detail
ExpressionContext
public ExpressionContext(StyleElement styleElement)(Code)




Method Detail
bindVariable
public VariableReference bindVariable(int fingerprint) throws StaticError(Code)
Bind a variable to an object that can be used to refer to it
Parameters:
  fingerprint - The fingerprint of the variable name a VariableDeclaration object that can be used to identify it in the Bindery
throws:
  net.sf.saxon.trans.StaticError - if the variable has not been declared



getBaseURI
public String getBaseURI()(Code)
Get the Base URI of the element containing the expression, for resolving any relative URI's used in the expression. Used by the document() function.



getCollation
public Comparator getCollation(String name)(Code)
Get a named collation.
Parameters:
  name - The name of the required collation. Supply null to get the default collation. the collation; or null if the required collation is not found.



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



getDefaultCollationName
public String getDefaultCollationName()(Code)
Get the default collation. Return null if no default collation has been defined



getDefaultElementNamespace
public short getDefaultElementNamespace()(Code)
Get the default XPath namespace, as a namespace code that can be looked up in the NamePool



getDefaultFunctionNamespace
public String getDefaultFunctionNamespace()(Code)
Get the default function namespace



getFingerprint
public int getFingerprint(String qname, boolean useDefault) throws XPathException(Code)
Get a fingerprint for a name, using this as the context for namespace resolution
Parameters:
  qname - The name as written, in the form "[prefix:]localname"
Parameters:
  useDefault - Defines the action when there is no prefix. If true, usethe default namespace URI (as for element names). If false, use no namespace URI(as for attribute names). -1 if the name is not already present in the name pool



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



getImportedSchemaNamespaces
public Set getImportedSchemaNamespaces()(Code)
Get the set of imported schemas a Set, the set of URIs representing the names of imported schemas



getLineNumber
public int getLineNumber()(Code)
Get the line number of the expression within its containing entity Returns -1 if no line number is available



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



getNamePool
public NamePool getNamePool()(Code)
Get the NamePool used for compiling expressions



getNamespaceResolver
public NamespaceResolver getNamespaceResolver()(Code)
Get a copy of the Namespace Context



getStyleElement
public StyleElement getStyleElement()(Code)
Get the stylesheet element containing this XPath expression the element in the tree representation of the source stylesheet



getSystemId
public String getSystemId()(Code)
Get the System ID of the entity containing the expression (used for diagnostics)



getURIForPrefix
public String getURIForPrefix(String prefix) throws XPathException(Code)
Get the URI for a prefix, using this Element as the context for namespace resolution. The default namespace will not be used when the prefix is empty.
Parameters:
  prefix - The prefix
throws:
  XPathException - if the prefix is not declared



getXSLStylesheet
public XSLStylesheet getXSLStylesheet()(Code)
Get the XSLStylesheet object



isAllowedBuiltInType
public boolean isAllowedBuiltInType(AtomicType type)(Code)
Determine whether a built-in type is available in this context. This method caters for differences between host languages as to which set of types are built in.
Parameters:
  type - the supposedly built-in type. This will always be a type in theXS or XDT namespace. true if this type can be used in this static context



isElementAvailable
public boolean isElementAvailable(String qname) throws XPathException(Code)
Determine if an extension element is available
throws:
  XPathException - if the name is invalid or the prefix is not declared



isImportedSchema
public boolean isImportedSchema(String namespace)(Code)
Test whether a schema has been imported for a given namespace
Parameters:
  namespace - the target namespace of the required schema true if a schema for this namespace has been imported



isInBackwardsCompatibleMode
public boolean isInBackwardsCompatibleMode()(Code)
Determine whether Backwards Compatible Mode is used



issueWarning
public void issueWarning(String s, SourceLocator locator)(Code)
Issue a compile-time warning



makeEarlyEvaluationContext
public XPathContext makeEarlyEvaluationContext()(Code)
Construct a dynamic context for early evaluation of constant subexpressions



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.