edu.harvard.hul.ois.mets.helper
Interface MetsSerializable

All Known Implementing Classes:
Base64, MetsElement, PCData, PreformedXML, XmlStream

public interface MetsSerializable

Serializable interface.


Method Summary
 java.util.List getContent()
          Get this object's content model.
 void read(MetsReader r)
          Deserialize this object and its content model.
 void write(MetsWriter w)
          Serialize this object and its content model.
 

Method Detail

getContent

public java.util.List getContent()
Get this object's content model.

Returns:
Content model

write

public void write(MetsWriter w)
           throws MetsException
Serialize this object and its content model.

Parameters:
w - Writer
Throws:
MetsException

read

public void read(MetsReader r)
          throws MetsException
Deserialize this object and its content model.

Parameters:
r - Reader
Throws:
MetsException