public class XTMTopicMapReference extends AbstractOntopolyURLReference
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
followTopicRefs |
protected ExternalReferenceHandlerIF |
ref_handler |
protected boolean |
validate |
alwaysReindexOnLoad, ftmanagersbase_address, duplicate_suppression, indexDirectory, maintainFulltextIndexes, reuse_store, store, urldeleted, id, isopen, listeners, source, title, topic_listeners| Constructor and Description |
|---|
XTMTopicMapReference(URL url,
String id,
String title) |
XTMTopicMapReference(URL url,
String id,
String title,
LocatorIF base_address) |
| Modifier and Type | Method and Description |
|---|---|
ExternalReferenceHandlerIF |
getExternalReferenceHandler()
PUBLIC: Gets the external reference handler.
|
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 |
setExternalReferenceHandler(ExternalReferenceHandlerIF handler)
PUBLIC: Sets the external reference handler.
|
void |
setFollowTopicRefs(boolean followTopicRefs)
PUBLIC: If set to false topicRef elements pointing to external
documents will not be traversed.
|
void |
setValidation(boolean validate)
PUBLIC: Turn validation of XTM documents according to DTD 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, storeClosedprotected ExternalReferenceHandlerIF ref_handler
protected boolean followTopicRefs
protected boolean validate
public void setFollowTopicRefs(boolean followTopicRefs)
public void setExternalReferenceHandler(ExternalReferenceHandlerIF handler)
public ExternalReferenceHandlerIF getExternalReferenceHandler()
public 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