@ JSFunction public Object getWriter ( ) { if ( writer == null ) return null ; Scriptable parent = ScriptableObject . getTopLevelScope ( this ) ; return Context . javaToJS ( writer , parent ) ; }
Get the Java writer .