public class JavaScriptXmlHelper
extends org.apache.bsf.xml.DefaultXMLHelper
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 ScriptXML Object
|
public org.apache.axiom.om.OMElement toOMElement(Object scriptXML) throws ScriptException
toOMElement
in class org.apache.bsf.xml.DefaultXMLHelper
scriptXML
- from java script ScriptableScriptException
- when errorpublic Object toScriptXML(org.apache.axiom.om.OMElement omElement) throws ScriptException
toScriptXML
in class org.apache.bsf.xml.DefaultXMLHelper
omElement
- ScriptException
- when errorCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.