org.openmdx.base.accessor.jmi.spi
Class StructMarshaller

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.StructMarshaller
All Implemented Interfaces:
Marshaller

public class StructMarshaller
extends Object
implements Marshaller


Constructor Summary
StructMarshaller(String typeName, RefPackage_1_0 pkg)
           
StructMarshaller(String typeName, RefPackage_1_0 pkg, boolean forward)
           
 
Method Summary
 Object marshal(Object source)
          Marshals an object
 Object marshalGeneric(Object source, boolean forward)
           
 Object unmarshal(Object source)
          Unmarshals an object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructMarshaller

public StructMarshaller(String typeName,
                        RefPackage_1_0 pkg)

StructMarshaller

public StructMarshaller(String typeName,
                        RefPackage_1_0 pkg,
                        boolean forward)
Method Detail

marshalGeneric

public Object marshalGeneric(Object source,
                             boolean forward)
                      throws ServiceException
Throws:
ServiceException

marshal

public Object marshal(Object source)
               throws ServiceException
Description copied from interface: Marshaller
Marshals an object

Specified by:
marshal in interface Marshaller
Parameters:
source - The object to be marshalled
Returns:
The marshalled object
Throws:
ServiceException - MARSHAL_FAILURE: Object can't be marshalled

unmarshal

public Object unmarshal(Object source)
                 throws ServiceException
Description copied from interface: Marshaller
Unmarshals an object

Specified by:
unmarshal in interface Marshaller
Parameters:
source - The marshalled object
Returns:
The unmarshalled object
Throws:
ServiceException - MARSHAL_FAILURE: Object can't be unmarshalled


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