org.tm4j.topicmap .ScopedObject

Description

This interface describes a Topic Map construct which is scoped, and whose validity is thereby constrained to the set of topics that comprise the scope. Associations, BaseNames, and Occurrences may be restricted by a scope.

Inheritance Hierarchy

Interfaces

Implementations of this interface

Method Summary
void addTheme(org.tm4j.topicmap.Topic theme)
Adds a topic to the collection which define the scope of validity for this object.
void dispose()
This method should be invoked when the object is no longer needed.
java.util.Set getScope()
Gets the collection of topics which define the scope of validity for this object.
void inScope(org.tm4j.topicmap.Topic theme)
Determines whether the specified theme is in the scope of this object.
void inScope(org.tm4j.topicmap.Topic[] themes)
Determines whether one or more of the specified themes are in the scope of this object.
void removeTheme(org.tm4j.topicmap.Topic theme)
Removes a topic from the collection which defines the scope of validity for this object.
void setScope(org.tm4j.topicmap.Topic[] scopingTopics)
Sets the collection of topics which define the scope of validity for this object.