public class WorkspaceComponentSerializer
extends java.lang.Object
Constructor and Description |
---|
WorkspaceComponentSerializer(java.io.OutputStream stream)
Construct serializer.
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
getId(WorkspaceComponent component)
Returns the id associated with a component.
|
(package private) int |
serializeComponent(WorkspaceComponent component)
Serializes a component and returns the id for that component.
|
WorkspaceComponentSerializer(java.io.OutputStream stream)
stream
- output streamint getId(WorkspaceComponent component)
component
- The component to return an id for.int serializeComponent(WorkspaceComponent component)
component
- The component to serialize.