Java Doc for XQResolveNames.java in  » Scripting » Kawa » gnu » xquery » lang » 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 » Scripting » Kawa » gnu.xquery.lang 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   gnu.expr.ExpWalker
      gnu.expr.ResolveNames
         gnu.xquery.lang.XQResolveNames

XQResolveNames
public class XQResolveNames extends ResolveNames (Code)


Field Summary
final public static  intBASE_URI_BUILTIN
     Code number for the special doc-available function.
final public static  intCASTABLE_AS_BUILTIN
    
final public static  intCAST_AS_BUILTIN
    
final public static  intCOLLECTION_BUILTIN
     Code number for the special collection function.
final public static  intCOMPARE_BUILTIN
     Code number for the special compare function.
final public static  intDEEP_EQUAL_BUILTIN
     Code number for the special deep-equal function.
final public static  intDEFAULT_COLLATION_BUILTIN
     Code number for the special default-collation function.
final public static  intDISTINCT_VALUES_BUILTIN
     Code number for the special distinct-values function.
final public static  intDOC_AVAILABLE_BUILTIN
     Code number for the special doc-available function.
final public static  intDOC_BUILTIN
     Code number for the special doc function.
final public static  intHANDLE_EXTENSION_BUILTIN
     Code number for internal function to handle extensions.
final public static  intIDREF_BUILTIN
     Code number for the special idref function.
final public static  intID_BUILTIN
     Code number for the special id function.
final public static  intINDEX_OF_BUILTIN
     Code number for the special index-of function.
final public static  intLANG_BUILTIN
     Code number for the special lang function.
final public static  intLAST_BUILTIN
     Code number for the special last function.
final public static  intLOCAL_NAME_BUILTIN
     Code number for the special local-name function.
final public static  intMAX_BUILTIN
     Code number for the special max function.
final public static  intMIN_BUILTIN
     Code number for the special min function.
final public static  intNAMESPACE_URI_BUILTIN
     Code number for the special namespace-uri function.
final public static  intNAME_BUILTIN
     Code number for the special name function.
final public static  intNORMALIZE_SPACE_BUILTIN
     Code number for the special normalize-space function.
final public static  intNUMBER_BUILTIN
     Code number for the special number function.
final public static  intPOSITION_BUILTIN
     Code number for the special position function.
final public static  intRESOLVE_PREFIX_BUILTIN
     Code number for internal function that maps prefix to uri.
final public static  intRESOLVE_URI_BUILTIN
     Code number for the special ressolve-uri function.
final public static  intROOT_BUILTIN
     Code number for the special root function.
final public static  intSTATIC_BASE_URI_BUILTIN
     Code number for the special static-base-uri function.
final public static  intSTRING_BUILTIN
     Code number for the special string function.
final public static  intUNORDERED_BUILTIN
     Code number for the special unordered function.
final public static  intXS_QNAME_BUILTIN
     Value of xs:QName() constructor.
final public static  DeclarationcastAsDecl
    
final public static  DeclarationcastableAsDecl
    
public  Namespace[]functionNamespacePath
    
final public static  DeclarationhandleExtensionDecl
    
final public static  DeclarationlastDecl
     Declaration for the fn:last() function.
 XQParserparser
    
final public static  DeclarationresolvePrefixDecl
    
final public static  DeclarationstaticBaseUriDecl
    
final public static  DeclarationxsQNameDecl
    

Constructor Summary
public  XQResolveNames()
    
public  XQResolveNames(Compilation comp)
    

Method Summary
public  ExpressioncheckPragma(Symbol name, Expression contents)
    
 Declarationflookup(Symbol sym)
    
 ExpressiongetBaseUriExpr()
    
 ExpressiongetCollator(Expression[] args, int argno)
     Coerce argument to NamedCallator, or return default collator.
public static  DeclarationmakeBuiltin(String name, int code)
     Create a Declaration for a builtin function.
