|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.java.rdf.sommer.MapperManager
public abstract class MapperManager
Field Summary | |
---|---|
(package private) static Mapper.Init |
deflt
|
protected static java.util.HashMap<java.lang.String,Mapping> |
graphMapper
We keep a map of graph name to mapper objects |
protected static java.util.logging.Logger |
log
|
Constructor Summary | |
---|---|
MapperManager()
|
Method Summary | |
---|---|
(package private) static Mapper.Init |
getDefaultInit()
|
static Mapper |
getMapperForGraph(Mapper.Init init,
java.lang.String... urls)
every Mapper specialises in mapping to a graph |
static Mapper |
getMapperForGraph(java.lang.String... url)
every Mapper specialises in mapping to a graph or union of graphs |
static RewriteMapper |
getMapperForObject(java.lang.Object o)
Deprecated. This was needed when the objects could not tell of themselves who their mapper was. They always had to go through this very slow method. |
static void |
outputAll()
Output the content of all the graphs |
static void |
setDefaultInit(Mapper.Init defltInit)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static transient java.util.logging.Logger log
protected static java.util.HashMap<java.lang.String,Mapping> graphMapper
static Mapper.Init deflt
Constructor Detail |
---|
public MapperManager()
Method Detail |
---|
static Mapper.Init getDefaultInit()
public static void setDefaultInit(Mapper.Init defltInit)
public static Mapper getMapperForGraph(java.lang.String... url)
url
- the url for the graph(s) (should later also allow blank nodes. idea: if they start with '_:')
the first url indicates the graph write operations are done in
public static Mapper getMapperForGraph(Mapper.Init init, java.lang.String... urls)
init
- the Initialiser for the mapper.url
- the url for the graph(s) (should later also allow blank nodes. idea: if they start with '_:')
the first url indicates the graph write operations are done in
public static RewriteMapper getMapperForObject(java.lang.Object o)
o
-
public static void outputAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |