org.simBio.serialize
Interface Serializer

All Known Implementing Classes:
XMLSerializer

public interface Serializer

serialize and deserialize.
直列化と復元。

Version:
$Revision: 1.2 $
Author:
Nobuaki Sarai

Method Summary
 URL[] getCodebases()
           
 Component read()
          deserialize.
 void update(Component component, OutputStream stream, InputSource source)
          update serialized.
 void write(Component component, String uri)
          serialize.
 

Method Detail

read

Component read()
               throws InstantiationException
deserialize.
直列化復元。

Returns:
Component
Throws:
InstantiationException

write

void write(Component component,
           String uri)
           throws IOException
serialize.

Parameters:
component - root of the model
uri - destination of the xml file
Throws:
IOException - when failed

update

void update(Component component,
            OutputStream stream,
            InputSource source)
update serialized.
直列化されているものを更新する。

Parameters:
component - root of the model
stream - destination of the XML file
source - of the XML file

getCodebases

URL[] getCodebases()


Copyright © 2005 Cell/Biodinamics simulation project. All Rights Reserved.