|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topbraid.spin.system.SPINImports
public class SPINImports
A singleton managing spin:imports. Subclasses can be installed that implement different loaders or otherwise change the default behavior.
Field Summary | |
---|---|
static SPINImports |
singleton
|
Constructor Summary | |
---|---|
SPINImports()
|
Method Summary | |
---|---|
static SPINImports |
get()
Gets the singleton instance of this class. |
protected Graph |
getImportedGraph(java.lang.String uri)
Attempts to load a graph with a given URI. |
Model |
getImportsModel(Model model)
Checks if spin:imports have been declared and adds them to a union model. |
static void |
set(SPINImports value)
Installs a different SPINImports singleton. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static SPINImports singleton
Constructor Detail |
---|
public SPINImports()
Method Detail |
---|
public static SPINImports get()
protected Graph getImportedGraph(java.lang.String uri) throws java.io.IOException
uri
- the base URI of the graph to load
java.io.IOException
public Model getImportsModel(Model model) throws java.io.IOException
model
- the base Model to operate on
java.io.IOException
public static void set(SPINImports value)
value
- the new singleton
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |