net.sf.xmlmatcher.js.rhino
Class RhinoJsEngine

java.lang.Object
  extended by net.sf.xmlmatcher.js.rhino.RhinoJsEngine
All Implemented Interfaces:
JsEngine

public class RhinoJsEngine
extends java.lang.Object
implements JsEngine

Implementation of JavaScript engine using Mozilla's Rhino library


Field Summary
 
Fields inherited from interface net.sf.xmlmatcher.js.JsEngine
VAR_ACTUAL, VAR_ERR, VAR_OUT, VAR_TEMPLATE
 
Constructor Summary
RhinoJsEngine()
           
 
Method Summary
 void execute(org.w3c.dom.Element template, org.w3c.dom.Element actual, java.lang.String script)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RhinoJsEngine

public RhinoJsEngine()
Method Detail

execute

public void execute(org.w3c.dom.Element template,
                    org.w3c.dom.Element actual,
                    java.lang.String script)
             throws XMLMismatchException,
                    InvalidTemplateException
Specified by:
execute in interface JsEngine
Throws:
XMLMismatchException
InvalidTemplateException


Copyright © 2007. All Rights Reserved.