Java Doc for ScriptObject.java in  » Scripting » oscript-2.10.4 » oscript » data » 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 » oscript 2.10.4 » oscript.data 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   oscript.data.Value
      oscript.data.Scope
         oscript.data.BasicScope
            oscript.data.ScriptObject

ScriptObject
public class ScriptObject extends BasicScope (Code)
A script-object is basically just a scope, but also provides java wrappers for all the methods defined in Value, which allows a lot of flexibility for script objects to extend built-in types, or implement built-in operators (methods), such as +, -, *, /, etc., etc.
author:
   Rob Clark (rob@ti.com)


Field Summary
final public static  String[]MEMBER_NAMES
    
final public static  StringPARENT_TYPE_NAME
    
final public static  BuiltinTypeTYPE
     The type object for an instance of ScriptObject...
final public static  StringTYPE_NAME
    
final static  int_BOPCAST
    

Constructor Summary
 ScriptObject(Value type, Scope previous, oscript.util.SymbolTable smit)
     Class Constructor.

Method Summary
public  void__setJavaObject(Object javaObject)
     Set the java-object associated with a script object...
public  Value_bopBitwiseAnd(Value val)
    
public  Value_bopBitwiseAndR(Value val, PackagedScriptObjectException e)
    
public  Value_bopBitwiseOr(Value val)
    
public  Value_bopBitwiseOrR(Value val, PackagedScriptObjectException e)
    
public  Value_bopBitwiseXor(Value val)
    
public  Value_bopBitwiseXorR(Value val, PackagedScriptObjectException e)
    
public  Value_bopCast(Value val)
    
public  Value_bopCastR(Value val, PackagedScriptObjectException e)
    
public  Value_bopDivide(Value val)
    
public  Value_bopDivideR(Value val, PackagedScriptObjectException e)
    
public  Value_bopEquals(Value val)
    
public  Value_bopEqualsR(Value val, PackagedScriptObjectException e)
    
public  Value_bopGreaterThan(Value val)
    
public  Value_bopGreaterThanOrEquals(Value val)
    
public  Value_bopGreaterThanOrEqualsR(Value val, PackagedScriptObjectException e)
    
public  Value_bopGreaterThanR(Value val, PackagedScriptObjectException e)
    
public  Value_bopInstanceOf(Value val)
    
public  Value_bopInstanceOfR(Value val, PackagedScriptObjectException e)
    
public  Value_bopLeftShift(Value val)
    
public  Value_bopLeftShiftR(Value val, PackagedScriptObjectException e)
    
public  Value_bopLessThan(Value val)
    
public  Value_bopLessThanOrEquals(Value val)
    
public  Value_bopLessThanOrEqualsR(Value val, PackagedScriptObjectException e)
    
public  Value_bopLessThanR(Value val, PackagedScriptObjectException e)
    
public  Value_bopLogicalAnd(Value val)
    
public  Value_bopLogicalAndR(Value val, PackagedScriptObjectException e)
    
public  Value_bopLogicalOr(Value val)
    
public  Value_bopLogicalOrR(Value val, PackagedScriptObjectException e)
    
public  Value_bopMinus(Value val)
    
public  Value_bopMinusR(Value val, PackagedScriptObjectException e)
    
public  Value_bopMultiply(Value val)
    
public  Value_bopMultiplyR(Value val, PackagedScriptObjectException e)
    
public  Value_bopNotEquals(Value val)
    
public  Value_bopNotEqualsR(Value val, PackagedScriptObjectException e)
    
public  Value_bopPlus(Value val)
    
public  Value_bopPlusR(Value val, PackagedScriptObjectException e)
    
public  Value_bopRemainder(Value val)
    
public  Value_bopRemainderR(Value val, PackagedScriptObjectException e)
    
public  Value_bopSignedRightShift(Value val)
    
public  Value_bopSignedRightShiftR(Value val, PackagedScriptObjectException e)
    
public  Value_bopUnsignedRightShift(Value val)
    
public  Value_bopUnsignedRightShiftR(Value val, PackagedScriptObjectException e)
    
public  Value_callAsConstructor(StackFrame sf, MemberTable args)
    
public  Value_callAsExtends(StackFrame sf, Scope scope, MemberTable args)
    
public  Value_callAsFunction(StackFrame sf, MemberTable args)
    
public  boolean_castToBoolean()
    
public  long_castToExactNumber()
    
public  double_castToInexactNumber()
    
public  String_castToString()
    
public  Value_elementAt(Value idx)
    
public  Value_elementsAt(Value idx1, Value idx2)
    
public  Value_getType()
    
public  int_length()
    
public  void_opAssign(Value val)
    
public  Value_uopBitwiseNot()
    
public  Value_uopDecrement()
    
public  Value_uopIncrement()
    
public  Value_uopLogicalNot()
    
public  Value_uopMinus()
    
public  Value_uopPlus()
    
public  ValuebopBitwiseAnd(Value val)
     Perform the bitwise AND operation.
public  ValuebopBitwiseAndR(Value val, PackagedScriptObjectException e)
    
public  ValuebopBitwiseOr(Value val)
     Perform the bitwise OR operation.
public  ValuebopBitwiseOrR(Value val, PackagedScriptObjectException e)
    
public  ValuebopBitwiseXor(Value val)
     Perform the bitwise XOR operation.
public  ValuebopBitwiseXorR(Value val, PackagedScriptObjectException e)
    
public  ValuebopCast(Value val)
    
public  ValuebopCastR(Value val, PackagedScriptObjectException e)
    
public  ValuebopDivide(Value val)
     Perform the "/" operation.
public  ValuebopDivideR(Value val, PackagedScriptObjectException e)
    
public  ValuebopEquals(Value val)
     Perform the "==" operation.
public  ValuebopEqualsR(Value val, PackagedScriptObjectException e)
    
public  ValuebopGreaterThan(Value val)
     Perform the ">" operation.
public  ValuebopGreaterThanOrEquals(Value val)
     Perform the ">=" operation.
public  ValuebopGreaterThanOrEqualsR(Value val, PackagedScriptObjectException e)
    
public  ValuebopGreaterThanR(Value val, PackagedScriptObjectException e)
    
public  ValuebopInstanceOf(Value val)
     Perform the instanceof operation.
public  ValuebopInstanceOfR(Value val, PackagedScriptObjectException e)
    
public  ValuebopLeftShift(Value val)
     Perform the "<<" operation.
public  ValuebopLeftShiftR(Value val, PackagedScriptObjectException e)
    
public  ValuebopLessThan(Value val)
     Perform the "<" operation.
public  ValuebopLessThanOrEquals(Value val)
     Perform the "<=" operation.
public  ValuebopLessThanOrEqualsR(Value val, PackagedScriptObjectException e)
    
public  ValuebopLessThanR(Value val, PackagedScriptObjectException e)
    
public  ValuebopLogicalAnd(Value val)
     Perform the logical AND operation.
public  ValuebopLogicalAndR(Value val, PackagedScriptObjectException e)
    
public  ValuebopLogicalOr(Value val)
     Perform the logical OR operation.
public  ValuebopLogicalOrR(Value val, PackagedScriptObjectException e)
    
public  ValuebopMinus(Value val)
     Perform the "-" operation.
public  ValuebopMinusR(Value val, PackagedScriptObjectException e)
    
public  ValuebopMultiply(Value val)
     Perform the "*" operation.
public  ValuebopMultiplyR(Value val, PackagedScriptObjectException e)
    
public  ValuebopNotEquals(Value val)
     Perform the "!=" operation.
public  ValuebopNotEqualsR(Value val, PackagedScriptObjectException e)
    
public  ValuebopPlus(Value val)
     Perform the "+" operation.
public  ValuebopPlusR(Value val, PackagedScriptObjectException e)
    
public  ValuebopRemainder(Value val)
     Perform the "%" operation.
public  ValuebopRemainderR(Value val, PackagedScriptObjectException e)
    
public  ValuebopSignedRightShift(Value val)
     Perform the ">>" operation.
public  ValuebopSignedRightShiftR(Value val, PackagedScriptObjectException e)
    
public  ValuebopUnsignedRightShift(Value val)
     Perform the ">>>" operation.
public  ValuebopUnsignedRightShiftR(Value val, PackagedScriptObjectException e)
    
public  ValuecallAsConstructor(StackFrame sf, MemberTable args)
     Call this object as a constructor.
public  ValuecallAsExtends(StackFrame sf, Scope scope, MemberTable args)
     Call this object as a parent class constructor.
public  ValuecallAsFunction(StackFrame sf, MemberTable args)
     Call this object as a function.
public  booleancastToBoolean()
     Convert this object to a native java boolean value.
public  longcastToExactNumber()
     Convert this object to a native java long value.
public  doublecastToInexactNumber()
     Convert this object to a native java double value.
public  ObjectcastToJavaObject()
     Convert this object to a native java Object value.
public  StringcastToString()
     Convert this object to a native java String value.
public  ValueelementAt(Value idx)
     Get the specified index of this object, if this object is an array.
public  ValueelementsAt(Value idx1, Value idx2)
     Get the specified range of this object, if this object is an array.
protected  voidfinalize()
    
public  ObjectgetMonitor()
     Return the object used for implementing synchronized.
protected  ValuegetTypeImpl()
     Get the type of this object.
public  intlength()
     For types that implement elementAt, this returns the number of elements.
public  voidopAssign(Value val)
     Perform assignment.
public  ValueuopBitwiseNot()
     Perform the "~" operation.
public  ValueuopDecrement()
     Perform the "--" operation.
public  ValueuopIncrement()
     Perform the "++" operation.
public  ValueuopLogicalNot()
     Perform the "!" operation.
public  ValueuopMinus()
     Perform the "-" operation.
public  ValueuopPlus()
     Perform the "+" operation.

Field Detail
MEMBER_NAMES
final public static String[] MEMBER_NAMES(Code)



PARENT_TYPE_NAME
final public static String PARENT_TYPE_NAME(Code)



TYPE
final public static BuiltinType TYPE(Code)
The type object for an instance of ScriptObject... which can't really be instantiated, but this is needed internally.



TYPE_NAME
final public static String TYPE_NAME(Code)



_BOPCAST
final static int _BOPCAST(Code)




Constructor Detail
ScriptObject
ScriptObject(Value type, Scope previous, oscript.util.SymbolTable smit)(Code)
Class Constructor. Construct a element in the scope chain. This constructs a "function" element in the scope chain. This is called from the Function class when a function is evaluated.
Parameters:
  type - the type of the object
Parameters:
  previous - previous in environment scope chain
Parameters:
  smit - shared member idx table




Method Detail
__setJavaObject
public void __setJavaObject(Object javaObject)(Code)
Set the java-object associated with a script object... this is used when a script type subclasses a java type.
Parameters:
  javaObject - the java-object



_bopBitwiseAnd
public Value _bopBitwiseAnd(Value val) throws PackagedScriptObjectException(Code)



_bopBitwiseAndR
public Value _bopBitwiseAndR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopBitwiseOr
public Value _bopBitwiseOr(Value val) throws PackagedScriptObjectException(Code)



_bopBitwiseOrR
public Value _bopBitwiseOrR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopBitwiseXor
public Value _bopBitwiseXor(Value val) throws PackagedScriptObjectException(Code)



_bopBitwiseXorR
public Value _bopBitwiseXorR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopCast
public Value _bopCast(Value val) throws PackagedScriptObjectException(Code)



_bopCastR
public Value _bopCastR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopDivide
public Value _bopDivide(Value val) throws PackagedScriptObjectException(Code)



_bopDivideR
public Value _bopDivideR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopEquals
public Value _bopEquals(Value val) throws PackagedScriptObjectException(Code)



_bopEqualsR
public Value _bopEqualsR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopGreaterThan
public Value _bopGreaterThan(Value val) throws PackagedScriptObjectException(Code)



_bopGreaterThanOrEquals
public Value _bopGreaterThanOrEquals(Value val) throws PackagedScriptObjectException(Code)



_bopGreaterThanOrEqualsR
public Value _bopGreaterThanOrEqualsR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopGreaterThanR
public Value _bopGreaterThanR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopInstanceOf
public Value _bopInstanceOf(Value val) throws PackagedScriptObjectException(Code)



_bopInstanceOfR
public Value _bopInstanceOfR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopLeftShift
public Value _bopLeftShift(Value val) throws PackagedScriptObjectException(Code)



_bopLeftShiftR
public Value _bopLeftShiftR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopLessThan
public Value _bopLessThan(Value val) throws PackagedScriptObjectException(Code)



_bopLessThanOrEquals
public Value _bopLessThanOrEquals(Value val) throws PackagedScriptObjectException(Code)



_bopLessThanOrEqualsR
public Value _bopLessThanOrEqualsR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopLessThanR
public Value _bopLessThanR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopLogicalAnd
public Value _bopLogicalAnd(Value val) throws PackagedScriptObjectException(Code)



_bopLogicalAndR
public Value _bopLogicalAndR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopLogicalOr
public Value _bopLogicalOr(Value val) throws PackagedScriptObjectException(Code)



_bopLogicalOrR
public Value _bopLogicalOrR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopMinus
public Value _bopMinus(Value val) throws PackagedScriptObjectException(Code)



_bopMinusR
public Value _bopMinusR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopMultiply
public Value _bopMultiply(Value val) throws PackagedScriptObjectException(Code)



_bopMultiplyR
public Value _bopMultiplyR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopNotEquals
public Value _bopNotEquals(Value val) throws PackagedScriptObjectException(Code)



_bopNotEqualsR
public Value _bopNotEqualsR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopPlus
public Value _bopPlus(Value val) throws PackagedScriptObjectException(Code)



_bopPlusR
public Value _bopPlusR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopRemainder
public Value _bopRemainder(Value val) throws PackagedScriptObjectException(Code)



_bopRemainderR
public Value _bopRemainderR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopSignedRightShift
public Value _bopSignedRightShift(Value val) throws PackagedScriptObjectException(Code)



_bopSignedRightShiftR
public Value _bopSignedRightShiftR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_bopUnsignedRightShift
public Value _bopUnsignedRightShift(Value val) throws PackagedScriptObjectException(Code)



_bopUnsignedRightShiftR
public Value _bopUnsignedRightShiftR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



_callAsConstructor
public Value _callAsConstructor(StackFrame sf, MemberTable args) throws PackagedScriptObjectException(Code)



_callAsExtends
public Value _callAsExtends(StackFrame sf, Scope scope, MemberTable args) throws PackagedScriptObjectException(Code)



_callAsFunction
public Value _callAsFunction(StackFrame sf, MemberTable args) throws PackagedScriptObjectException(Code)



_castToBoolean
public boolean _castToBoolean() throws PackagedScriptObjectException(Code)



_castToExactNumber
public long _castToExactNumber() throws PackagedScriptObjectException(Code)



_castToInexactNumber
public double _castToInexactNumber() throws PackagedScriptObjectException(Code)



_castToString
public String _castToString() throws PackagedScriptObjectException(Code)



_elementAt
public Value _elementAt(Value idx) throws PackagedScriptObjectException(Code)



_elementsAt
public Value _elementsAt(Value idx1, Value idx2) throws PackagedScriptObjectException(Code)



_getType
public Value _getType()(Code)



_length
public int _length() throws PackagedScriptObjectException(Code)



_opAssign
public void _opAssign(Value val) throws PackagedScriptObjectException(Code)



_uopBitwiseNot
public Value _uopBitwiseNot() throws PackagedScriptObjectException(Code)



_uopDecrement
public Value _uopDecrement() throws PackagedScriptObjectException(Code)



_uopIncrement
public Value _uopIncrement() throws PackagedScriptObjectException(Code)



_uopLogicalNot
public Value _uopLogicalNot() throws PackagedScriptObjectException(Code)



_uopMinus
public Value _uopMinus() throws PackagedScriptObjectException(Code)



_uopPlus
public Value _uopPlus() throws PackagedScriptObjectException(Code)



bopBitwiseAnd
public Value bopBitwiseAnd(Value val) throws PackagedScriptObjectException(Code)
Perform the bitwise AND operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopBitwiseAndR
public Value bopBitwiseAndR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopBitwiseOr
public Value bopBitwiseOr(Value val) throws PackagedScriptObjectException(Code)
Perform the bitwise OR operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopBitwiseOrR
public Value bopBitwiseOrR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopBitwiseXor
public Value bopBitwiseXor(Value val) throws PackagedScriptObjectException(Code)
Perform the bitwise XOR operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopBitwiseXorR
public Value bopBitwiseXorR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopCast
public Value bopCast(Value val) throws PackagedScriptObjectException(Code)
Perform the cast operation, (a)b is equivalent to a.bopCast(b)
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMemberException)



bopCastR
public Value bopCastR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopDivide
public Value bopDivide(Value val) throws PackagedScriptObjectException(Code)
Perform the "/" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopDivideR
public Value bopDivideR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopEquals
public Value bopEquals(Value val) throws PackagedScriptObjectException(Code)
Perform the "==" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopEqualsR
public Value bopEqualsR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopGreaterThan
public Value bopGreaterThan(Value val) throws PackagedScriptObjectException(Code)
Perform the ">" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopGreaterThanOrEquals
public Value bopGreaterThanOrEquals(Value val) throws PackagedScriptObjectException(Code)
Perform the ">=" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopGreaterThanOrEqualsR
public Value bopGreaterThanOrEqualsR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopGreaterThanR
public Value bopGreaterThanR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopInstanceOf
public Value bopInstanceOf(Value val) throws PackagedScriptObjectException(Code)
Perform the instanceof operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopInstanceOfR
public Value bopInstanceOfR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopLeftShift
public Value bopLeftShift(Value val) throws PackagedScriptObjectException(Code)
Perform the "<<" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopLeftShiftR
public Value bopLeftShiftR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopLessThan
public Value bopLessThan(Value val) throws PackagedScriptObjectException(Code)
Perform the "<" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopLessThanOrEquals
public Value bopLessThanOrEquals(Value val) throws PackagedScriptObjectException(Code)
Perform the "<=" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopLessThanOrEqualsR
public Value bopLessThanOrEqualsR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopLessThanR
public Value bopLessThanR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopLogicalAnd
public Value bopLogicalAnd(Value val) throws PackagedScriptObjectException(Code)
Perform the logical AND operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopLogicalAndR
public Value bopLogicalAndR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopLogicalOr
public Value bopLogicalOr(Value val) throws PackagedScriptObjectException(Code)
Perform the logical OR operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopLogicalOrR
public Value bopLogicalOrR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopMinus
public Value bopMinus(Value val) throws PackagedScriptObjectException(Code)
Perform the "-" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopMinusR
public Value bopMinusR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopMultiply
public Value bopMultiply(Value val) throws PackagedScriptObjectException(Code)
Perform the "*" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopMultiplyR
public Value bopMultiplyR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopNotEquals
public Value bopNotEquals(Value val) throws PackagedScriptObjectException(Code)
Perform the "!=" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopNotEqualsR
public Value bopNotEqualsR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopPlus
public Value bopPlus(Value val) throws PackagedScriptObjectException(Code)
Perform the "+" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopPlusR
public Value bopPlusR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopRemainder
public Value bopRemainder(Value val) throws PackagedScriptObjectException(Code)
Perform the "%" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopRemainderR
public Value bopRemainderR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopSignedRightShift
public Value bopSignedRightShift(Value val) throws PackagedScriptObjectException(Code)
Perform the ">>" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopSignedRightShiftR
public Value bopSignedRightShiftR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



bopUnsignedRightShift
public Value bopUnsignedRightShift(Value val) throws PackagedScriptObjectException(Code)
Perform the ">>>" operation.
Parameters:
  val - the other value the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



bopUnsignedRightShiftR
public Value bopUnsignedRightShiftR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)



callAsConstructor
public Value callAsConstructor(StackFrame sf, MemberTable args) throws PackagedScriptObjectException(Code)
Call this object as a constructor.
Parameters:
  sf - the current stack frame
Parameters:
  args - the arguments to the function, or null if none the newly constructed object
throws:
  PackagedScriptObjectException -
See Also:   Function



