|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.flexdock.perspective.persist.xml.XMLPersister
public class XMLPersister
Created on 2005-06-03
| Constructor Summary | |
|---|---|
XMLPersister()
|
|
| Method Summary | |
|---|---|
PerspectiveModel |
load(java.io.InputStream is)
Deserializes PerspectiveInfo from the supplied data stream. |
static XMLPersister |
newDefaultInstance()
|
boolean |
store(java.io.OutputStream os,
PerspectiveModel perspectiveModel)
Serializes PerspectiveInfo to the supplied data stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLPersister()
| Method Detail |
|---|
public boolean store(java.io.OutputStream os,
PerspectiveModel perspectiveModel)
throws java.io.IOException,
PersistenceException
PerspectiveInfo to the supplied data stream.
store in interface Persisteros - OutputStream to persist perspectiveInfo to.perspectiveModel - data object to be persisted
true when there was no problem with persisting the perspectiveInfo object.
java.io.IOException - in case of input/output problem.
PersistenceException
public PerspectiveModel load(java.io.InputStream is)
throws java.io.IOException,
PersistenceException
PerspectiveInfo from the supplied data stream.
load in interface Persisteris - InputStream to load perspectiveInfo from.
true when there was no problem with persisting the perspectiveInfo object.
java.io.IOException - in case of input/output problem.
PersistenceExceptionpublic static XMLPersister newDefaultInstance()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||