|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.ukn.hci.squidy.designer.model.ModelViewHandler
public class ModelViewHandler
ModelViewHandler.
Date: Feb 21, 2009 Time: 11:34:09 PM
| Constructor Summary | |
|---|---|
protected |
ModelViewHandler()
Use singleton pattern. |
| Method Summary | |
|---|---|
protected javax.xml.bind.JAXBContext |
getContext()
Initializes the JAXB context with all required classes. |
static ModelViewHandler |
getModelViewHandler()
Singleton pattern. |
Data |
load(InputStream inputStream)
Parses a given input stream (should contain model and diagram code as xml structure) and returns it as an object structure. |
static void |
resetJAXBContext(Class<?> type)
|
void |
save(OutputStream outputStream,
Data data)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ModelViewHandler()
| Method Detail |
|---|
public static ModelViewHandler getModelViewHandler()
protected javax.xml.bind.JAXBContext getContext()
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException - The exception will be thrown if initialization of the JAXB
context has been failed.public static void resetJAXBContext(Class<?> type)
public Data load(InputStream inputStream)
throws SquidyException
inputStream - The input stream should contain model and diagram structure.
SquidyException
public void save(OutputStream outputStream,
Data data)
outputStream - xmi -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||