|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cosylab.application.state.impl.DefaultStateStorage com.cosylab.application.state.impl.NewXMLStateStorage
public class NewXMLStateStorage
Field Summary |
---|
Fields inherited from class com.cosylab.application.state.impl.DefaultStateStorage |
---|
delegate, states |
Constructor Summary | |
---|---|
NewXMLStateStorage()
|
|
NewXMLStateStorage(StateStorage ss)
Creates a new XMLStateStorage object. |
Method Summary | |
---|---|
void |
load(org.xml.sax.InputSource is)
DOCUMENT ME! |
void |
load(java.io.InputStream is)
DOCUMENT ME! |
void |
load(java.lang.String filePath,
java.lang.String applicationName)
DOCUMENT ME! TODO: Add load(InputStream, String) to support loading from non-file sources! |
static State[] |
loadStates(org.xml.sax.InputSource is)
DOCUMENT ME! |
void |
store(java.io.OutputStream os)
DOCUMENT ME! |
void |
store(java.lang.String filePath,
java.lang.String applicationName)
DOCUMENT ME! |
static void |
storeStates(State[] outStates,
java.io.OutputStream os)
DOCUMENT ME! |
Methods inherited from class com.cosylab.application.state.impl.DefaultStateStorage |
---|
add, addAll, contains, getInputStream, getOutputStream, getStates, iterator, remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NewXMLStateStorage()
public NewXMLStateStorage(StateStorage ss)
ss
- DOCUMENT ME!Method Detail |
---|
public static final State[] loadStates(org.xml.sax.InputSource is) throws java.io.IOException
is
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!public static final void storeStates(State[] outStates, java.io.OutputStream os) throws java.io.IOException
outStates
- DOCUMENT ME!os
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!public void load(org.xml.sax.InputSource is) throws java.io.IOException
is
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!public void load(java.io.InputStream is) throws java.io.IOException
is
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!public void load(java.lang.String filePath, java.lang.String applicationName) throws java.io.IOException
StateStorage
load
in interface StateStorage
load
in class DefaultStateStorage
filePath
- DOCUMENT ME!applicationName
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!public void store(java.io.OutputStream os) throws java.io.IOException
StateStorage
java.io.IOException
- DOCUMENT ME!public void store(java.lang.String filePath, java.lang.String applicationName) throws java.io.IOException
DefaultStateStorage
store
in interface StateStorage
store
in class DefaultStateStorage
filePath
- DOCUMENT ME!applicationName
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |