public class TMXMLTopicMapReference extends AbstractOntopolyURLReference
Modifier and Type | Field and Description |
---|---|
protected boolean |
validate |
alwaysReindexOnLoad, ftmanagers
base_address, duplicate_suppression, indexDirectory, maintainFulltextIndexes, reuse_store, store, url
deleted, id, isopen, listeners, source, title, topic_listeners
Constructor and Description |
---|
TMXMLTopicMapReference(URL url,
String id,
String title) |
TMXMLTopicMapReference(URL url,
String id,
String title,
LocatorIF base_address) |
Modifier and Type | Method and Description |
---|---|
protected TopicMapReaderIF |
getImporter() |
boolean |
getValidation()
PUBLIC: Returns true if validation is on, false otherwise.
|
void |
save()
INTERNAL: Saves the topic map as an XTM document in the location
managed by the reference's source.
|
void |
setValidation(boolean validate)
PUBLIC: Turn validation of TM/XML files according to the RELAX-NG
schema on or off.
|
close, delete, deleteFullTextIndex, getAlwaysReindexOnLoad, getLastModifiedAt, getLastModifiedAt, loadTopicMap, open, reindexFulltextIndex, setAlwaysReindexOnLoad, synchronizeFulltextIndex, transactionAbort, transactionCommit
createStore, getBaseAddress, getDuplicateSuppression, getIndexDirectory, getMaintainFulltextIndexes, getReuseStore, getURL, setBaseAddress, setDuplicateSuppression, setIndexDirectory, setMaintainFulltextIndexes, setReuseStore, setTopicListeners, toString
addTopicListener, clear, getId, getSource, getTitle, getTopicListeners, isDeleted, isOpen, makeListenerArray, registerTopicListeners, removeTopicListener, setId, setSource, setTitle, storeClosed
public void setValidation(boolean validate)
validate
- Will validate if true, will not if false.public boolean getValidation()
public void save() throws IOException
IOException
protected TopicMapReaderIF getImporter() throws IOException
getImporter
in class AbstractOntopolyURLReference
IOException