C# Class Rhino.NativeJavaClass

Inheritance: NativeJavaObject, System.Function
显示文件 Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
Construct ( Context cx, Scriptable scope, object args ) : Scriptable
Get ( string name, Scriptable start ) : object
GetClassName ( ) : string
GetClassObject ( ) : Type
GetDefaultValue ( Type hint ) : object
GetIds ( ) : object[]
Has ( string name, Scriptable start ) : bool
HasInstance ( Scriptable value ) : bool

Determines if prototype is a wrapped Java object and performs a Java "instanceof".

Determines if prototype is a wrapped Java object and performs a Java "instanceof". Exception: if value is an instance of NativeJavaClass, it isn't considered an instance of the Java class; this forestalls any name conflicts between java.lang.Class's methods and the static methods exposed by a JavaNativeClass.

NativeJavaClass ( ) : System
NativeJavaClass ( Scriptable scope, Type cl ) : System
NativeJavaClass ( Scriptable scope, Type cl, bool isAdapter ) : System
Put ( string name, Scriptable start, object value ) : void
ToString ( ) : string

Protected Methods

Method Description
InitMembers ( ) : void

Private Methods

Method Description
ConstructInternal ( object args, MemberBox ctor ) : object
ConstructSpecific ( Context cx, Scriptable scope, object args, MemberBox ctor ) : Scriptable
FindNestedClass ( Type parentClass, string name ) : Type

Method Details

Call() public method

public Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
cx Context
scope Scriptable
thisObj Scriptable
args object
return object

Construct() public method

public Construct ( Context cx, Scriptable scope, object args ) : Scriptable
cx Context
scope Scriptable
args object
return Scriptable

Get() public method

public Get ( string name, Scriptable start ) : object
name string
start Scriptable
return object

GetClassName() public method

public GetClassName ( ) : string
return string

GetClassObject() public method

public GetClassObject ( ) : Type
return System.Type

GetDefaultValue() public method

public GetDefaultValue ( Type hint ) : object
hint System.Type
return object

GetIds() public method

public GetIds ( ) : object[]
return object[]

Has() public method

public Has ( string name, Scriptable start ) : bool
name string
start Scriptable
return bool

HasInstance() public method

Determines if prototype is a wrapped Java object and performs a Java "instanceof".
Determines if prototype is a wrapped Java object and performs a Java "instanceof". Exception: if value is an instance of NativeJavaClass, it isn't considered an instance of the Java class; this forestalls any name conflicts between java.lang.Class's methods and the static methods exposed by a JavaNativeClass.
public HasInstance ( Scriptable value ) : bool
value Scriptable
return bool

InitMembers() protected method

protected InitMembers ( ) : void
return void

NativeJavaClass() public method

public NativeJavaClass ( ) : System
return System

NativeJavaClass() public method

public NativeJavaClass ( Scriptable scope, Type cl ) : System
scope Scriptable
cl System.Type
return System

NativeJavaClass() public method

public NativeJavaClass ( Scriptable scope, Type cl, bool isAdapter ) : System
scope Scriptable
cl System.Type
isAdapter bool
return System

Put() public method

public Put ( string name, Scriptable start, object value ) : void
name string
start Scriptable
value object
return void

ToString() public method

public ToString ( ) : string
return string