org.apache.axis2.scripting.convertors
Class ConvertorFactory
java.lang.Object
org.apache.axis2.scripting.convertors.ConvertorFactory
public class ConvertorFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertorFactory
public ConvertorFactory()
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
- Throws:
InstantiationException
IllegalAccessException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.