|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generic model reading interface for reading a model from its URI.
Method Summary | |
Model |
read(InputStream input,
String uri,
ModelFactory factory)
Reads the model from its uri. |
Model |
read(String uri,
ModelFactory factory)
Reads the model from its uri. |
Method Detail |
public Model read(String uri, ModelFactory factory) throws IOException, ModelElementException
uri
- the uri to read from.factory
- the model factory used to create the elements.
IOException
- if the model could not be read.
ModelElementException
- if a model element could not be read.public Model read(InputStream input, String uri, ModelFactory factory) throws IOException, ModelElementException
input
- the stream to read from.uri
- the uri of the model.factory
- the model factory used to create the elements.
IOException
- if the model could not be read.
ModelElementException
- if a model element could not be read.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |