public abstract class AbstractOntopolyTopicMapSource extends AbstractPathTopicMapSource
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
alwaysReindexOnLoad |
protected String |
indexDirectory |
protected boolean |
maintainFulltextIndexes |
protected boolean |
supportsCreate |
protected boolean |
supportsDelete |
base_address, duplicate_suppression, hidden, id, path, refmap, suffix, title| Constructor and Description |
|---|
AbstractOntopolyTopicMapSource() |
AbstractOntopolyTopicMapSource(String path,
FileFilter filter) |
AbstractOntopolyTopicMapSource(String path,
FileFilter filter,
LocatorIF base_address) |
AbstractOntopolyTopicMapSource(String path,
String suffix) |
AbstractOntopolyTopicMapSource(String path,
String suffix,
LocatorIF base_address) |
| Modifier and Type | Method and Description |
|---|---|
abstract TopicMapReferenceIF |
createReference(URL url,
String id,
String title,
LocatorIF base_address) |
TopicMapReferenceIF |
createTopicMap(String name,
String baseAddress)
PUBLIC: Creates a new topic map in the underlying source
and returns a reference to the created topic map.
|
boolean |
getAlwaysReindexOnLoad() |
String |
getIndexDirectory() |
boolean |
getMaintainFulltextIndexes() |
boolean |
getSupportsCreate() |
boolean |
getSupportsDelete() |
protected abstract TopicMapWriterIF |
getWriter(File file)
INTERNAL: Used by createTopicMap to serialize the new topic map.
|
void |
setAlwaysReindexOnLoad(boolean alwaysReindexOnLoad) |
void |
setIndexDirectory(String indexDirectory) |
void |
setMaintainFulltextIndexes(boolean maintainFulltextIndexes) |
void |
setSupportsCreate(boolean supportsCreate) |
void |
setSupportsDelete(boolean supportsDelete) |
boolean |
supportsCreate()
PUBLIC: Returns true if the source supports creating new
topic maps with the createTopicMap.
|
boolean |
supportsDelete()
PUBLIC: Returns true if the source supports deleting topic map
with the TopicMapReferenceIF.delete() method.
|
accept, close, createReference, getBase, getBaseAddress, getDuplicateSuppression, getFileFilter, getHidden, getId, getPath, getReferences, getSuffix, getTitle, refresh, refreshFromClasspath, refreshFromFilesystem, setBase, setBaseAddress, setDuplicateSuppression, setFileFilter, setHidden, setId, setPath, setSuffix, setTitleprotected boolean supportsCreate
protected boolean supportsDelete
protected boolean maintainFulltextIndexes
protected String indexDirectory
protected boolean alwaysReindexOnLoad
public AbstractOntopolyTopicMapSource()
public AbstractOntopolyTopicMapSource(String path, FileFilter filter)
public AbstractOntopolyTopicMapSource(String path, String suffix, LocatorIF base_address)
public AbstractOntopolyTopicMapSource(String path, FileFilter filter, LocatorIF base_address)
public boolean getMaintainFulltextIndexes()
public void setMaintainFulltextIndexes(boolean maintainFulltextIndexes)
public String getIndexDirectory()
public void setIndexDirectory(String indexDirectory)
public boolean getAlwaysReindexOnLoad()
public void setAlwaysReindexOnLoad(boolean alwaysReindexOnLoad)
public boolean supportsCreate()
TopicMapSourceIFsupportsCreate in interface TopicMapSourceIFsupportsCreate in class AbstractPathTopicMapSourcepublic boolean getSupportsCreate()
public void setSupportsCreate(boolean supportsCreate)
public boolean supportsDelete()
TopicMapSourceIFsupportsDelete in interface TopicMapSourceIFsupportsDelete in class AbstractPathTopicMapSourcepublic boolean getSupportsDelete()
public void setSupportsDelete(boolean supportsDelete)
public TopicMapReferenceIF createTopicMap(String name, String baseAddress)
TopicMapSourceIFcreateTopicMap in interface TopicMapSourceIFcreateTopicMap in class AbstractPathTopicMapSourcepublic abstract TopicMapReferenceIF createReference(URL url, String id, String title, LocatorIF base_address)
createReference in class AbstractPathTopicMapSourceprotected abstract TopicMapWriterIF getWriter(File file) throws IOException
IOException