Java Doc for QuercusClass.java in  » EJB-Server-resin-3.1.5 » quercus » com » caucho » quercus » env » 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 » EJB Server resin 3.1.5 » quercus » com.caucho.quercus.env 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.quercus.env.QuercusClass

QuercusClass
public class QuercusClass (Code)
Represents a Quercus runtime class.

Inner Class :static class StaticField


Constructor Summary
public  QuercusClass(ClassDef classDef, QuercusClass parent)
    
public  QuercusClass(ModuleContext moduleContext, ClassDef classDef, QuercusClass parent)
    

Method Summary
public  voidaddConstant(String name, Expr expr)
    
public  voidaddField(StringValue name, int index, Expr initExpr)
     Adds a field.
public  intaddFieldIndex(StringValue name)
     Adds a field.
public  voidaddInitializer(InstanceInitializer init)
    
public  voidaddMethod(String name, AbstractFunction fun)
     Adds a method.
public  voidaddStaticFieldExpr(String className, String name, Expr value)
     Adds a static class field.
public  ValuecallMethod(Env env, Value thisValue, int hash, char[] name, int nameLength, Expr[] args)
     calls the function.
public  ValuecallMethod(Env env, Value thisValue, StringValue methodName, Expr[] args)
     calls the function.
public  ValuecallMethod(Env env, Value thisValue, int hash, char[] name, int nameLen, Value[] args)
     calls the function.
public  ValuecallMethod(Env env, Value thisValue, StringValue name, Value[] args)
     calls the function.
public  ValuecallMethod(Env env, Value thisValue, int hash, char[] name, int nameLen)
     calls the function.
public  ValuecallMethod(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1)
     calls the function.
public  ValuecallMethod(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2)
     calls the function.
public  ValuecallMethod(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2, Value a3)
     calls the function.
public  ValuecallMethod(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2, Value a3, Value a4)
     calls the function.
public  ValuecallMethod(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2, Value a3, Value a4, Value a5)
     calls the function.
public  ValuecallMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Expr[] args)
     calls the function.
public  ValuecallMethodRef(Env env, Value thisValue, StringValue methodName, Expr[] args)
     calls the function.
public  ValuecallMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Value[] args)
     calls the function.
public  ValuecallMethodRef(Env env, Value thisValue, StringValue name, Value[] args)
     calls the function.
public  ValuecallMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen)
     calls the function.
public  ValuecallMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1)
     calls the function.
public  ValuecallMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2)
     calls the function.
public  ValuecallMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2, Value a3)
     calls the function.
public  ValuecallMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2, Value a3, Value a4)
     calls the function.
public  ValuecallMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2, Value a3, Value a4, Value a5)
     calls the function.
public  ValuecallNew(Env env, Value[] args)
     Creates a new instance.
public  AbstractFunctionfindConstructor()
     Finds the matching constructor.
public  intfindFieldIndex(StringValue name)
     Returns the field index.
public  AbstractFunctionfindFunction(String name)
     Finds the matching function.
public  AbstractFunctionfindFunctionExact(String name)
     Finds the matching function.
public  AbstractFunctionfindFunctionLowerCase(String name)
     Finds the matching function.
public  AbstractFunctionfindStaticFunction(String name)
     Finds the matching function.
public  AbstractFunctionfindStaticFunctionLowerCase(String name)
     Finds a function.
final public  ArrayDelegategetArrayDelegate()
    
public  AbstractFunctiongetCall()
    
public  ClassDefgetClassDef()
    
public  ClassDef[]getClassDefList()
    
public  Iterable<AbstractFunction>getClassMethods()
     Returns the declared functions.
public  HashMap<StringValue, Expr>getClassVars()
    
final public  ValuegetConstant(Env env, String name)
    
final public  HashMap<String, Expr>getConstantMap()
    
public  AbstractFunctiongetConstructor()
     Gets the constructor.
final public  CountDelegategetCountDelegate()
    
public  StringgetExtension()
    
public  ValuegetField(Env env, Value qThis, StringValue name)
     Implements the __get method call.
public  AbstractFunctiongetFieldGet()
    
public  ArrayList<StringValue>getFieldNames()
     Returns the key set.
public  AbstractFunctiongetFieldSet()
    
public  intgetFieldSize()
     Returns the number of fields.
final public  AbstractFunctiongetFunction(String name)
     Finds the matching function.
final public  AbstractFunctiongetFunction(int hash, char[] name, int nameLen)
     Finds the matching function.
