Scriptable function ( Context arg0 , Scriptable arg1 , Object arg2 , Class < ? > arg3 ) { Scriptable loc0 ; loc0 = new NativeJavaObject ( arg1 , arg2 , arg3 ) ; return loc0 ; }
wrap java object as scriptable instance to allow full access to its methods and fields from javascript . #wrap context , scriptable , object , class and #wrapnewobject context , scriptable , object call this methodwhen they can not convert javaobject to javascript primitive value or javascript array . subclasses can override the method to provide custom wrappers for java objects . concode_field_sep boolean javaPrimitiveWrap concode_field_sep void setJavaPrimitiveWrap concode_elem_sep boolean isJavaPrimitiveWrap concode_elem_sep Object wrap concode_elem_sep Scriptable wrapNewObject