public enum NoMarshaller extends Enum<NoMarshaller> implements BytesMarshaller<Void>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Void |
read(Bytes bytes)
Read bytes and obtain an object
|
static NoMarshaller |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoMarshaller[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
write(Bytes bytes,
Void aVoid)
write the object out as bytes.
|
public static final NoMarshaller INSTANCE
public static NoMarshaller[] values()
for (NoMarshaller c : NoMarshaller.values()) System.out.println(c);
public static NoMarshaller valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic void write(Bytes bytes, Void aVoid)
BytesMarshallerwrite in interface BytesMarshaller<Void>bytes - to write toaVoid - to writepublic Void read(Bytes bytes)
BytesMarshallerread in interface BytesMarshaller<Void>bytes - to readCopyright © 2014. All Rights Reserved.