public  MethodMap<AbstractFunction>getMethodMap()
    
public  StringgetName()
     Returns the name.
public  QuercusClassgetParent()
     Returns the parent class.
public  StringgetParentName()
     Returns the parent class.
public  VargetStaticField(Env env, String name)
    
public  HashMap<String, Value>getStaticFieldMap()
    
final public  AbstractFunctiongetStaticFunction(String name)
     Finds the matching function.
final public  TraversableDelegategetTraversableDelegate()
    
final public  booleanhasConstant(String name)
     Returns true if the constant exists.
public  booleanimplementsInterface(Env env, String name)
    
public  voidinit(Env env)
    
public  booleanisA(String name)
    
public  booleanisAbstract()
    
public  booleanisFinal()
    
public  booleanisInterface()
    
public  voidsetArrayDelegate(ArrayDelegate delegate)
    
public  voidsetCall(AbstractFunction fun)
    
public  voidsetConstructor(AbstractFunction fun)
     Sets the constructor.
public  voidsetCountDelegate(CountDelegate delegate)
    
public  voidsetField(Env env, Value qThis, StringValue name, Value value)
     Implements the __set method call.
public  voidsetFieldGet(AbstractFunction fun)
    
public  voidsetFieldSet(AbstractFunction fun)
    
public  voidsetTraversableDelegate(TraversableDelegate delegate)
    
public  StringtoString()
    
public  voidvalidate(Env env)
    


Constructor Detail
QuercusClass
public QuercusClass(ClassDef classDef, QuercusClass parent)(Code)



QuercusClass
public QuercusClass(ModuleContext moduleContext, ClassDef classDef, QuercusClass parent)(Code)




Method Detail
addConstant
public void addConstant(String name, Expr expr)(Code)
Adds a constant definition



addField
public void addField(StringValue name, int index, Expr initExpr)(Code)
Adds a field.



addFieldIndex
public int addFieldIndex(StringValue name)(Code)
Adds a field.



addInitializer
public void addInitializer(InstanceInitializer init)(Code)
Adds an initializer



addMethod
public void addMethod(String name, AbstractFunction fun)(Code)
Adds a method.



addStaticFieldExpr
public void addStaticFieldExpr(String className, String name, Expr value)(Code)
Adds a static class field.



callMethod
public Value callMethod(Env env, Value thisValue, int hash, char[] name, int nameLength, Expr[] args)(Code)
calls the function.



callMethod
public Value callMethod(Env env, Value thisValue, StringValue methodName, Expr[] args)(Code)
calls the function.



callMethod
public Value callMethod(Env env, Value thisValue, int hash, char[] name, int nameLen, Value[] args)(Code)
calls the function.



callMethod
public Value callMethod(Env env, Value thisValue, StringValue name, Value[] args)(Code)
calls the function.



callMethod
public Value callMethod(Env env, Value thisValue, int hash, char[] name, int nameLen)(Code)
calls the function.



callMethod
public Value callMethod(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1)(Code)
calls the function.



callMethod
public Value callMethod(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2)(Code)
calls the function.



callMethod
public Value callMethod(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2, Value a3)(Code)
calls the function.



callMethod
public Value callMethod(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2, Value a3, Value a4)(Code)
calls the function.



callMethod
public Value callMethod(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2, Value a3, Value a4, Value a5)(Code)
calls the function.



callMethodRef
public Value callMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Expr[] args)(Code)
calls the function.



callMethodRef
public Value callMethodRef(Env env, Value thisValue, StringValue methodName, Expr[] args)(Code)
calls the function.



callMethodRef
public Value callMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Value[] args)(Code)
calls the function.



callMethodRef
public Value callMethodRef(Env env, Value thisValue, StringValue name, Value[] args)(Code)
calls the function.



callMethodRef
public Value callMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen)(Code)
calls the function.



callMethodRef
public Value callMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1)(Code)
calls the function.



callMethodRef
public Value callMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2)(Code)
calls the function.



callMethodRef
public Value callMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2, Value a3)(Code)
calls the function.



callMethodRef
public Value callMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2, Value a3, Value a4)(Code)
calls the function.



callMethodRef
public Value callMethodRef(Env env, Value thisValue, int hash, char[] name, int nameLen, Value a1, Value a2, Value a3, Value a4, Value a5)(Code)
calls the function.



callNew
public Value callNew(Env env, Value[] args)(Code)
Creates a new instance.



findConstructor
public AbstractFunction findConstructor()(Code)
Finds the matching constructor.



findFieldIndex
public int findFieldIndex(StringValue name)(Code)
Returns the field index.



findFunction
public AbstractFunction findFunction(String name)(Code)
Finds the matching function.



findFunctionExact
public AbstractFunction findFunctionExact(String name)(Code)
Finds the matching function.



findFunctionLowerCase
public AbstractFunction findFunctionLowerCase(String name)(Code)
Finds the matching function.



findStaticFunction
public AbstractFunction findStaticFunction(String name)(Code)
Finds the matching function.



findStaticFunctionLowerCase
public AbstractFunction findStaticFunctionLowerCase(String name)(Code)
Finds a function.



getArrayDelegate
final public ArrayDelegate getArrayDelegate()(Code)
Gets the array delegate (see ArrayAccess)



getCall
public AbstractFunction getCall()(Code)
Gets the __call



getClassDef
public ClassDef getClassDef()(Code)



getClassDefList
public ClassDef[] getClassDefList()(Code)



getClassMethods
public Iterable<AbstractFunction> getClassMethods()(Code)
Returns the declared functions.



getClassVars
public HashMap<StringValue, Expr> getClassVars()(Code)
Returns a set of the fields and their initial values



getConstant
final public Value getConstant(Env env, String name)(Code)
Finds the matching constant



getConstantMap
final public HashMap<String, Expr> getConstantMap()(Code)



getConstructor
public AbstractFunction getConstructor()(Code)
Gets the constructor.



getCountDelegate
final public CountDelegate getCountDelegate()(Code)
Gets the count delegate



getExtension
public String getExtension()(Code)



getField
public Value getField(Env env, Value qThis, StringValue name)(Code)
Implements the __get method call.



getFieldGet
public AbstractFunction getFieldGet()(Code)
Returns the __fieldGet



getFieldNames
public ArrayList<StringValue> getFieldNames()(Code)
Returns the key set.



getFieldSet
public AbstractFunction getFieldSet()(Code)
Returns the __fieldSet



getFieldSize
public int getFieldSize()(Code)
Returns the number of fields.



getFunction
final public AbstractFunction getFunction(String name)(Code)
Finds the matching function.



getFunction
final public AbstractFunction getFunction(int hash, char[] name, int nameLen)(Code)
Finds the matching function.



getMethodMap
public MethodMap<AbstractFunction> getMethodMap()(Code)



getName
public String getName()(Code)
Returns the name.



getParent
public QuercusClass getParent()(Code)
Returns the parent class.



getParentName
public String getParentName()(Code)
Returns the parent class.



getStaticField
public Var getStaticField(Env env, String name)(Code)



getStaticFieldMap
public HashMap<String, Value> getStaticFieldMap()(Code)



getStaticFunction
final public AbstractFunction getStaticFunction(String name)(Code)
Finds the matching function.



getTraversableDelegate
final public TraversableDelegate getTraversableDelegate()(Code)
Gets the traversable delegate



hasConstant
final public boolean hasConstant(String name)(Code)
Returns true if the constant exists.



implementsInterface
public boolean implementsInterface(Env env, String name)(Code)



init
public void init(Env env)(Code)



isA
public boolean isA(String name)(Code)
Returns true for an implementation of a class



isAbstract
public boolean isAbstract()(Code)



isFinal
public boolean isFinal()(Code)



isInterface
public boolean isInterface()(Code)



setArrayDelegate
public void setArrayDelegate(ArrayDelegate delegate)(Code)
Sets the array delegate (see ArrayAccess)



setCall
public void setCall(AbstractFunction fun)(Code)
Sets the __call



setConstructor
public void setConstructor(AbstractFunction fun)(Code)
Sets the constructor.



setCountDelegate
public void setCountDelegate(CountDelegate delegate)(Code)
Sets the count delegate



setField
public void setField(Env env, Value qThis, StringValue name, Value value)(Code)
Implements the __set method call.



setFieldGet
public void setFieldGet(AbstractFunction fun)(Code)
Sets the __fieldGet



setFieldSet
public void setFieldSet(AbstractFunction fun)(Code)
Sets the __fieldSet



setTraversableDelegate
public void setTraversableDelegate(TraversableDelegate delegate)(Code)
Sets the traversable delegate



toString
public String toString()(Code)



validate
public void validate(Env env)(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.