callAsExtends
public Value callAsExtends(StackFrame sf, Scope scope, MemberTable args) throws PackagedScriptObjectException(Code)
Call this object as a parent class constructor.
Parameters:
  sf - the current stack frame
Parameters:
  scope - the object
Parameters:
  args - the arguments to the function, or null if none the value returned by the function
throws:
  PackagedScriptObjectException -
See Also:   Function



callAsFunction
public Value callAsFunction(StackFrame sf, MemberTable args) throws PackagedScriptObjectException(Code)
Call this object as a function.
Parameters:
  sf - the current stack frame
Parameters:
  args - the arguments to the function, or null if none the value returned by the function
throws:
  PackagedScriptObjectException -
See Also:   Function



castToBoolean
public boolean castToBoolean() throws PackagedScriptObjectException(Code)
Convert this object to a native java boolean value. a boolean value
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



castToExactNumber
public long castToExactNumber() throws PackagedScriptObjectException(Code)
Convert this object to a native java long value. a long value
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



castToInexactNumber
public double castToInexactNumber() throws PackagedScriptObjectException(Code)
Convert this object to a native java double value. a double value
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



castToJavaObject
public Object castToJavaObject() throws PackagedScriptObjectException(Code)
Convert this object to a native java Object value. a java object
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



castToString
public String castToString() throws PackagedScriptObjectException(Code)
Convert this object to a native java String value. a String value
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



elementAt
public Value elementAt(Value idx) throws PackagedScriptObjectException(Code)
Get the specified index of this object, if this object is an array. If needed, the array is grown to the appropriate size.
Parameters:
  idx - the index to get a reference to the member
throws:
  PackagedScriptObjectException - (NoSuchMethodException)
See Also:   ScriptObject.length



elementsAt
public Value elementsAt(Value idx1, Value idx2) throws PackagedScriptObjectException(Code)
Get the specified range of this object, if this object is an array. This returns a copy of a range of the array.
Parameters:
  idx1 - the index index of the beginning of the range, inclusive
Parameters:
  idx2 - the index of the end of the range, inclusive a copy of the specified range of this array
throws:
  PackagedScriptObjectException - (NoSuchMemberException)
See Also:   ScriptObject.length
See Also:   ScriptObject.elementAt



finalize
protected void finalize() throws PackagedScriptObjectException(Code)
Called when the script object is GC'd



getMonitor
public Object getMonitor()(Code)
Return the object used for implementing synchronized. For a normal script object, the object is it's own monitor. For a java object, it is the java object rather than the JavaObjectWrapper . the object to synchronize on



getTypeImpl
protected Value getTypeImpl()(Code)
Get the type of this object. The returned type doesn't have to take into account the possibility of a script type extending a built-in type, since that is handled by ScriptObject.getType . the object's type



length
public int length() throws PackagedScriptObjectException(Code)
For types that implement elementAt, this returns the number of elements. This is the same as the length property of an object. an integer length
throws:
  PackagedScriptObjectException - (NoSuchMethodException)
See Also:   ScriptObject.elementAt



opAssign
public void opAssign(Value val) throws PackagedScriptObjectException(Code)
Perform assignment. Set the value of this reference to the specified value.
Parameters:
  val - the value to set this reference to
throws:
  PackagedScriptObjectException - (NoSuchMemberException)



uopBitwiseNot
public Value uopBitwiseNot() throws PackagedScriptObjectException(Code)
Perform the "~" operation.
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



uopDecrement
public Value uopDecrement() throws PackagedScriptObjectException(Code)
Perform the "--" operation. the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



uopIncrement
public Value uopIncrement() throws PackagedScriptObjectException(Code)
Perform the "++" operation. the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



uopLogicalNot
public Value uopLogicalNot() throws PackagedScriptObjectException(Code)
Perform the "!" operation. the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



uopMinus
public Value uopMinus() throws PackagedScriptObjectException(Code)
Perform the "-" operation. the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



uopPlus
public Value uopPlus() throws PackagedScriptObjectException(Code)
Perform the "+" operation. the result
throws:
  PackagedScriptObjectException - (NoSuchMethodException)



Fields inherited from oscript.data.BasicScope
protected MemberTable members(Code)(Java Doc)
protected Value[] mixins(Code)(Java Doc)
protected SymbolTable smit(Code)(Java Doc)

