org.openmdx.base.collection
Interface CollectionMarshaller

All Known Implementing Classes:
CollectionMarshallerAdapter

public interface CollectionMarshaller

This class handles marshal exceptions.


Method Summary
 Object marshal(Object source)
          Marshals an object
 Object unmarshal(Object source)
          Unmarshals an object
 

Method Detail

marshal

Object marshal(Object source)
Marshals an object

Parameters:
source - The object to be marshalled
Returns:
The marshalled object, or null if a failure is caught

unmarshal

Object unmarshal(Object source)
                 throws ServiceException
Unmarshals an object

Parameters:
source - The marshalled object
Returns:
The unmarshalled object
Throws:
ServiceException - if Object can't be unmarshalled
See Also:
BasicException.Code.TRANSFORMATION_FAILURE


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.