Class LocaleMarshaler
java.lang.Object
com.collabnet.ce.soap60.marshaling.AbstractStatelessSoapMarshaler
com.collabnet.ce.soap60.marshaling.LocaleMarshaler
- All Implemented Interfaces:
SoapMarshaler
Marshals Locale to String and vice-versa.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LocaleMarshalerReturns singleton instance.booleanDetermines if this marshaller is stateless/cacheable.Unmarshals an object used by RMI APIs to a SOAP objectConverts a SOAP object to an object type required by RMI APIs.
-
Method Details
-
getInstance
Returns singleton instance.- Returns:
- The singleton marshaler instance.
-
soapToRmi
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:
-
rmiToSoap
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:
-
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:
-