|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.ukn.hci.squidy.manager.parser.ModelHandler
public class ModelHandler
ModelHandler.
Date: Feb 16, 2008 Time: 11:09:44 PM
| Constructor Summary | |
|---|---|
protected |
ModelHandler()
Use singleton pattern. |
| Method Summary | |
|---|---|
protected javax.xml.bind.JAXBContext |
getContext()
Initializes the JAXB context with all required classes. |
static ModelHandler |
getModelHandler()
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ModelHandler()
| Method Detail |
|---|
public static ModelHandler getModelHandler()
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 Data load(InputStream inputStream)
inputStream - The input stream should contain model and diagram structure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||