Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.portal.portlet.state
Interface StateConverter

All Known Implementing Classes:
  StateConverterV0

    public interface StateConverter

Version:
  $Revision: 5873 $
Author:
  Julien Viet

Method Summary
`byte[]` | `marshall(PortletState state)` Marshall the producer state as a byte array.
`PortletState` | `unmarshall(byte[] marshalledState)` Unmarshall the producer state from a byte array.

Method Detail

### marshall

    byte[] marshall(PortletState state)
                    throws StateConversionException,
                           java.lang.IllegalArgumentException

  Marshall the producer state as a byte array.

  Parameters:
    `state` - the producer state
  Returns:
    the marshalled state
  Throws:
    `StateConversionException` - if marshalling cannot be performed
    `java.lang.IllegalArgumentException` - if the state is null

### unmarshall

    PortletState unmarshall(byte[] marshalledState)
                            throws StateConversionException,
                                   java.lang.IllegalArgumentException

  Unmarshall the producer state from a byte array.

  Parameters:
    `marshalledState` - the marshalled state
  Returns:
    the producer state
  Throws:
    `StateConversionException` - if unmarshalling cannot be performed
    `java.lang.IllegalArgumentException` - if the argument is null

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008. All Rights Reserved.