public class MarshalledValueMarshaller<V,C> extends Object implements Marshaller<V,MarshalledValue<V,C>>
| Constructor and Description |
|---|
MarshalledValueMarshaller(MarshalledValueFactory<C> factory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMarshallable(Object object)
Indicates whether the specified object can be marshalled.
|
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)
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>>public boolean isMarshallable(Object object)
MarshallabilityisMarshallable in interface Marshallabilityobject - an object to be marshalledCopyright © 2020 JBoss by Red Hat. All rights reserved.