public class SimplePumpable extends Object implements IPumpable
| Constructor and Description |
|---|
SimplePumpable() |
| Modifier and Type | Method and Description |
|---|---|
void |
deflate(DataOutput out)
Deflates the state and data of the implementor in a from capable of reconstructing the exact same instance
|
void |
fromXML(Element element) |
void |
inflate(DataInput in)
Inflate the state and data of the implementor as was previously deflated using
IPumpable.deflate(DataOutput) |
void |
inflate(DataInput in,
boolean reset)
Inflate the state and data of the implementor as was previously deflated using
IPumpable.deflate(DataOutput) |
void |
populate() |
String |
toString() |
Element |
toXML(Document doc) |
public String payload
public int counter
public void populate()
public void deflate(DataOutput out) throws GRS2RecordSerializationException
IPumpabledeflate in interface IPumpableout - the stream to write toGRS2RecordSerializationException - the deflate could not be completedpublic void inflate(DataInput in) throws GRS2RecordSerializationException
IPumpableIPumpable.deflate(DataOutput)inflate in interface IPumpablein - the stream to inflate fromGRS2RecordSerializationException - the inflate could not be completedpublic void inflate(DataInput in, boolean reset) throws GRS2RecordSerializationException
IPumpableIPumpable.deflate(DataOutput)inflate in interface IPumpablein - the stream to inflate fromreset - if the implementor keeps some state over actions previously taken and this is true, this state must be resetGRS2RecordSerializationException - the inflate could not be completedpublic Element toXML(Document doc) throws GRS2RecordSerializationException, GRS2RecordDefinitionException, DOMException
toXML in interface IPumpableGRS2RecordSerializationExceptionGRS2RecordDefinitionExceptionDOMExceptionpublic void fromXML(Element element) throws GRS2RecordSerializationException, GRS2RecordDefinitionException, DOMException
fromXML in interface IPumpableGRS2RecordSerializationExceptionGRS2RecordDefinitionExceptionDOMExceptionCopyright © 2014. All Rights Reserved.