|
|
|||||||||
| 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
public abstract class AbstractURLTopicMapReference
INTERNAL: An abstract topic map reference class that retrieves topic maps referenced through URLs. Subclasses should implement the loadTopicMap method.
| Constructor Summary | |
|---|---|
AbstractURLTopicMapReference(java.lang.String id,
java.lang.String title,
java.net.URL url,
LocatorIF base_address)
|
|
| Method Summary | |
|---|---|
void |
close()
PUBLIC: Closes all open stores and the reference itself. |
TopicMapStoreIF |
createStore(boolean readonly)
PUBLIC: Creates a topic map store that lets you access the referenced topic map. |
void |
delete()
INTERNAL: Deletes the topic map pointed to. |
LocatorIF |
getBaseAddress()
INTERNAL: Returns the base address locator to be used when loading the topic map. |
boolean |
getDuplicateSuppression()
INTERNAL: Gets the duplicate suppression flag. |
java.lang.String |
getIndexDirectory()
|
boolean |
getMaintainFulltextIndexes()
INTERNAL: Returns true if stores will keep underlying fulltext indexes up-to-date. |
boolean |
getReuseStore()
INTERNAL: Flag that indicates whether the same store should be returned by the createStore(boolean) method on every. |
java.net.URL |
getURL()
INTERNAL: Returns the URL of the topic map pointed at. |
void |
open()
PUBLIC: Opens the reference. |
void |
setBaseAddress(LocatorIF base_address)
INTERNAL: Sets the base address locator to be used when loading the topic map. |
void |
setDuplicateSuppression(boolean duplicate_suppression)
INTERNAL: Sets the duplicate suppression flag. |
void |
setIndexDirectory(java.lang.String indexDirectory)
|
void |
setMaintainFulltextIndexes(boolean maintainFulltextIndexes)
INTERNAL: Specifies whether underlying fulltext indexes are to be kept up-to-date or not. |
void |
setReuseStore(boolean reuse_store)
INTERNAL: Sets the reuse_store flag. |
java.lang.String |
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 AbstractURLTopicMapReference(java.lang.String id,
java.lang.String title,
java.net.URL url,
LocatorIF base_address)
| Method Detail |
|---|
public java.net.URL getURL()
public LocatorIF getBaseAddress()
public void setBaseAddress(LocatorIF base_address)
public boolean getDuplicateSuppression()
public void setDuplicateSuppression(boolean duplicate_suppression)
public boolean getReuseStore()
public void setReuseStore(boolean reuse_store)
public void open()
TopicMapReferenceIF
open in interface TopicMapReferenceIFopen in class AbstractTopicMapReferencepublic void close()
TopicMapReferenceIF
close in interface TopicMapReferenceIFclose in class AbstractTopicMapReferencepublic void delete()
delete in interface TopicMapReferenceIFdelete in class AbstractTopicMapReference
public TopicMapStoreIF createStore(boolean readonly)
throws java.io.IOException
TopicMapReferenceIF
createStore in interface TopicMapReferenceIFcreateStore in class AbstractTopicMapReferencejava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean getMaintainFulltextIndexes()
public void setMaintainFulltextIndexes(boolean maintainFulltextIndexes)
maintainFulltextIndexes - True if fulltext indexes are maintained.public java.lang.String getIndexDirectory()
public void setIndexDirectory(java.lang.String indexDirectory)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||