|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joseki.server.source.ModelSourceCom
org.joseki.server.source.ModelSourceFile
An attached model that manages a file holding the model. Files are read in and managed in a cache. Each file source has a system resource manager, the SourceManager
Constructor Summary | |
ModelSourceFile(SourceController controller,
java.lang.String serverURI)
|
Method Summary | |
void |
abortOperation()
|
void |
activate()
|
void |
deactivate()
|
void |
endOperation()
|
void |
flush()
|
com.hp.hpl.jena.rdf.model.Model |
getModel()
Get the Jena model for this source. |
java.util.Map |
getPrefixes()
Help write results neatly. |
ProcessorRegistry |
getProcessorRegistry()
|
java.lang.String |
getServerURI()
The way to reference this data from outside. |
boolean |
isImmutable()
|
void |
release()
|
void |
setIsImmutable(boolean isFixed)
|
void |
setPrefix(java.lang.String prefix,
java.lang.String nsURI)
|
void |
startOperation(boolean readOnly)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ModelSourceFile(SourceController controller, java.lang.String serverURI)
Method Detail |
public com.hp.hpl.jena.rdf.model.Model getModel()
ModelSourceJena
public java.util.Map getPrefixes()
ModelSource
getPrefixes
in interface ModelSource
public void setPrefix(java.lang.String prefix, java.lang.String nsURI)
setPrefix
in interface ModelSource
public void startOperation(boolean readOnly)
startOperation
in interface ModelSource
public void endOperation()
endOperation
in interface ModelSource
public void abortOperation()
abortOperation
in interface ModelSource
public void flush()
flush
in interface ModelSource
public void release()
release
in interface ModelSource
public boolean isImmutable()
isImmutable
in interface ModelSource
public void setIsImmutable(boolean isFixed)
setIsImmutable
in interface ModelSource
public java.lang.String getServerURI()
ModelSource
getServerURI
in interface ModelSource
public ProcessorRegistry getProcessorRegistry()
getProcessorRegistry
in interface ModelSource
public void activate()
activate
in interface ModelSource
public void deactivate()
deactivate
in interface ModelSource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |