|
||||||||||
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.WorldRenderableObject> org.deegree.services.wpvs.io.serializer.WROSerializer
public class WROSerializer
The WROSerializer
class TODO add class documentation here.
Constructor Summary | |
---|---|
WROSerializer()
|
Method Summary | |
---|---|
org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject |
deserializeDataObject(byte[] buffer)
Deserialize an object from the given byte array. |
org.deegree.rendering.r3d.opengl.rendering.model.geometry.DirectGeometryBuffer |
getGeometryBuffer()
|
org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject |
read(java.nio.ByteBuffer buffer)
Create a PositionableModel by reading it from the buffer. |
int |
serializedObjectSize(DataObjectInfo<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject> object)
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.WorldRenderableObject> doi)
Serializes an object using the standard serialization mechanism, ObjectOutputStream |
void |
setGeometryBuffer(org.deegree.rendering.r3d.opengl.rendering.model.geometry.DirectGeometryBuffer geometryBuffer)
|
void |
write(java.nio.ByteBuffer buffer,
DataObjectInfo<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject> 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 WROSerializer()
Method Detail |
---|
public final org.deegree.rendering.r3d.opengl.rendering.model.geometry.DirectGeometryBuffer getGeometryBuffer()
public final void setGeometryBuffer(org.deegree.rendering.r3d.opengl.rendering.model.geometry.DirectGeometryBuffer geometryBuffer)
geometryBuffer
- the geometryBuffer to setpublic org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject read(java.nio.ByteBuffer buffer)
ObjectSerializer
PositionableModel
by reading it from the buffer.
read
in class ObjectSerializer<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject>
PositionableModel
public int serializedObjectSize(DataObjectInfo<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject> object)
ObjectSerializer
serializedObjectSize
in class ObjectSerializer<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject>
object
- to get the size from
public void write(java.nio.ByteBuffer buffer, DataObjectInfo<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject> object)
ObjectSerializer
PositionableModel
to the buffer.
write
in class ObjectSerializer<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject>
public byte[] serializeObject(DataObjectInfo<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject> doi)
ObjectOutputStream
serializeObject
in class ObjectSerializer<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject>
doi
- to be serialized with a DataOutputStream
public org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject deserializeDataObject(byte[] buffer)
deserializeDataObject
in class ObjectSerializer<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject>
buffer
- containing bytes to deserialize.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |