org.tm4j.topicmap .TopicMapObject

Description

The generic base interface for topic map objects. All of the interfaces that represent constructs from the topic map are derived from this interface. For a more detailed discussion of the purpose of this interface and its capablities, see the section titled TopicMapObject in the TM4J Developer's Guide.

Note: TM4J provides a generic way for any client application to detect changes made in a topic map, which involves the use of properties and the java.beans.PropertyChangeListener interface. For more in-depth information about using properties in TM4J, and for a discussion of available properties, see the Property Change Listeners section in the TM4J Developer's Guide.

Inheritance Hierarchy

Implementations of this interface

Method Summary
void addMultiValuePropertyChangeListener(java.lang.String propertyName,org.tm4j.utils.MultiValuePropertyChangeListener listener)
Adds a MultiValue Property Change Listener.
void addMultiValuePropertyChangeListener(org.tm4j.utils.MultiValuePropertyChangeListener listener)
Adds a MultiValue Property Change Listener.
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a Property Change Listener.
void addPropertyChangeListener(java.lang.String propertyName,java.beans.PropertyChangeListener listener)
Adds a Property Change Listener.
void addSourceLocator(org.tm4j.net.Locator loc)
Adds a locator to the set of locators of the XML or other resources which contributed to this topic map object.
void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
void destroy()
Permanently removes this object from the topic map.
void fireMultiValuePropertyChange(java.lang.String propertyName,int operation,java.lang.Object operand)
Notifies the MultiValue Property Change Listeners of a property change to this object
void fireMultiValuePropertyChange(org.tm4j.utils.MultiValuePropertyChangeEvent propertyChange)
Notifies the MultiValue Property Change Listeners of a property change.
void firePropertyChange(java.beans.PropertyChangeEvent propertyChange)
Notifies the Property Change Listeners of a property change.
void firePropertyChange(java.lang.String propertyName,java.lang.Object oldVal,java.lang.Object newVal)
Notifies a Property Change Listener of a property change.
void fireVetoableChange(java.lang.String propertyName,java.lang.Object oldValue,java.lang.Object newValue)
java.lang.String getID()
Returns the object ID of the TopicMapObject.
org.tm4j.net.Locator getResourceLocator()
Returns the Locator of the XML or other resource which caused the creation of this topic map object.
java.util.Set getSourceLocators()
Returns the Locators of the XML or other resources which contributed to this topic map object.
TopicMap getTopicMap()
Returns a handle to the topic map which this object is part of.
void removeMultiValuePropertyChangeListener(org.tm4j.utils.MultiValuePropertyChangeListener listener)
Removes a MultiValue Property Change Listener.
void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a Property Change Listener.
void removePropertyChangeListener(java.lang.String propertyName,java.beans.PropertyChangeListener listener)
Removes a Property Change listener for a specific property
void removeSourceLocator(org.tm4j.net.Locator loc)
Removes a locator from the set of locators of the XML or other resources which contributed to this topic map object.
void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
void setID(java.lang.String id)
Sets the object ID of the TopicMapObject.
void setResourceLocator(org.tm4j.net.Locator loc)
Sets the Locator of the XML or other resource which caused the creation of this topic map object.

Related Topics

Is Contained By
Is Imported By
Is Type For