public class StandardMarshaller extends Object implements Marshaller
| Constructor and Description |
|---|
StandardMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
MarshallerFactory.Parameters |
getFactoryParameters() |
byte[] |
marshall(Object o) |
ObjectInput |
startInput(InputStream in) |
ObjectOutput |
startOutput(OutputStream out) |
boolean |
supports(Object o)
True if the marshaller is able to marshall this object.
|
Object |
unmarshall(byte[] ba) |
Object |
unmarshall(ByteBuffer b) |
public StandardMarshaller()
public byte[] marshall(Object o) throws IOException
marshall in interface MarshallerIOExceptionpublic Object unmarshall(byte[] ba) throws IOException, ClassNotFoundException
unmarshall in interface MarshallerIOExceptionClassNotFoundExceptionpublic Object unmarshall(ByteBuffer b) throws IOException, ClassNotFoundException
unmarshall in interface MarshallerIOExceptionClassNotFoundExceptionpublic boolean supports(Object o)
Marshallersupports in interface Marshallerpublic ObjectOutput startOutput(OutputStream out) throws IOException
startOutput in interface MarshallerIOExceptionpublic ObjectInput startInput(InputStream in) throws IOException
startInput in interface MarshallerIOExceptionpublic MarshallerFactory.Parameters getFactoryParameters()
getFactoryParameters in interface Marshallercache2k API documentation. Copyright © 2000–2015 headissue GmbH, Munich.