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(Object scriptXML)
This method will convert the message payload in to xml.
|
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(Object scriptXML) throws ScriptException
toOMElement in class org.apache.bsf.xml.DefaultXMLHelperscriptXML - from java scriptScriptException - when errorpublic Object toScriptXML(org.apache.axiom.om.OMElement omElement) throws ScriptException
toScriptXML in class org.apache.bsf.xml.DefaultXMLHelperomElement - axiom element representation of xml documentScriptException - when errorCopyright © 2005–2018 Apache Software Foundation. All rights reserved.