Class ConvertorFactory
java.lang.Object
org.apache.axis2.scripting.convertors.ConvertorFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OMElementConvertorcreateOMElementConvertor(AxisService axisService, String scriptName) Creates an OMElementConvertor for the script.protected static OMElementConvertorgetAxis2Convertor(AxisService axisService, String scriptName) protected static OMElementConvertorgetDefaultScriptConvertor(AxisService axisService, String scriptName) protected static OMElementConvertorgetScriptConvertor(AxisService axisService)
-
Constructor Details
-
ConvertorFactory
public ConvertorFactory()
-
-
Method Details
-
createOMElementConvertor
public static OMElementConvertor createOMElementConvertor(AxisService axisService, String scriptName) throws AxisFault Creates an OMElementConvertor for the script. The OMElementConvertor impl class name is either: - the convertor class name attribute from the script element in the sevices.xml - the value of the parameter name XXOMElementConvertor in the axis2.xml where XX is the script language suffix upper cased, eg. JS or RB - org.apache.axis2.receivers.scripting.convertors.XXOMElementConvertor where where XX is the script language suffix upper cased, eg. JS or RB - org.apache.axis2.receivers.scripting.convertors.DefaultOMElementConvertor- Throws:
AxisFault
-
getScriptConvertor
-
getAxis2Convertor
-
getDefaultScriptConvertor
protected static OMElementConvertor getDefaultScriptConvertor(AxisService axisService, String scriptName) throws InstantiationException, IllegalAccessException
-