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
 java.net.URL[] getCodebases()
           
 Component read()
          deserialize.
 void update(Component component, java.io.OutputStream stream, org.xml.sax.InputSource source)
          update serialized.
 void write(Component component, java.lang.String uri)
          serialize.
 

Method Detail

read

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

Returns:
Component
Throws:
java.lang.InstantiationException

write

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

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

update

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

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

getCodebases

java.net.URL[] getCodebases()


Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.