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


java.lang.Object
   net.sf.saxon.query.XQueryFunction

XQueryFunction
public class XQueryFunction implements InstructionInfo,Container,Declaration(Code)


Field Summary
 Listarguments
    
 Expressionbody
    
 intcolumnNumber
    
 intlineNumber
    
 NamespaceResolvernamespaceResolver
    
 Listreferences
    
 SequenceTyperesultType
    
 StringsystemId
    

Constructor Summary
public  XQueryFunction()
    

Method Summary
public  voidcheckReferences(StaticContext env)
    
public  UserFunctioncompile(StaticQueryContext env)
    
public  voidexplain(NamePool pool)
    
public  voidfixupReferences(StaticContext env)
    
public  SequenceType[]getArgumentTypes()
    
public  intgetColumnNumber()
    
public  intgetConstructType()
     Get the type of construct.
public  ExecutablegetExecutable()
    
public  StringgetFunctionDisplayName(NamePool pool)
    
public  intgetFunctionFingerprint()
    
public  intgetLineNumber()
     Get the line number of the instruction in the source stylesheet module.
public  intgetLineNumber(int locationId)
    
public  LocationProvidergetLocationProvider()
     Get the LocationProvider allowing location identifiers to be resolved.
public  intgetNameCode()
    
public  NamespaceResolvergetNamespaceResolver()
     Get the namespace context of the instruction.
public  intgetNumberOfArguments()
    
public  intgetObjectNameCode()
     Get a name identifying the object of the expression, for example a function name, template name, variable name, key name, element name, etc.
public  UserFunctionParameter[]getParameterDefinitions()
    
public  IteratorgetProperties()
     Get an iterator over all the properties available.
public  ObjectgetProperty(String name)
     Get the value of a particular property of the instruction.
public  StringgetPublicId()
     Return the public identifier for the current document event.
public  SequenceTypegetResultType()
    
public  StaticContextgetStaticContext()
    
public  StringgetSystemId()
     Get the system identifier (URI) of the source module containing the instruction.
public  StringgetSystemId(int locationId)
    
public  UserFunctiongetUserFunction()
     Get the callable compiled function contained within this XQueryFunction definition.
public  voidregisterReference(UserFunctionCall ufc)
    
public  voidsetExecutable(Executable exec)
    
public  voidsetNameCode(int nameCode)
    

Field Detail
arguments
List arguments(Code)



body
Expression body(Code)



columnNumber
int columnNumber(Code)



lineNumber
int lineNumber(Code)



namespaceResolver
NamespaceResolver namespaceResolver(Code)



references
List references(Code)



resultType
SequenceType resultType(Code)



systemId
String systemId(Code)




Constructor Detail
XQueryFunction
public XQueryFunction()(Code)




Method Detail
checkReferences
public void checkReferences(StaticContext env) throws XPathException(Code)
Type-check references to this function



compile
public UserFunction compile(StaticQueryContext env) throws StaticError(Code)



explain
public void explain(NamePool pool)(Code)
Produce diagnostic output showing the compiled and optimized expression tree for a function
Parameters:
  pool - the namepool to be used



fixupReferences
public void fixupReferences(StaticContext env) throws XPathException(Code)
Fix up references to this function



getArgumentTypes
public SequenceType[] getArgumentTypes()(Code)



getColumnNumber
public int getColumnNumber()(Code)
Return the column number The column number, or -1 if none is available.
See Also:   XQueryFunction.getLineNumber



getConstructType
public int getConstructType()(Code)
Get the type of construct. This will be a constant in class Location .



getExecutable
public Executable getExecutable()(Code)



getFunctionDisplayName
public String getFunctionDisplayName(NamePool pool)(Code)



getFunctionFingerprint
public int getFunctionFingerprint()(Code)



getLineNumber
public int getLineNumber()(Code)
Get the line number of the instruction in the source stylesheet module. If this is not known, or if the instruction is an artificial one that does not relate to anything in the source code, the value returned may be -1.



getLineNumber
public int getLineNumber(int locationId)(Code)



getLocationProvider
public LocationProvider getLocationProvider()(Code)
Get the LocationProvider allowing location identifiers to be resolved.



getNameCode
public int getNameCode()(Code)



getNamespaceResolver
public NamespaceResolver getNamespaceResolver()(Code)
Get the namespace context of the instruction. This will not always be available, in which case the method returns null.



getNumberOfArguments
public int getNumberOfArguments()(Code)



getObjectNameCode
public int getObjectNameCode()(Code)
Get a name identifying the object of the expression, for example a function name, template name, variable name, key name, element name, etc. This is used only where the name is known statically.



getParameterDefinitions
public UserFunctionParameter[] getParameterDefinitions()(Code)



getProperties
public Iterator getProperties()(Code)
Get an iterator over all the properties available. The values returned by the iterator will be of type String, and each string can be supplied as input to the getProperty() method to retrieve the value of the property.



getProperty
public Object getProperty(String name)(Code)
Get the value of a particular property of the instruction. Properties of XSLT instructions are generally known by the name of the stylesheet attribute that defines them.
Parameters:
  name - The name of the required property The value of the requested property, or null if the property is not available



getPublicId
public String getPublicId()(Code)
Return the public identifier for the current document event. A string containing the public identifier, ornull if none is available.
See Also:   XQueryFunction.getSystemId



getResultType
public SequenceType getResultType()(Code)



getStaticContext
public StaticContext getStaticContext()(Code)



getSystemId
public String getSystemId()(Code)
Get the system identifier (URI) of the source module containing the instruction. This will generally be an absolute URI. If the system identifier is not known, the method may return null. In some cases, for example where XML external entities are used, the correct system identifier is not always retained.



getSystemId
public String getSystemId(int locationId)(Code)



getUserFunction
public UserFunction getUserFunction()(Code)
Get the callable compiled function contained within this XQueryFunction definition.



registerReference
public void registerReference(UserFunctionCall ufc)(Code)



setExecutable
public void setExecutable(Executable exec)(Code)



setNameCode
public void setNameCode(int nameCode)(Code)



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.