public class MockRepository extends Object implements RepositoryFacade
Constructor and Description |
---|
MockRepository() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
ModelAccessFacade |
getModel() |
ModelAccessFacade |
getModel(Class type) |
void |
open() |
void |
readModel(InputStream[] streams,
String[] uris,
String[] moduleSearchPath) |
void |
readModel(InputStream stream,
String uri,
String[] moduleSearchPath) |
void |
readModel(String[] uris,
String[] moduleSearchPath) |
void |
readModel(URL modelUrl,
String[] moduleSearchPath) |
void |
writeModel(Object model,
String outputLocation,
String version) |
void |
writeModel(Object model,
String outputLocation,
String version,
String encoding) |
public MockRepository()
public void open()
open
in interface RepositoryFacade
RepositoryFacade.open()
public void close()
close
in interface RepositoryFacade
RepositoryFacade.close()
public void readModel(URL modelUrl, String[] moduleSearchPath)
modelUrl
- moduleSearchPath
- public void readModel(String[] uris, String[] moduleSearchPath)
readModel
in interface RepositoryFacade
RepositoryFacade.readModel(String[], String[])
public void readModel(InputStream stream, String uri, String[] moduleSearchPath)
stream
- uri
- moduleSearchPath
- public void readModel(InputStream[] streams, String[] uris, String[] moduleSearchPath)
readModel
in interface RepositoryFacade
RepositoryFacade.readModel(java.io.InputStream[], String[], String[])
public void writeModel(Object model, String outputLocation, String version, String encoding)
writeModel
in interface RepositoryFacade
RepositoryFacade.writeModel(Object, String, String, String)
public void writeModel(Object model, String outputLocation, String version)
writeModel
in interface RepositoryFacade
RepositoryFacade.writeModel(Object, String, String)
public ModelAccessFacade getModel()
getModel
in interface RepositoryFacade
RepositoryFacade.getModel()
public void clear()
clear
in interface RepositoryFacade
RepositoryFacade.clear()
public ModelAccessFacade getModel(Class type)
type
- Copyright © 2003–2014 AndroMDA.org. All rights reserved.