Java Doc for FunctionTable.java in  » XML » xalan » org » apache » xpath » compiler » 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 » xalan » org.apache.xpath.compiler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.xpath.compiler.FunctionTable

FunctionTable
public class FunctionTable (Code)
The function table for XPath.


Field Summary
final public static  intFUNC_BOOLEAN
     The 'boolean()' id.
final public static  intFUNC_CEILING
     The 'ceiling()' id.
final public static  intFUNC_CONCAT
     The 'concat()' id.
final public static  intFUNC_CONTAINS
     The 'contains()' id.
final public static  intFUNC_COUNT
     The 'count()' id.
final public static  intFUNC_CURRENT
     The 'current()' id.
final public static  intFUNC_DOCLOCATION
     The 'document-location()' id (Proprietary).
final public static  intFUNC_EXT_ELEM_AVAILABLE
     The 'element-available()' id (XSLT).
final public static  intFUNC_EXT_FUNCTION_AVAILABLE
     The 'function-available()' id (XSLT).
final public static  intFUNC_FALSE
     The 'false()' id.
final public static  intFUNC_FLOOR
     The 'floor()' id.
final public static  intFUNC_GENERATE_ID
     The 'generate-id()' id.
final public static  intFUNC_ID
     The 'id()' id.
final public static  intFUNC_KEY
     The 'key()' id (XSLT).
final public static  intFUNC_LANG
     The 'lang()' id.
final public static  intFUNC_LAST
     The 'last()' id.
final public static  intFUNC_LOCAL_PART
     The 'local-name()' id.
final public static  intFUNC_NAMESPACE
     The 'namespace-uri()' id.
final public static  intFUNC_NORMALIZE_SPACE
     The 'normalize-space()' id.
final public static  intFUNC_NOT
     The 'not()' id.
final public static  intFUNC_NUMBER
     The 'number()' id.
final public static  intFUNC_POSITION
     The 'position()' id.
final public static  intFUNC_QNAME
     The 'name()' id.
final public static  intFUNC_ROUND
     The 'round()' id.
final public static  intFUNC_STARTS_WITH
     The 'starts-with()' id.
final public static  intFUNC_STRING
     The 'string()' id.
final public static  intFUNC_STRING_LENGTH
     The 'string-length()' id.
final public static  intFUNC_SUBSTRING
     The 'substring()' id.
final public static  intFUNC_SUBSTRING_AFTER
     The 'substring-after()' id.
final public static  intFUNC_SUBSTRING_BEFORE
     The 'substring-before()' id.
final public static  intFUNC_SUM
     The 'sum()' id.
final public static  intFUNC_SYSTEM_PROPERTY
     The 'system-property()' id.
final public static  intFUNC_TRANSLATE
     The 'translate()' id.
final public static  intFUNC_TRUE
     The 'true()' id.
final public static  intFUNC_UNPARSED_ENTITY_URI
     The 'unparsed-entity-uri()' id (XSLT).

Constructor Summary
public  FunctionTable()
    

Method Summary
public  booleanfunctionAvailable(String methName)
     Tell if a built-in, non-namespaced function is available.
Parameters:
  methName - The local name of the function.
 FunctiongetFunction(int which)
     Obtain a new Function object from a function ID.
Parameters:
  which - The function ID, which may correspond to one of the FUNC_XXX values found in org.apache.xpath.compiler.FunctionTable, but may be a value installed by an external module.
 ObjectgetFunctionID(String key)
     Obtain a function ID from a given function name
Parameters:
  key - the function name in a java.lang.String format.
 StringgetFunctionName(int funcID)
     Return the name of the a function in the static table.
public  intinstallFunction(String name, Class func)
     Install a built-in function.
Parameters:
  name - The unqualified name of the function, must not be null
Parameters:
  func - A Implementation of an XPath Function object.

Field Detail
FUNC_BOOLEAN
final public static int FUNC_BOOLEAN(Code)
The 'boolean()' id.



FUNC_CEILING
final public static int FUNC_CEILING(Code)
The 'ceiling()' id.



FUNC_CONCAT
final public static int FUNC_CONCAT(Code)
The 'concat()' id.



FUNC_CONTAINS
final public static int FUNC_CONTAINS(Code)
The 'contains()' id.



FUNC_COUNT
final public static int FUNC_COUNT(Code)
The 'count()' id.



FUNC_CURRENT
final public static int FUNC_CURRENT(Code)
The 'current()' id.



FUNC_DOCLOCATION
final public static int FUNC_DOCLOCATION(Code)
The 'document-location()' id (Proprietary).