Methods inherited from oscript.data.BasicScope
public Value __getInstanceMember(int id)(Code)(Java Doc)
Debugger.MemberAccessor _getInstanceMemberAccessor(Value name)(Code)(Java Doc)
public Value createMember(int id, int attr)(Code)(Java Doc)
public void free()(Code)(Java Doc)
protected Value getInstanceMemberImpl(int id)(Code)(Java Doc)
public Value getMember(int id, boolean exception) throws PackagedScriptObjectException(Code)(Java Doc)
protected Value getMemberImpl(int id)(Code)(Java Doc)
public Scope getSafeCopy()(Code)(Java Doc)
public Value getType()(Code)(Java Doc)
protected Value getTypeImpl()(Code)(Java Doc)
public boolean isSafe()(Code)(Java Doc)
public Value lookupInScope(int id) throws PackagedScriptObjectException(Code)(Java Doc)
public void mixin(Value val)(Code)(Java Doc)
protected void populateMemberSet(Set s, boolean debugger)(Code)(Java Doc)
final public void reset()(Code)(Java Doc)

Fields inherited from oscript.data.Scope
protected Scope previous(Code)(Java Doc)

Methods inherited from oscript.data.Scope
abstract public Value __getInstanceMember(int id)(Code)(Java Doc)
public void __setJavaObject(Object javaObject)(Code)(Java Doc)
final public Value createMember(String name, int attr)(Code)(Java Doc)
final public Value createMember(Value name, int attr)(Code)(Java Doc)
abstract public Value createMember(int id, int attr)(Code)(Java Doc)
final protected static String findDesc(Scope scope)(Code)(Java Doc)
abstract public void free()(Code)(Java Doc)
public Value getCallee()(Code)(Java Doc)
protected Value getInstanceMemberImpl(int id)(Code)(Java Doc)
protected Value getMemberImpl(int id)(Code)(Java Doc)
public Scope getPreviousScope()(Code)(Java Doc)
public Scope getSafeCopy()(Code)(Java Doc)
public Value getSuper()(Code)(Java Doc)
public Value getThis()(Code)(Java Doc)
public Value getThis(Value val)(Code)(Java Doc)
abstract public boolean isSafe()(Code)(Java Doc)
final public Value lookupInScope(String name) throws PackagedScriptObjectException(Code)(Java Doc)
final public Value lookupInScope(Value name) throws PackagedScriptObjectException(Code)(Java Doc)
abstract public Value lookupInScope(int id) throws PackagedScriptObjectException(Code)(Java Doc)
abstract public void mixin(Value val)(Code)(Java Doc)

Fields inherited from oscript.data.Value
final public static boolean DEBUG(Code)(Java Doc)
final public static String[] MEMBER_NAMES(Code)(Java Doc)
final public static Value NULL(Code)(Java Doc)
final public static String PARENT_TYPE_NAME(Code)(Java Doc)
final public static BuiltinType TYPE(Code)(Java Doc)
final public static String TYPE_NAME(Code)(Java Doc)
final public static Value UNDEFINED(Code)(Java Doc)

Methods inherited from oscript.data.Value
public static Value _getTypeMember(Value type, Value obj, int id)(Code)(Java Doc)
public static void _populateTypeMemberSet(Value type, java.util.Set s, boolean d)(Code)(Java Doc)
public Value bopBitwiseAnd(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopBitwiseAndR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopBitwiseOr(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopBitwiseOrR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopBitwiseXor(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopBitwiseXorR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopCast(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopCastR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopDivide(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopDivideR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopEquals(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopEqualsR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopGreaterThan(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopGreaterThanOrEquals(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopGreaterThanOrEqualsR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopGreaterThanR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopInstanceOf(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopInstanceOfR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopLeftShift(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopLeftShiftR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopLessThan(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopLessThanOrEquals(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopLessThanOrEqualsR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopLessThanR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopLogicalAnd(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopLogicalAndR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopLogicalOr(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopLogicalOrR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopMinus(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopMinusR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopMultiply(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopMultiplyR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopNotEquals(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopNotEqualsR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopPlus(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopPlusR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopRemainder(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopRemainderR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopSignedRightShift(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopSignedRightShiftR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopUnsignedRightShift(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
public Value bopUnsignedRightShiftR(Value val, PackagedScriptObjectException e) throws PackagedScriptObjectException(Code)(Java Doc)
public Value callAsConstructor(StackFrame sf, MemberTable args) throws PackagedScriptObjectException(Code)(Java Doc)
final public Value callAsConstructor(Value[] args) throws PackagedScriptObjectException(Code)(Java Doc)
final public Value callAsConstructor(StackFrame sf, Value[] args)(Code)(Java Doc)
public Value callAsExtends(StackFrame sf, Scope scope, MemberTable args) throws PackagedScriptObjectException(Code)(Java Doc)
final public Value callAsExtends(Scope scope, MemberTable args) throws PackagedScriptObjectException(Code)(Java Doc)
final public Value callAsExtends(StackFrame sf, Scope scope, Value[] args)(Code)(Java Doc)
public Value callAsFunction(StackFrame sf, MemberTable args) throws PackagedScriptObjectException(Code)(Java Doc)
final public Value callAsFunction(Value[] args) throws PackagedScriptObjectException(Code)(Java Doc)
final public Value callAsFunction(StackFrame sf, Value[] args)(Code)(Java Doc)
public boolean castToBoolean() throws PackagedScriptObjectException(Code)(Java Doc)
public long castToExactNumber() throws PackagedScriptObjectException(Code)(Java Doc)
public double castToInexactNumber() throws PackagedScriptObjectException(Code)(Java Doc)
public Object castToJavaObject() throws PackagedScriptObjectException(Code)(Java Doc)
public String castToString() throws PackagedScriptObjectException(Code)(Java Doc)
public Value elementAt(Value idx) throws PackagedScriptObjectException(Code)(Java Doc)
public Value elementsAt(Value idx1, Value idx2) throws PackagedScriptObjectException(Code)(Java Doc)
final public Value getMember(String name) throws PackagedScriptObjectException(Code)(Java Doc)
public Value getMember(Value name) throws PackagedScriptObjectException(Code)(Java Doc)
final public Value getMember(int id) throws PackagedScriptObjectException(Code)(Java Doc)
final public Value getMember(String name, boolean exception) throws PackagedScriptObjectException(Code)(Java Doc)
final public Value getMember(Value name, boolean exception) throws PackagedScriptObjectException(Code)(Java Doc)
public Value getMember(int id, boolean exception) throws PackagedScriptObjectException(Code)(Java Doc)
public Object getMonitor()(Code)(Java Doc)
public Value getType()(Code)(Java Doc)
abstract protected Value getTypeImpl()(Code)(Java Doc)
protected Value getTypeMember(Value obj, int id)(Code)(Java Doc)
final protected Value getTypeMember(Value obj, Value name)(Code)(Java Doc)
public boolean isA(Value type)(Code)(Java Doc)
public int length() throws PackagedScriptObjectException(Code)(Java Doc)
public java.util.Set memberSet()(Code)(Java Doc)
protected PackagedScriptObjectException noSuchMember(String member)(Code)(Java Doc)
public void opAssign(Value val) throws PackagedScriptObjectException(Code)(Java Doc)
protected void populateMemberSet(java.util.Set s, boolean debugger)(Code)(Java Doc)
protected void populateTypeMemberSet(java.util.Set s, boolean debugger)(Code)(Java Doc)
public void readExternal(java.io.ObjectInput in) throws ClassNotFoundException, java.io.IOException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public Value unhand()(Code)(Java Doc)
public Value uopBitwiseNot() throws PackagedScriptObjectException(Code)(Java Doc)
public Value uopDecrement() throws PackagedScriptObjectException(Code)(Java Doc)
public Value uopIncrement() throws PackagedScriptObjectException(Code)(Java Doc)
public Value uopLogicalNot() throws PackagedScriptObjectException(Code)(Java Doc)
public Value uopMinus() throws PackagedScriptObjectException(Code)(Java Doc)
public Value uopPlus() throws PackagedScriptObjectException(Code)(Java Doc)
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException(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.