|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.services.wpvs.io.serializer.ObjectSerializer<BillBoard> org.deegree.services.wpvs.io.serializer.BillBoardSerializer
public class BillBoardSerializer
The BillBoardSerializer
class TODO add class documentation here.
Constructor Summary | |
---|---|
BillBoardSerializer()
|
Method Summary | |
---|---|
BillBoard |
deserializeDataObject(byte[] buffer)
Deserialize an object from the given byte array. |
BillBoard |
read(ByteBuffer billBuffer)
Create a PositionableModel by reading it from the buffer. |
int |
serializedObjectSize(DataObjectInfo<BillBoard> bb)
Returns the size of the object after serialization, without the header information, just the fields. |
byte[] |
serializeObject(DataObjectInfo<BillBoard> object)
Serializes an object using the standard serialization mechanism, ObjectOutputStream |
void |
write(ByteBuffer buffer,
DataObjectInfo<BillBoard> object)
Write the given PositionableModel to the buffer. |
Methods inherited from class org.deegree.services.wpvs.io.serializer.ObjectSerializer |
---|
allocateByteBuffer, getHeaderSize, readID, readObjectSize, readString, readTime, sizeOfSerializedObject, sizeOfString, skipHeader, writeHeader, writeString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BillBoardSerializer()
Method Detail |
---|
public BillBoard read(ByteBuffer billBuffer)
ObjectSerializer
PositionableModel
by reading it from the buffer.
read
in class ObjectSerializer<BillBoard>
PositionableModel
public void write(ByteBuffer buffer, DataObjectInfo<BillBoard> object)
ObjectSerializer
PositionableModel
to the buffer.
write
in class ObjectSerializer<BillBoard>
public int serializedObjectSize(DataObjectInfo<BillBoard> bb)
ObjectSerializer
serializedObjectSize
in class ObjectSerializer<BillBoard>
bb
- to get the size from
public byte[] serializeObject(DataObjectInfo<BillBoard> object)
ObjectOutputStream
serializeObject
in class ObjectSerializer<BillBoard>
object
- to be serialized with the ObjectOutputStream
public BillBoard deserializeDataObject(byte[] buffer)
deserializeDataObject
in class ObjectSerializer<BillBoard>
buffer
- containing bytes to deserialize.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |