|
||||||||||
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<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard> org.deegree.services.wpvs.io.serializer.BillBoardSerializer
public class BillBoardSerializer
The BillBoardSerializer
class TODO add class documentation here.
Constructor Summary | |
---|---|
BillBoardSerializer()
|
Method Summary | |
---|---|
org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard |
deserializeDataObject(byte[] buffer)
Deserialize an object from the given byte array. |
org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard |
read(java.nio.ByteBuffer billBuffer)
Create a PositionableModel by reading it from the buffer. |
int |
serializedObjectSize(DataObjectInfo<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard> bb)
Returns the size of the object after serialization, without the header information, just the fields. |
byte[] |
serializeObject(DataObjectInfo<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard> object)
Serializes an object using the standard serialization mechanism, ObjectOutputStream |
void |
write(java.nio.ByteBuffer buffer,
DataObjectInfo<org.deegree.rendering.r3d.opengl.rendering.model.geometry.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 org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard read(java.nio.ByteBuffer billBuffer)
ObjectSerializer
PositionableModel
by reading it from the buffer.
read
in class ObjectSerializer<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard>
PositionableModel
public void write(java.nio.ByteBuffer buffer, DataObjectInfo<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard> object)
ObjectSerializer
PositionableModel
to the buffer.
write
in class ObjectSerializer<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard>
public int serializedObjectSize(DataObjectInfo<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard> bb)
ObjectSerializer
serializedObjectSize
in class ObjectSerializer<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard>
bb
- to get the size from
public byte[] serializeObject(DataObjectInfo<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard> object)
ObjectOutputStream
serializeObject
in class ObjectSerializer<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard>
object
- to be serialized with the ObjectOutputStream
public org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard deserializeDataObject(byte[] buffer)
deserializeDataObject
in class ObjectSerializer<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard>
buffer
- containing bytes to deserialize.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |