public class NashornJavaScriptXmlHelper
extends org.apache.bsf.xml.DefaultXMLHelper
Constructor and Description |
---|
NashornJavaScriptXmlHelper() |
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
toOMElement(java.lang.Object scriptXML)
This method will convert the message payload in to xml.
|
java.lang.Object |
toScriptXML(org.apache.axiom.om.OMElement omElement)
This method will convert the message payload in to xml string.
|
public org.apache.axiom.om.OMElement toOMElement(java.lang.Object scriptXML) throws javax.script.ScriptException
toOMElement
in class org.apache.bsf.xml.DefaultXMLHelper
scriptXML
- from java scriptjavax.script.ScriptException
- when errorpublic java.lang.Object toScriptXML(org.apache.axiom.om.OMElement omElement) throws javax.script.ScriptException
toScriptXML
in class org.apache.bsf.xml.DefaultXMLHelper
omElement
- axiom element representation of xml documentjavax.script.ScriptException
- when errorCopyright © 2005-2021 Apache Software Foundation. All Rights Reserved.