org.tm4j.topicmap .TopicMap

Description

This interface defines the whole Topic Map construct.

Interfaces

Implementations of this interface

Method Summary
void addAddedTheme(org.tm4j.topicmap.Topic theme)
Adds an added theme to the topic map.
void addExternalRef(org.tm4j.net.Locator topicRef)
Adds an external reference from this topic map to another topic map.
void addMergeMap(org.tm4j.net.Locator mapLocator,org.tm4j.topicmap.Topic[] addedThemes)
Adds a new mergeMap directive to this topic map.
Association createAssociation(java.lang.String id)
Creates a new Association in this TopicMap.
Association createAssociation(java.lang.String id,org.tm4j.net.Locator resourceLocator,org.tm4j.topicmap.Topic type,org.tm4j.topicmap.Topic[] themes)
Creates a new Association in this topic map
Topic createTopic(java.lang.String id)
Creates a new Topic in this TopicMap.
java.util.Collection getAddedThemes()
Get a list of the Topic objects defining the added themes of the topic map.
java.util.Collection getAssociations()
Get a list of the Associations contained in the topic map.
java.util.Iterator getAssociationsIterator()
Get an iterator over all of the Associations in the topic map.
org.tm4j.net.Locator getBaseLocator()
Returns the Locator for the address of the source which generated the topic map.
java.util.Set getExternalRefs()
Returns all of the unresolved external references from this topic map.
TopicMapFactory getFactory()
Get the concrete implementation of the TopicMapFactory interface which partners with the concrete implementation of this interface.
org.tm4j.topicmap.index.IndexManager getIndexManager()
Returns the IndexManager object which handles access to all of the indexes for this topic map.
org.tm4j.net.LocatorFactory getLocatorFactory()
Get the concrete implementation of the LocatorFactory interface which partners with the concrete implementation of this interface.
java.util.Set getMergeMapAddedThemes(org.tm4j.net.Locator mapLocator)
Returns the collection of themes to be added to the external topic map resource when it is merged with this map.
java.util.Collection getMergeMapLocators()
Returns an unmodifiable Map of the unresolved mergeMap directives contained within this topic map.
java.lang.String getName()
getName Get the name of the topic map.
TopicMapObject getObjectByID(java.lang.String id)
Gets the object with the specified unique identifier.
TopicMapObject getObjectByResourceLocator(org.tm4j.net.Locator resourceLocator)
Gets the TopicMapObject which was generated from the specified resource.
TopicMapObject getObjectBySourceLocator(org.tm4j.net.Locator resourceLocator)
Gets the TopicMapObject which was generated from the specified resource.
java.util.Collection getObjects()
Gets all the objects in the topic map.
java.lang.Boolean getProperty(java.lang.String propertyName)
Returns the value of a configuration property set for this topic map
TopicMapProvider getProvider()
Returns the TopicMapProvider implementation which provides this TopicMap
Topic getTopicByID(java.lang.String id)
Gets the topic with the specified unique identifier
Topic getTopicBySubject(org.tm4j.net.Locator subjectLocator)
Get the topic which is bound to the specified subject
Topic getTopicBySubjectIndicator(org.tm4j.net.Locator subjectIndicatorLocator)
Get the topic which is bound to the subject indicated by the specified resource.
void getTopicCount()
Get a count of the number of topics in the topic map
java.util.Set getTopics()
Get the Topics in this topic map
java.util.Iterator getTopicsIterator()
Get an Iterator over the Topics in this map.
TopicMapUtils getUtils()
Get the concrete implementation of the TopicMapUtils interface which partners with the concrete implementation of this interface.
void hasMergeMap(org.tm4j.net.Locator mapLocator)
Determine whether or not the specified resource is listed in an unresolved mergeMap directive for this topic map.
void removeExternalRef(org.tm4j.net.Locator externalReference)
Removes a resource from the list of external references of this topic map.
void removeMergeMap(org.tm4j.net.Locator mapLocator)
Removes an unresolved mergeMap directive from this topic map.
void setBaseLocator(org.tm4j.net.Locator base)
Sets the Locator of the source which generated this topic map.
void setName(java.lang.String name)
setName Set the name of the topic map.

Related Topics

Is Contained By
Is Imported By
Is Type For