Class ConvertorFactory
- java.lang.Object
-
- org.apache.axis2.scripting.convertors.ConvertorFactory
-
public class ConvertorFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description ConvertorFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
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
protected static OMElementConvertor getScriptConvertor(AxisService axisService)
-
getAxis2Convertor
protected static OMElementConvertor getAxis2Convertor(AxisService axisService, String scriptName)
-
getDefaultScriptConvertor
protected static OMElementConvertor getDefaultScriptConvertor(AxisService axisService, String scriptName) throws InstantiationException, IllegalAccessException
-
-