public class TMXMLTopicMapReference extends AbstractOntopolyURLReference
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
validate |
alwaysReindexOnLoad, ftmanagersbase_address, duplicate_suppression, indexDirectory, maintainFulltextIndexes, reuse_store, store, urldeleted, 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, transactionCommitcreateStore, getBaseAddress, getDuplicateSuppression, getIndexDirectory, getMaintainFulltextIndexes, getReuseStore, getURL, setBaseAddress, setDuplicateSuppression, setIndexDirectory, setMaintainFulltextIndexes, setReuseStore, setTopicListeners, toStringaddTopicListener, clear, getId, getSource, getTitle, getTopicListeners, isDeleted, isOpen, makeListenerArray, registerTopicListeners, removeTopicListener, setId, setSource, setTitle, storeClosedpublic void setValidation(boolean validate)
validate - Will validate if true, will not if false.public boolean getValidation()
public void save()
throws IOException
IOExceptionprotected TopicMapReaderIF getImporter() throws IOException
getImporter in class AbstractOntopolyURLReferenceIOException