org.jopendocument.dom.template.engine
Class RhinoTemplateScriptEngine

java.lang.Object
  extended by org.jopendocument.dom.template.engine.DataModel
      extended by org.jopendocument.dom.template.engine.RhinoTemplateScriptEngine

public class RhinoTemplateScriptEngine
extends DataModel


Constructor Summary
RhinoTemplateScriptEngine()
           
 
Method Summary
protected  Object _eval(String script)
           
 DataModel copy()
          Copy this engine and especially its bindings.
 void put(String key, Object value)
           
 
Methods inherited from class org.jopendocument.dom.template.engine.DataModel
eval, putAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RhinoTemplateScriptEngine

public RhinoTemplateScriptEngine()
Method Detail

_eval

protected Object _eval(String script)
Specified by:
_eval in class DataModel

put

public void put(String key,
                Object value)
Specified by:
put in class DataModel

copy

public DataModel copy()
Description copied from class: DataModel
Copy this engine and especially its bindings.

Specified by:
copy in class DataModel
Returns:
an independant copy of this.


Copyright © 2010 jOpenDocument All Rights Reserved.