List of usage examples for jdk.nashorn.api.scripting Formatter subclass-usage
From source file org.siphon.d2js.D2jsFormatter.java
public class D2jsFormatter extends Formatter { @Override public void formatQueryResult(JsspWriter out, Object queryResult, String message) throws Exception { if (!out.isDirty()) { if (JsTypeUtil.isNull(queryResult)) {
From source file org.siphon.db2js.Db2jsFormatter.java
public class Db2jsFormatter extends Formatter { @Override public void formatQueryResult(Object queryResult, String message, JsEngineHandlerContext engineContext) throws Exception { JsspWriter out = (JsspWriter) engineContext.getScriptEngine().get("out");