public class JavaScriptXmlHelper
extends org.apache.bsf.xml.DefaultXMLHelper
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 ScriptXML Object
|
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 script Scriptablejavax.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
- javax.script.ScriptException
- when errorCopyright © 2005-2022 Apache Software Foundation. All Rights Reserved.