Class Repository2SoapDOMarshaler
- java.lang.Object
-
- com.collabnet.ce.soap60.marshaling.AbstractStatelessSoapMarshaler
-
- com.collabnet.ce.soap60.webservices.cemain.ObjectSoapDOMarshaler
-
- com.collabnet.ce.soap60.webservices.cemain.FolderSoapDOMarshaler
-
- com.collabnet.ce.soap60.webservices.scm.Repository2SoapDOMarshaler
-
- All Implemented Interfaces:
SoapMarshaler
public class Repository2SoapDOMarshaler extends FolderSoapDOMarshaler
Marshaler class for Repository2SoapDO.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Repository2SoapDOMarshalergetInstance()Returns the singleton class instance.protected voidprotectedRmiToSoap(Object soapObject, Object rmiObject)Unmarshals data from an rmi object to a given SOAP object.protected voidprotectedSoapToRmi(Object soapObject, Object rmiObject)Marshals data from a soap object to a given rmi object.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.com.vasoftware.sf.server.services.scm.RepositoryParamDO[]soapToRmiParams(RepositoryParameter2SoapDO[] soapDO)Converts an array of soap repository parameters to rmi parameters.-
Methods inherited from class com.collabnet.ce.soap60.webservices.cemain.ObjectSoapDOMarshaler
getCoreService
-
Methods inherited from class com.collabnet.ce.soap60.marshaling.AbstractStatelessSoapMarshaler
isStateless
-
-
-
-
Method Detail
-
getInstance
public static Repository2SoapDOMarshaler getInstance()
Returns the singleton class instance.- Returns:
- Singleton class 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)
-
protectedSoapToRmi
protected void protectedSoapToRmi(Object soapObject, Object rmiObject) throws SoapMarshalingException
Description copied from class:ObjectSoapDOMarshalerMarshals data from a soap object to a given rmi object. This protected method is primarily used by marshaler classes to marshal members from a super-class marshaler.- Overrides:
protectedSoapToRmiin classFolderSoapDOMarshaler- Parameters:
soapObject- SOAP object.rmiObject- RMI object.- Throws:
SoapMarshalingException- when an error is encountered during marshaling.- See Also:
SoapMarshaler.soapToRmi(java.lang.Object)
-
soapToRmiParams
public com.vasoftware.sf.server.services.scm.RepositoryParamDO[] soapToRmiParams(RepositoryParameter2SoapDO[] soapDO)
Converts an array of soap repository parameters to rmi parameters.- Parameters:
soapDO- The soap parameters.- Returns:
- The rmi parameters.
-
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)
-
protectedRmiToSoap
protected void protectedRmiToSoap(Object soapObject, Object rmiObject) throws SoapMarshalingException
Description copied from class:ObjectSoapDOMarshalerUnmarshals data from an rmi object to a given SOAP object. This protected method is primarily used by the marshaler classes to unmarshal members from a super-class marshaler.- Overrides:
protectedRmiToSoapin classFolderSoapDOMarshaler- Parameters:
soapObject- SOAP object.rmiObject- RMI object.- Throws:
SoapMarshalingException- when an error is encountered during marshaling.- See Also:
SoapMarshaler.rmiToSoap(java.lang.Object)
-
-