|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IModelLoader
URI-based loader for NRL models. Pass instances to the NRLParser to resolve referenced
models.
| Method Summary | |
|---|---|
IPackage |
loadModel(File baseFile,
String modelURI)
Convenience method that converts baseFile to a URI and
modelURI to a URI taking care to escape illegal characters. |
IPackage |
loadModel(File baseFile,
URI modelURI)
Convenience method that converts baseFile to a URI. |
IPackage |
loadModel(URI uri)
Loads any supported model format, provided the targeted file has an appropriate extension. |
IPackage |
loadModel(URI baseURI,
String modelURI)
Convenience method that converts modelURI to a URI taking care to escape
illegal characters. |
IPackage |
loadModel(URI baseURI,
URI modelURI)
Loads any supported model format, provided the targeted file has an appropriate extension. |
| Method Detail |
|---|
IPackage loadModel(URI uri)
throws ModelLoadingException
classpath or file schemes.
When invoked with equivalent URIs the loader will return the same IPackage.
uri - the URI identifying the model location
IPackage representing the XSD or UML model referenced by
modelURI, never null
ModelLoadingException - If an error is encountered loading the model
IPackage loadModel(URI baseURI,
URI modelURI)
throws ModelLoadingException
classpath or file schemes.
When invoked with equivalent URIs the loader will return the same IPackage.
baseURI - An absolute URI used to resolve modelURI if it is relative.modelURI - An absolute or relative (to baseURI) URI referencing a model
file.
IPackage representing the XSD or UML model referenced by
modelURI, never null
ModelLoadingException - If an error is encountered loading the model
IPackage loadModel(File baseFile,
URI modelURI)
throws ModelLoadingException
baseFile to a URI. See
loadModel(URI, URI).
ModelLoadingException
IPackage loadModel(URI baseURI,
String modelURI)
throws ModelLoadingException
modelURI to a URI taking care to escape
illegal characters. See loadModel(URI, URI).
ModelLoadingException
IPackage loadModel(File baseFile,
String modelURI)
throws ModelLoadingException
baseFile to a URI and
modelURI to a URI taking care to escape illegal characters. See
loadModel(URI, URI).
ModelLoadingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||