@ Override public String evalStrictToString ( String script ) { Object returnedObject = context . evaluateString ( scope , script , "<cmd>" , 1 , null ) ; String unwrappedObject = unwrapProcessedObjectToString ( returnedObject ) ; if ( unwrappedObject != null ) { return unwrappedObject ; } else return "null" ; }
Used for processing js expressions in page spec reader . In case of failure throws an exception