org.tm4j.topicmap.utils
Class XTMTypeInstanceValidator

java.lang.Object
  extended byorg.tm4j.topicmap.utils.XTMTypeInstanceValidator
All Implemented Interfaces:
ConfigurableListener, java.util.EventListener, java.io.Externalizable, java.io.Serializable, java.beans.VetoableChangeListener

public class XTMTypeInstanceValidator
extends java.lang.Object
implements java.beans.VetoableChangeListener, ConfigurableListener, java.io.Externalizable

See Also:
Serialized Form

Field Summary
protected static org.apache.commons.logging.Log m_log
           
 
Constructor Summary
XTMTypeInstanceValidator()
           
 
Method Summary
protected  void assertNoAddressableSubjectPlayers(java.beans.PropertyChangeEvent ev)
           
protected  void assertNoAddressableSubjectPlayers(java.beans.PropertyChangeEvent ev, java.util.Collection c)
           
protected  void assertNoClassRoles(java.beans.PropertyChangeEvent ev)
           
 void readExternal(java.io.ObjectInput in)
           
 void register(TopicMap tm)
          Invoked to register the listener with the topic map.
protected  void validateTypeInstanceMembers(java.beans.PropertyChangeEvent ev)
           
 void vetoableChange(java.beans.PropertyChangeEvent ev)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_log

protected static final org.apache.commons.logging.Log m_log
Constructor Detail

XTMTypeInstanceValidator

public XTMTypeInstanceValidator()
Method Detail

register

public void register(TopicMap tm)
Description copied from interface: ConfigurableListener
Invoked to register the listener with the topic map.

Specified by:
register in interface ConfigurableListener

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

vetoableChange

public void vetoableChange(java.beans.PropertyChangeEvent ev)
                    throws java.beans.PropertyVetoException
Specified by:
vetoableChange in interface java.beans.VetoableChangeListener
Throws:
java.beans.PropertyVetoException

assertNoClassRoles

protected void assertNoClassRoles(java.beans.PropertyChangeEvent ev)
                           throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

assertNoAddressableSubjectPlayers

protected void assertNoAddressableSubjectPlayers(java.beans.PropertyChangeEvent ev)
                                          throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

assertNoAddressableSubjectPlayers

protected void assertNoAddressableSubjectPlayers(java.beans.PropertyChangeEvent ev,
                                                 java.util.Collection c)
                                          throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

validateTypeInstanceMembers

protected void validateTypeInstanceMembers(java.beans.PropertyChangeEvent ev)
                                    throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException