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 LocaleMarshaler
Returns singleton instance.boolean
Determines 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:SoapMarshaler
Converts 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:SoapMarshaler
Unmarshals 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:SoapMarshaler
Determines if this marshaller is stateless/cacheable.- Specified by:
isStateless
in interfaceSoapMarshaler
- Overrides:
isStateless
in classAbstractStatelessSoapMarshaler
- Returns:
- true if the the marshaller is stateless
- See Also:
-