public class MarshalledValueMarshaller<V,C> extends Object implements Marshaller<V,MarshalledValue<V,C>>
| Constructor and Description |
|---|
MarshalledValueMarshaller(MarshalledValueFactory<C> factory,
C context) |
| Modifier and Type | Method and Description |
|---|---|
V |
read(MarshalledValue<V,C> value)
Reads a value from its marshalled form.
|
MarshalledValue<V,C> |
write(V object)
Writes a value to its serialized form
|
public MarshalledValueMarshaller(MarshalledValueFactory<C> factory, C context)
public V read(MarshalledValue<V,C> value) throws InvalidSerializedFormException
Marshallerread in interface Marshaller<V,MarshalledValue<V,C>>value - the marshalled formInvalidSerializedFormException - if the serialized form is invalidpublic MarshalledValue<V,C> write(V object)
Marshallerwrite in interface Marshaller<V,MarshalledValue<V,C>>Copyright © 2015 JBoss by Red Hat. All rights reserved.