Class LocaleMarshaler
- java.lang.Object
-
- com.collabnet.ce.soap60.marshaling.AbstractStatelessSoapMarshaler
-
- com.collabnet.ce.soap60.marshaling.LocaleMarshaler
-
- All Implemented Interfaces:
SoapMarshaler
public class LocaleMarshaler extends AbstractStatelessSoapMarshaler
Marshals Locale to String and vice-versa.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocaleMarshalergetInstance()Returns singleton instance.booleanisStateless()Determines if this marshaller is stateless/cacheable.ObjectrmiToSoap(Object rmiObject)Unmarshals an object used by RMI APIs to a SOAP objectObjectsoapToRmi(Object soapObject)Converts a SOAP object to an object type required by RMI APIs.
-
-
-
Method Detail
-
getInstance
public static LocaleMarshaler getInstance()
Returns singleton instance.- Returns:
- The singleton marshaler instance.
-
soapToRmi
public Object soapToRmi(Object soapObject) throws SoapMarshalingException
Description copied from interface:SoapMarshalerConverts a SOAP object to an object type required by RMI APIs.- Parameters:
soapObject- SOAP object to marshal.- Returns:
- Object required by RMI APIs.
- Throws:
SoapMarshalingException- when an error is encountered during marshaling.- See Also:
SoapMarshaler.soapToRmi(java.lang.Object)
-
rmiToSoap
public Object rmiToSoap(Object rmiObject) throws SoapMarshalingException
Description copied from interface:SoapMarshalerUnmarshals an object used by RMI APIs to a SOAP object- Parameters:
rmiObject- Object used by RMI apis.- Returns:
- Unmarshaled SOAP object.
- Throws:
SoapMarshalingException- when an error is encountered during unmarshaling.- See Also:
SoapMarshaler.rmiToSoap(java.lang.Object)
-
isStateless
public boolean isStateless()
Description copied from interface:SoapMarshalerDetermines if this marshaller is stateless/cacheable.- Specified by:
isStatelessin interfaceSoapMarshaler- Overrides:
isStatelessin classAbstractStatelessSoapMarshaler- Returns:
- true if the the marshaller is stateless
- See Also:
By default, all ObjectMarshallers are stateless.
-
-