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


java.lang.Object
   com.caucho.es.ESBase
      com.caucho.es.ESObject

All known Subclasses:   com.caucho.es.NativeWrapper,  com.caucho.es.ESClass,  com.caucho.es.ESDate,  com.caucho.es.ESClosure,  com.caucho.es.ESArray,  com.caucho.es.ESRegexp,  com.caucho.es.ESArguments,  com.caucho.es.ESGlobal,  com.caucho.es.ESWrapper,  com.caucho.es.ESJavaWrapper,
ESObject
public class ESObject extends ESBase (Code)
Implementation class for a JavaScript Object.


Field Summary
static  ESIdCALL
    
static  intCLEAN
    
static  ESIdCONSTRUCT
    
static  intCOW
    
static  intDIRTY
    
static  ESIdTO_STRING
    
static  ESIdVALUE_OF
    
 intcopyState
    
 intfill
    
 intmark
    
 intmask
    
 int[]propFlags
    
 ESString[]propNames
    
 ESBase[]propValues
    
 ESBase[]propWatch
    
 intsize
    
protected  booleansnapPrototype
    

Constructor Summary
protected  ESObject()
    
public  ESObject(String className, ESBase proto)
     Simple constructor for parentless objects.
protected  ESObject(String className, ESBase proto, int hashSize)
    

Method Summary
public  ESBasecall(Call call, int length)
    
protected  booleancanPut(ESString name)
    
public  ESBaseconstruct(Call call, int length)
    
public  Objectcopy(HashMap refs)
    
protected  voidcopy(Object newObj)
    
protected  voidcopy(HashMap refs, Object newObj)
    
public  ESBasedelete(ESString name)
     Deletes the entry.
 ESObjectdup()
    
public  booleanecmaEquals(ESBase b)
    
public  ESBasegetProperty(ESString name)
     Gets a property value.
 voidinit(String className, ESBase proto)
    
public  Iteratorkeys()
    
public  voidput(ESString name, ESBase value, int flags)
    
public  voidput(String name, ESBase value, int flags)
    
public  voidput(int i, ESBase value, int flags)
    
 ESObjectresinCopy()
    
 voidsetClean()
    
public  voidsetProperty(ESString name, ESBase value)
    
 ESObjectshallowCopy()
    
protected  voidshallowCopy(Object newObj)
    
public  booleantoBoolean()
    
public  ObjecttoJavaObject()
    
public  doubletoNum()
    
public  ESObjecttoObject()
    
public  ESBasetoPrimitive(int hint)
    
public  ESStringtoSource(IntMap map, boolean isLoopPass)
    
public  ESStringtoStr()
    
public  ESBasetypeof()
    
public  voidunwatch(ESString name)
    
public  voidwatch(ESString name, ESBase fun)
    

Field Detail
CALL
static ESId CALL(Code)



CLEAN
static int CLEAN(Code)



CONSTRUCT
static ESId CONSTRUCT(Code)



COW
static int COW(Code)



DIRTY
static int DIRTY(Code)



TO_STRING
static ESId TO_STRING(Code)



VALUE_OF
static ESId VALUE_OF(Code)



copyState
int copyState(Code)



fill
int fill(Code)



mark
int mark(Code)



mask
int mask(Code)



propFlags
int[] propFlags(Code)



propNames
ESString[] propNames(Code)



propValues
ESBase[] propValues(Code)



propWatch
ESBase[] propWatch(Code)



size
int size(Code)



snapPrototype
protected boolean snapPrototype(Code)




Constructor Detail
ESObject
protected ESObject()(Code)



ESObject
public ESObject(String className, ESBase proto)(Code)
Simple constructor for parentless objects.



ESObject
protected ESObject(String className, ESBase proto, int hashSize)(Code)




Method Detail
call
public ESBase call(Call call, int length) throws Throwable(Code)



canPut
protected boolean canPut(ESString name)(Code)



construct
public ESBase construct(Call call, int length) throws Throwable(Code)



copy
public Object copy(HashMap refs)(Code)



copy
protected void copy(Object newObj)(Code)



copy
protected void copy(HashMap refs, Object newObj)(Code)



delete
public ESBase delete(ESString name) throws Throwable(Code)
Deletes the entry. Returns true if successful.



dup
ESObject dup()(Code)



ecmaEquals
public boolean ecmaEquals(ESBase b) throws Throwable(Code)



getProperty
public ESBase getProperty(ESString name) throws Throwable(Code)
Gets a property value.



init
void init(String className, ESBase proto)(Code)



keys
public Iterator keys() throws ESException(Code)



put
public void put(ESString name, ESBase value, int flags)(Code)



put
public void put(String name, ESBase value, int flags)(Code)



put
public void put(int i, ESBase value, int flags)(Code)
Sets the named property



resinCopy
ESObject resinCopy()(Code)



setClean
void setClean()(Code)



setProperty
public void setProperty(ESString name, ESBase value) throws Throwable(Code)
Puts a new value in the property table with the appropriate flags



shallowCopy
ESObject shallowCopy()(Code)



shallowCopy
protected void shallowCopy(Object newObj)(Code)



toBoolean
public boolean toBoolean()(Code)



toJavaObject
public Object toJavaObject() throws ESException(Code)



toNum
public double toNum() throws Throwable(Code)
Returns a string rep of the object



toObject
public ESObject toObject()(Code)



toPrimitive
public ESBase toPrimitive(int hint) throws Throwable(Code)
XXX: not right



toSource
public ESString toSource(IntMap map, boolean isLoopPass) throws Throwable(Code)



toStr
public ESString toStr() throws Throwable(Code)
Returns a string rep of the object



typeof
public ESBase typeof() throws ESException(Code)



unwatch
public void unwatch(ESString name)(Code)



watch
public void watch(ESString name, ESBase fun)(Code)



Fields inherited from com.caucho.es.ESBase
final public static int DONT_DELETE(Code)(Java Doc)
final public static int DONT_ENUM(Code)(Java Doc)
final static int NONE(Code)(Java Doc)
final static int NUMBER(Code)(Java Doc)
final public static int READ_ONLY(Code)(Java Doc)
final static int STRING(Code)(Java Doc)
final static int WATCH(Code)(Java Doc)
String className(Code)(Java Doc)
public static ESBase esBase(Code)(Java Doc)
public static ESBase esEmpty(Code)(Java Doc)
public static ESBase esNull(Code)(Java Doc)
public static ESBase esUndefined(Code)(Java Doc)
ESBase prototype(Code)(Java Doc)

Methods inherited from com.caucho.es.ESBase
public ESBase call(Call eval, int length) throws Throwable(Code)(Java Doc)
public ESBase call(Call eval, int length, ESString key) throws Throwable(Code)(Java Doc)
boolean canPut(ESString name)(Code)(Java Doc)
public ESBase construct(Call eval, int length) throws Throwable(Code)(Java Doc)
Object copy(HashMap refs)(Code)(Java Doc)
public ESBase delete(ESString key) throws Throwable(Code)(Java Doc)
ESBase delete(String key) throws Throwable(Code)(Java Doc)
ESBase delete(int i) throws Throwable(Code)(Java Doc)
public boolean ecmaEquals(ESBase b) throws Throwable(Code)(Java Doc)
String getClassName()(Code)(Java Doc)
public Class getJavaType()(Code)(Java Doc)
public ESBase getProperty(ESString key) throws Throwable(Code)(Java Doc)
public ESBase getProperty(String key) throws Throwable(Code)(Java Doc)
ESBase getProperty(int i) throws Throwable(Code)(Java Doc)
public boolean greaterThan(ESBase ob, boolean neg) throws Throwable(Code)(Java Doc)
public ESBase hasProperty(ESString key) throws Throwable(Code)(Java Doc)
ESBase hasProperty(int i) throws Throwable(Code)(Java Doc)
static void init(ESFactory factory)(Code)(Java Doc)
public boolean isBoolean()(Code)(Java Doc)
public boolean isNum()(Code)(Java Doc)
public boolean isString()(Code)(Java Doc)
public Iterator keys() throws Throwable(Code)(Java Doc)
public boolean lessThan(ESBase ob, boolean neg) throws Throwable(Code)(Java Doc)
public ESBase plus(ESBase b) throws Throwable(Code)(Java Doc)
public void setProperty(ESString key, ESBase value) throws Throwable(Code)(Java Doc)
public void setProperty(String key, ESBase value) throws Throwable(Code)(Java Doc)
public void setProperty(int i, ESBase value) throws Throwable(Code)(Java Doc)
public boolean toBoolean()(Code)(Java Doc)
public int toInt32() throws Throwable(Code)(Java Doc)
public Object toJavaObject() throws ESException(Code)(Java Doc)
public String toJavaString() throws Throwable(Code)(Java Doc)
public double toNum() throws Throwable(Code)(Java Doc)
public ESObject toObject() throws ESException(Code)(Java Doc)
public ESBase toPrimitive(int type) throws Throwable(Code)(Java Doc)
public ESBase toPrimitive() throws Throwable(Code)(Java Doc)
public ESString toSource(IntMap map, boolean isLoopPass) throws Throwable(Code)(Java Doc)
public ESString toStr() throws Throwable(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public ESBase typeof() throws ESException(Code)(Java Doc)
public ESBase valueOf() throws Throwable(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.