boolean function ( ) { return javaPrimitiveWrap ; }
return false if result of java method , which is instance of string , number , boolean and character , should be used directly as javascript primitive type . by default the method returns true to indicate that instances of string , number , boolean and character should be wrapped as any other java object and scripts can access any java method available in these objects . use #setjavaprimitivewrap boolean to change this . concode_field_sep boolean javaPrimitiveWrap concode_field_sep Scriptable wrapAsJavaObject concode_elem_sep void setJavaPrimitiveWrap concode_elem_sep Object wrap concode_elem_sep Scriptable wrapNewObject