public static  DeclarationmakeBuiltin(Symbol name, int code)
     Create a Declaration for a builtin function.
static  NamespaceBindingmaybeAddNamespace(Symbol qname, NamespaceBinding bindings)
    
static  DeclarationprocToDecl(Object symbol, Object val)
     Wrap a (known) procedure value as a Declaration.
protected  voidpush(ScopeExp exp)
    
 voidpush(Declaration decl)
    
 voidpushBuiltin(String name, int code)
    
public  voidresolveModule(ModuleExp exp)
    
protected  ExpressionwalkApplyExp(ApplyExp exp)
    
protected  ExpressionwalkReferenceExp(ReferenceExp exp)
    
protected  ExpressionwalkReferenceExp(ReferenceExp exp, ApplyExp call)
    
protected  ExpressionwalkSetExp(SetExp exp)
    
 ExpressionwithCollator(Method method, Expression[] args, String name, int minArgs)
    
 ExpressionwithCollator(Expression function, Expression[] args, String name, int minArgs)
     Adjust call to add default collator if collator argument is missing.
 ExpressionwithContext(Method method, Expression[] args, String name, int minArgs)
     Adjust call to add default contex itemt if that argument is missing.

Field Detail
BASE_URI_BUILTIN
final public static int BASE_URI_BUILTIN(Code)
Code number for the special doc-available function.



CASTABLE_AS_BUILTIN
final public static int CASTABLE_AS_BUILTIN(Code)



CAST_AS_BUILTIN
final public static int CAST_AS_BUILTIN(Code)



COLLECTION_BUILTIN
final public static int COLLECTION_BUILTIN(Code)
Code number for the special collection function.



COMPARE_BUILTIN
final public static int COMPARE_BUILTIN(Code)
Code number for the special compare function.



DEEP_EQUAL_BUILTIN
final public static int DEEP_EQUAL_BUILTIN(Code)
Code number for the special deep-equal function.



DEFAULT_COLLATION_BUILTIN
final public static int DEFAULT_COLLATION_BUILTIN(Code)
Code number for the special default-collation function.



DISTINCT_VALUES_BUILTIN
final public static int DISTINCT_VALUES_BUILTIN(Code)
Code number for the special distinct-values function.



DOC_AVAILABLE_BUILTIN
final public static int DOC_AVAILABLE_BUILTIN(Code)
Code number for the special doc-available function.



DOC_BUILTIN
final public static int DOC_BUILTIN(Code)
Code number for the special doc function.



HANDLE_EXTENSION_BUILTIN
final public static int HANDLE_EXTENSION_BUILTIN(Code)
Code number for internal function to handle extensions.



IDREF_BUILTIN
final public static int IDREF_BUILTIN(Code)
Code number for the special idref function.



ID_BUILTIN
final public static int ID_BUILTIN(Code)
Code number for the special id function.



INDEX_OF_BUILTIN
final public static int INDEX_OF_BUILTIN(Code)
Code number for the special index-of function.



LANG_BUILTIN
final public static int LANG_BUILTIN(Code)
Code number for the special lang function.



LAST_BUILTIN
final public static int LAST_BUILTIN(Code)
Code number for the special last function.



LOCAL_NAME_BUILTIN
final public static int LOCAL_NAME_BUILTIN(Code)
Code number for the special local-name function.



MAX_BUILTIN
final public static int MAX_BUILTIN(Code)
Code number for the special max function.



MIN_BUILTIN
final public static int MIN_BUILTIN(Code)
Code number for the special min function.



NAMESPACE_URI_BUILTIN
final public static int NAMESPACE_URI_BUILTIN(Code)
Code number for the special namespace-uri function.



NAME_BUILTIN
final public static int NAME_BUILTIN(Code)
Code number for the special name function.



NORMALIZE_SPACE_BUILTIN
final public static int NORMALIZE_SPACE_BUILTIN(Code)
Code number for the special normalize-space function.



NUMBER_BUILTIN
final public static int NUMBER_BUILTIN(Code)
Code number for the special number function.



POSITION_BUILTIN
final public static int POSITION_BUILTIN(Code)
Code number for the special position function.



RESOLVE_PREFIX_BUILTIN
final public static int RESOLVE_PREFIX_BUILTIN(Code)
Code number for internal function that maps prefix to uri.



RESOLVE_URI_BUILTIN
final public static int RESOLVE_URI_BUILTIN(Code)
Code number for the special ressolve-uri function.



ROOT_BUILTIN
final public static int ROOT_BUILTIN(Code)
Code number for the special root function.



STATIC_BASE_URI_BUILTIN
final public static int STATIC_BASE_URI_BUILTIN(Code)
Code number for the special static-base-uri function.



STRING_BUILTIN
final public static int STRING_BUILTIN(Code)
Code number for the special string function.



UNORDERED_BUILTIN
final public static int UNORDERED_BUILTIN(Code)
Code number for the special unordered function.



XS_QNAME_BUILTIN
final public static int XS_QNAME_BUILTIN(Code)
Value of xs:QName() constructor.



castAsDecl
final public static Declaration castAsDecl(Code)



castableAsDecl
final public static Declaration castableAsDecl(Code)



functionNamespacePath
public Namespace[] functionNamespacePath(Code)



handleExtensionDecl
final public static Declaration handleExtensionDecl(Code)



lastDecl
final public static Declaration lastDecl(Code)
Declaration for the fn:last() function.



parser
XQParser parser(Code)



resolvePrefixDecl
final public static Declaration resolvePrefixDecl(Code)



staticBaseUriDecl
final public static Declaration staticBaseUriDecl(Code)



xsQNameDecl
final public static Declaration xsQNameDecl(Code)




Constructor Detail
XQResolveNames
public XQResolveNames()(Code)



XQResolveNames
public XQResolveNames(Compilation comp)(Code)




Method Detail
checkPragma
public Expression checkPragma(Symbol name, Expression contents)(Code)



flookup
Declaration flookup(Symbol sym)(Code)



getBaseUriExpr
Expression getBaseUriExpr()(Code)



getCollator
Expression getCollator(Expression[] args, int argno)(Code)
Coerce argument to NamedCallator, or return default collator.
Parameters:
  args - argument list
Parameters:
  argno - index in args of collator argument



makeBuiltin
public static Declaration makeBuiltin(String name, int code)(Code)
Create a Declaration for a builtin function.



makeBuiltin
public static Declaration makeBuiltin(Symbol name, int code)(Code)
Create a Declaration for a builtin function.



maybeAddNamespace
static NamespaceBinding maybeAddNamespace(Symbol qname, NamespaceBinding bindings)(Code)



procToDecl
static Declaration procToDecl(Object symbol, Object val)(Code)
Wrap a (known) procedure value as a Declaration.



push
protected void push(ScopeExp exp)(Code)



push
void push(Declaration decl)(Code)



pushBuiltin
void pushBuiltin(String name, int code)(Code)



resolveModule
public void resolveModule(ModuleExp exp)(Code)



walkApplyExp
protected Expression walkApplyExp(ApplyExp exp)(Code)



walkReferenceExp
protected Expression walkReferenceExp(ReferenceExp exp)(Code)



walkReferenceExp
protected Expression walkReferenceExp(ReferenceExp exp, ApplyExp call)(Code)



walkSetExp
protected Expression walkSetExp(SetExp exp)(Code)



withCollator
Expression withCollator(Method method, Expression[] args, String name, int minArgs)(Code)



withCollator
Expression withCollator(Expression function, Expression[] args, String name, int minArgs)(Code)
Adjust call to add default collator if collator argument is missing.



withContext
Expression withContext(Method method, Expression[] args, String name, int minArgs)(Code)
Adjust call to add default contex itemt if that argument is missing.



Fields inherited from gnu.expr.ResolveNames
protected NameLookup lookup(Code)(Java Doc)

Methods inherited from gnu.expr.ResolveNames
public Declaration lookup(Expression exp, Object symbol, boolean function)(Code)(Java Doc)
protected void push(ScopeExp exp)(Code)(Java Doc)
public void resolveModule(ModuleExp exp)(Code)(Java Doc)
protected Expression walkLetExp(LetExp exp)(Code)(Java Doc)
protected Expression walkReferenceExp(ReferenceExp exp)(Code)(Java Doc)
protected Expression walkScopeExp(ScopeExp exp)(Code)(Java Doc)
protected Expression walkSetExp(SetExp exp)(Code)(Java Doc)

Fields inherited from gnu.expr.ExpWalker
protected LambdaExp currentLambda(Code)(Java Doc)
protected SourceMessages messages(Code)(Java Doc)

Methods inherited from gnu.expr.ExpWalker
public void error(char kind, String message)(Code)(Java Doc)
final public int getColumnNumber()(Code)(Java Doc)
public Compilation getCompilation()(Code)(Java Doc)
final public LambdaExp getCurrentLambda()(Code)(Java Doc)
final public String getFileName()(Code)(Java Doc)
final public int getLineNumber()(Code)(Java Doc)
public SourceMessages getMessages()(Code)(Java Doc)
public String getPublicId()(Code)(Java Doc)
public String getSystemId()(Code)(Java Doc)
public boolean isStableSourceLocation()(Code)(Java Doc)
public Expression noteError(String message)(Code)(Java Doc)
public void setColumn(int column)(Code)(Java Doc)
public void setContext(Compilation comp)(Code)(Java Doc)
public void setFile(String filename)(Code)(Java Doc)
public void setLine(int line)(Code)(Java Doc)
public void setLine(String filename, int line, int column)(Code)(Java Doc)
public Expression walk(Expression exp)(Code)(Java Doc)
protected Expression walkApplyExp(ApplyExp exp)(Code)(Java Doc)
protected Expression walkBeginExp(BeginExp exp)(Code)(Java Doc)
protected Expression walkBlockExp(BlockExp exp)(Code)(Java Doc)
protected Expression walkClassExp(ClassExp exp)(Code)(Java Doc)
final protected void walkDeclarationType(Declaration decl)(Code)(Java Doc)
final protected void walkDeclarationTypes(ScopeExp exp)(Code)(Java Doc)
public void walkDefaultArgs(LambdaExp exp)(Code)(Java Doc)
protected Expression walkExitExp(ExitExp exp)(Code)(Java Doc)
protected Expression walkExpression(Expression exp)(Code)(Java Doc)
public Expression[] walkExps(Expression[] exps)(Code)(Java Doc)
public Expression[] walkExps(Expression[] exps, int n)(Code)(Java Doc)
protected Expression walkFluidLetExp(FluidLetExp exp)(Code)(Java Doc)
protected Expression walkIfExp(IfExp exp)(Code)(Java Doc)
protected Expression walkLambdaExp(LambdaExp exp)(Code)(Java Doc)
protected Expression walkLangExp(LangExp exp)(Code)(Java Doc)
protected Expression walkLetExp(LetExp exp)(Code)(Java Doc)
protected Expression walkModuleExp(ModuleExp exp)(Code)(Java Doc)
protected Expression walkObjectExp(ObjectExp exp)(Code)(Java Doc)
protected Expression walkQuoteExp(QuoteExp exp)(Code)(Java Doc)
protected Expression walkReferenceExp(ReferenceExp exp)(Code)(Java Doc)
protected Expression walkScopeExp(ScopeExp exp)(Code)(Java Doc)
protected Expression walkSetExp(SetExp exp)(Code)(Java Doc)
protected Expression walkSynchronizedExp(SynchronizedExp exp)(Code)(Java Doc)
protected Expression walkThisExp(ThisExp exp)(Code)(Java Doc)
protected Expression walkTryExp(TryExp exp)(Code)(Java Doc)

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.