public class MarshalledValueMarshaller<V,C> extends Object implements Marshaller<V,MarshalledValue<V,C>,C>
| Constructor and Description |
|---|
MarshalledValueMarshaller(MarshalledValueFactory<C> factory,
C context) |
| Modifier and Type | Method and Description |
|---|---|
C |
getContext()
Returns the context of this marshaller
|
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>,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>,C>public C getContext()
MarshallergetContext in interface Marshaller<V,MarshalledValue<V,C>,C>Copyright © 2022 JBoss by Red Hat. All rights reserved.