FUNC_EXT_ELEM_AVAILABLE
final public static int FUNC_EXT_ELEM_AVAILABLE(Code)
The 'element-available()' id (XSLT).



FUNC_EXT_FUNCTION_AVAILABLE
final public static int FUNC_EXT_FUNCTION_AVAILABLE(Code)
The 'function-available()' id (XSLT).



FUNC_FALSE
final public static int FUNC_FALSE(Code)
The 'false()' id.



FUNC_FLOOR
final public static int FUNC_FLOOR(Code)
The 'floor()' id.



FUNC_GENERATE_ID
final public static int FUNC_GENERATE_ID(Code)
The 'generate-id()' id.



FUNC_ID
final public static int FUNC_ID(Code)
The 'id()' id.



FUNC_KEY
final public static int FUNC_KEY(Code)
The 'key()' id (XSLT).



FUNC_LANG
final public static int FUNC_LANG(Code)
The 'lang()' id.



FUNC_LAST
final public static int FUNC_LAST(Code)
The 'last()' id.



FUNC_LOCAL_PART
final public static int FUNC_LOCAL_PART(Code)
The 'local-name()' id.



FUNC_NAMESPACE
final public static int FUNC_NAMESPACE(Code)
The 'namespace-uri()' id.



FUNC_NORMALIZE_SPACE
final public static int FUNC_NORMALIZE_SPACE(Code)
The 'normalize-space()' id.



FUNC_NOT
final public static int FUNC_NOT(Code)
The 'not()' id.



FUNC_NUMBER
final public static int FUNC_NUMBER(Code)
The 'number()' id.



FUNC_POSITION
final public static int FUNC_POSITION(Code)
The 'position()' id.



FUNC_QNAME
final public static int FUNC_QNAME(Code)
The 'name()' id.



FUNC_ROUND
final public static int FUNC_ROUND(Code)
The 'round()' id.



FUNC_STARTS_WITH
final public static int FUNC_STARTS_WITH(Code)
The 'starts-with()' id.



FUNC_STRING
final public static int FUNC_STRING(Code)
The 'string()' id.



FUNC_STRING_LENGTH
final public static int FUNC_STRING_LENGTH(Code)
The 'string-length()' id.



FUNC_SUBSTRING
final public static int FUNC_SUBSTRING(Code)
The 'substring()' id.



FUNC_SUBSTRING_AFTER
final public static int FUNC_SUBSTRING_AFTER(Code)
The 'substring-after()' id.



FUNC_SUBSTRING_BEFORE
final public static int FUNC_SUBSTRING_BEFORE(Code)
The 'substring-before()' id.



FUNC_SUM
final public static int FUNC_SUM(Code)
The 'sum()' id.



FUNC_SYSTEM_PROPERTY
final public static int FUNC_SYSTEM_PROPERTY(Code)
The 'system-property()' id.



FUNC_TRANSLATE
final public static int FUNC_TRANSLATE(Code)
The 'translate()' id.



FUNC_TRUE
final public static int FUNC_TRUE(Code)
The 'true()' id.



FUNC_UNPARSED_ENTITY_URI
final public static int FUNC_UNPARSED_ENTITY_URI(Code)
The 'unparsed-entity-uri()' id (XSLT).




Constructor Detail
FunctionTable
public FunctionTable()(Code)




Method Detail
functionAvailable
public boolean functionAvailable(String methName)(Code)
Tell if a built-in, non-namespaced function is available.
Parameters:
  methName - The local name of the function. True if the function can be executed.



getFunction
Function getFunction(int which) throws javax.xml.transform.TransformerException(Code)
Obtain a new Function object from a function ID.
Parameters:
  which - The function ID, which may correspond to one of the FUNC_XXX values found in org.apache.xpath.compiler.FunctionTable, but may be a value installed by an external module. a a new Function instance.
throws:
  javax.xml.transform.TransformerException - if ClassNotFoundException, IllegalAccessException, or InstantiationException is thrown.



getFunctionID
Object getFunctionID(String key)(Code)
Obtain a function ID from a given function name
Parameters:
  key - the function name in a java.lang.String format. a function ID, which may correspond to one of the FUNC_XXX valuesfound in org.apache.xpath.compiler.FunctionTable, but may be a value installed by an external module.



getFunctionName
String getFunctionName(int funcID)(Code)
Return the name of the a function in the static table. Needed to avoid making the table publicly available.



installFunction
public int installFunction(String name, Class func)(Code)
Install a built-in function.
Parameters:
  name - The unqualified name of the function, must not be null
Parameters:
  func - A Implementation of an XPath Function object. the position of the function in the internal index.



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.