org.apache.axis2.jaxws.marshaller.factory
Class MethodMarshallerFactory

java.lang.Object
  extended by org.apache.axis2.jaxws.marshaller.factory.MethodMarshallerFactory

public class MethodMarshallerFactory
extends java.lang.Object

The MethodMarshallerFactory creates a Doc/Lit Wrapped, Doc/Lit Bare or RPC Marshaller using SOAPBinding information


Method Summary
static MethodMarshaller getMarshaller(OperationDescription op, boolean isClient)
           
static MethodMarshaller getMarshaller(OperationDescription op, boolean isClient, java.lang.ClassLoader cl)
           
protected static boolean isDocLitBare(OperationDescription op)
           
protected static boolean isDocLitBareMinimal(OperationDescription op, java.lang.ClassLoader cl)
          If a webservices is created without xjc, then there will be no ObjectFactory classes packaged with the webservice.
protected static boolean isDocLitWrapped(OperationDescription op)
           
protected static boolean isDocLitWrappedMinimal(OperationDescription op)
          If a web service is created without wsgen, it is possible that the wrapper elements are missing.
protected static boolean isDocLitWrappedPlus(OperationDescription op)
          If an web service is created using wsgen, it is possible that the sei does not comply with the wrapped rules.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMarshaller

public static MethodMarshaller getMarshaller(OperationDescription op,
                                             boolean isClient)

getMarshaller

public static MethodMarshaller getMarshaller(OperationDescription op,
                                             boolean isClient,
                                             java.lang.ClassLoader cl)

isDocLitBare

protected static boolean isDocLitBare(OperationDescription op)

isDocLitWrapped

protected static boolean isDocLitWrapped(OperationDescription op)

isDocLitWrappedPlus

protected static boolean isDocLitWrappedPlus(OperationDescription op)
If an web service is created using wsgen, it is possible that the sei does not comply with the wrapped rules. For example, wsgen will allow header parameters and return values. In such cases we will use the DocLitWrappedPlus marshaller to marshal and unmarshal the xml in these extraordinary situations

Parameters:
op -
Returns:

isDocLitBareMinimal

protected static boolean isDocLitBareMinimal(OperationDescription op,
                                             java.lang.ClassLoader cl)
If a webservices is created without xjc, then there will be no ObjectFactory classes packaged with the webservice. In such cases, use the doc/lit bare minimal marshaller. This marshaller will use "by java type" marshalling/unmarshalling for primitives and Strings.

Parameters:
op -
Returns:

isDocLitWrappedMinimal

protected static boolean isDocLitWrappedMinimal(OperationDescription op)
If a web service is created without wsgen, it is possible that the wrapper elements are missing. In such cases, use the doc/lit wrapped minimal marshaller

Parameters:
op -
Returns:


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