org.apache.axis2.scripting.convertors
Class ConvertorFactory

java.lang.Object
  extended by org.apache.axis2.scripting.convertors.ConvertorFactory

public class ConvertorFactory
extends java.lang.Object


Constructor Summary
ConvertorFactory()
           
 
Method Summary
static OMElementConvertor createOMElementConvertor(AxisService axisService, java.lang.String scriptName)
          Creates an OMElementConvertor for the script.
protected static OMElementConvertor getAxis2Convertor(AxisService axisService, java.lang.String scriptName)
           
protected static OMElementConvertor getDefaultScriptConvertor(AxisService axisService, java.lang.String scriptName)
           
protected static OMElementConvertor getScriptConvertor(AxisService axisService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertorFactory

public ConvertorFactory()
Method Detail

createOMElementConvertor

public static OMElementConvertor createOMElementConvertor(AxisService axisService,
                                                          java.lang.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,
                                                      java.lang.String scriptName)

getDefaultScriptConvertor

protected static OMElementConvertor getDefaultScriptConvertor(AxisService axisService,
                                                              java.lang.String scriptName)
                                                       throws java.lang.InstantiationException,
                                                              java.lang.IllegalAccessException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.