|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.entry.AbstractTopicMapReference
net.ontopia.topicmaps.entry.AbstractURLTopicMapReference
net.ontopia.topicmaps.entry.AbstractOntopolyURLReference
net.ontopia.topicmaps.xml.XTMTopicMapReference
public class XTMTopicMapReference
INTERNAL: An XTM document topic map reference.
Constructor Summary | |
---|---|
XTMTopicMapReference(java.net.URL url,
java.lang.String id,
java.lang.String title)
|
|
XTMTopicMapReference(java.net.URL url,
java.lang.String id,
java.lang.String title,
LocatorIF base_address)
|
Method Summary | |
---|---|
ExternalReferenceHandlerIF |
getExternalReferenceHandler()
PUBLIC: Gets the external reference handler. |
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. |
Methods inherited from class net.ontopia.topicmaps.entry.AbstractOntopolyURLReference |
---|
close, delete, getAlwaysReindexOnLoad, getSearcher, setAlwaysReindexOnLoad, synchronizeFulltextIndex, transactionAbort, transactionCommit |
Methods inherited from class net.ontopia.topicmaps.entry.AbstractURLTopicMapReference |
---|
createStore, getBaseAddress, getDuplicateSuppression, getIndexDirectory, getMaintainFulltextIndexes, getReuseStore, getURL, open, setBaseAddress, setDuplicateSuppression, setIndexDirectory, setMaintainFulltextIndexes, setReuseStore, toString |
Methods inherited from class net.ontopia.topicmaps.entry.AbstractTopicMapReference |
---|
addTopicListener, clear, getId, getSource, getTitle, isDeleted, isOpen, registerTopicListeners, removeTopicListener, setId, setSource, setTitle, storeClosed |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XTMTopicMapReference(java.net.URL url, java.lang.String id, java.lang.String title)
public XTMTopicMapReference(java.net.URL url, java.lang.String id, java.lang.String title, LocatorIF base_address)
Method Detail |
---|
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 java.io.IOException
java.io.IOException
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |