public class JSOMElementConvertor extends DefaultOMElementConvertor
Modifier and Type | Field and Description |
---|---|
protected org.mozilla.javascript.Scriptable |
scope |
Constructor and Description |
---|
JSOMElementConvertor() |
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
fromScript(Object o) |
Object |
toScript(org.apache.axiom.om.OMElement o) |
setEngine
public Object toScript(org.apache.axiom.om.OMElement o)
toScript
in interface OMElementConvertor
toScript
in class DefaultOMElementConvertor
public org.apache.axiom.om.OMElement fromScript(Object o)
fromScript
in interface OMElementConvertor
fromScript
in class DefaultOMElementConvertor
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.