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

UseWhenStaticContext
public class UseWhenStaticContext implements XSLTStaticContext(Code)
This class implements the static context used for evaluating use-when expressions in XSLT 2.0


Field Summary
public  StringbaseURI
    
public  Configurationconfig
    
public  shortdefaultXPathNamespace
    
public  FunctionLibraryfunctionLibrary
    
public  LocationMaplocationMap
    
public  NamespaceResolvernamespaceContext
    
public  StyleNodeFactorynodeFactory
    

Constructor Summary
public  UseWhenStaticContext(Configuration config, NamespaceResolver namespaceContext)
    

Method Summary
public  VariableReferencebindVariable(int fingerprint)
    
public  StringgetBaseURI()
     Get the Base URI of the stylesheet element, 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 name of the default collation.
public  shortgetDefaultElementNamespace()
    
public  StringgetDefaultFunctionNamespace()
    
public  FunctionLibrarygetFunctionLibrary()
    
public  SetgetImportedSchemaNamespaces()
    
public  intgetLineNumber()
    
public  LocationMapgetLocationMap()
    
public  NamePoolgetNamePool()
    
public  NamespaceResolvergetNamespaceResolver()
     Get a namespace resolver to resolve the namespaces declared in this static context.
public  StringgetSystemId()
     Get the System ID of the container of the expression.
public  StringgetURIForPrefix(String prefix)
     Get the URI for a namespace prefix.
public  booleanisAllowedBuiltInType(AtomicType type)
     Determine whether a built-in type is available in this context.
public  booleanisElementAvailable(String qname)
    
public  booleanisImportedSchema(String namespace)
     Determine whether a Schema for a given target namespace has been imported.
public  booleanisInBackwardsCompatibleMode()
    
public  voidissueWarning(String s, SourceLocator locator)
    
public  XPathContextmakeEarlyEvaluationContext()
    
public  voidsetBaseURI(String uri)
    
public  voidsetDefaultElementNamespace(short code)
    

Field Detail
baseURI
public String baseURI(Code)



config
public Configuration config(Code)



defaultXPathNamespace
public short defaultXPathNamespace(Code)



functionLibrary
public FunctionLibrary functionLibrary(Code)



locationMap
public LocationMap locationMap(Code)



namespaceContext
public NamespaceResolver namespaceContext(Code)



nodeFactory
public StyleNodeFactory nodeFactory(Code)




Constructor Detail
UseWhenStaticContext
public UseWhenStaticContext(Configuration config, NamespaceResolver namespaceContext)(Code)




Method Detail
bindVariable
public VariableReference bindVariable(int fingerprint) throws StaticError(Code)
Bind a variable used in this element to the XSLVariable element in which it is declared



getBaseURI
public String getBaseURI()(Code)
Get the Base URI of the stylesheet element, for resolving any relative URI's used in the expression. Used by the document(), doc(), resolve-uri(), and base-uri() functions. May return null if the base URI is not known.



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 name of the default collation. the name of the default collation; or the name of the codepoint collationif 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



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 namespace resolver to resolve the namespaces declared in this static context. a namespace resolver.



getSystemId
public String getSystemId()(Code)
Get the System ID of the container of the expression. This is the containing entity (file) and is therefore useful for diagnostics. Use getBaseURI() to get the base URI, which may be different.



getURIForPrefix
public String getURIForPrefix(String prefix) throws XPathException(Code)
Get the URI for a namespace prefix. The default namespace is NOT used when the prefix is empty.
Parameters:
  prefix - The prefix
throws:
  net.sf.saxon.trans.XPathException - if the prefix is not declared



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:
  net.sf.saxon.trans.XPathException - if the name is invalid or the prefix is not declared



isImportedSchema
public boolean isImportedSchema(String namespace)(Code)
Determine whether a Schema for a given target namespace has been imported. Note that the in-scope element declarations, attribute declarations and schema types are the types registered with the (schema-aware) configuration, provided that their namespace URI is registered in the static context as being an imported schema namespace. (A consequence of this is that within a Configuration, there can only be one schema for any given namespace, including the null namespace).



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



setBaseURI
public void setBaseURI(String uri)(Code)
Set the base URI



setDefaultElementNamespace
public void setDefaultElementNamespace(short code)(Code)
Set the default namespace for elements and types



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.