|
|||||||||||
| 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 ModelSourcepublic void startOperation(boolean readOnly)
startOperation in interface ModelSourcepublic void endOperation()
endOperation in interface ModelSourcepublic void abortOperation()
abortOperation in interface ModelSourcepublic void flush()
flush in interface ModelSourcepublic void release()
release in interface ModelSourcepublic boolean isImmutable()
isImmutable in interface ModelSourcepublic void setIsImmutable(boolean isFixed)
setIsImmutable in interface ModelSourcepublic java.lang.String getServerURI()
ModelSource
getServerURI in interface ModelSourcepublic ProcessorRegistry getProcessorRegistry()
getProcessorRegistry in interface ModelSourcepublic void activate()
activate in interface ModelSourcepublic void deactivate()
deactivate in interface ModelSource
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||