net.ontopia.topicmaps.schema.impl.osl
Class SourceLocatorMatcher

java.lang.Object
  extended by net.ontopia.topicmaps.schema.impl.osl.SourceLocatorMatcher
All Implemented Interfaces:
TMObjectMatcherIF

public class SourceLocatorMatcher
extends java.lang.Object
implements TMObjectMatcherIF

INTERNAL: Object matcher that matches objects by their source locators.


Field Summary
protected  LocatorIF locator
           
 
Constructor Summary
SourceLocatorMatcher(LocatorIF locator)
          INTERNAL: Creates a new matcher with the locator it uses to match.
 
Method Summary
 boolean equals(TMObjectMatcherIF object)
          INTERNAL: Returns true if this object equals the given parameter.
 LocatorIF getLocator()
          INTERNAL: Returns the locator used for matching.
 boolean matches(TMObjectIF object)
          INTERNAL: Returns true if this object is matched by the matcher.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

locator

protected LocatorIF locator
Constructor Detail

SourceLocatorMatcher

public SourceLocatorMatcher(LocatorIF locator)
INTERNAL: Creates a new matcher with the locator it uses to match.

Method Detail

getLocator

public LocatorIF getLocator()
INTERNAL: Returns the locator used for matching.


matches

public boolean matches(TMObjectIF object)
Description copied from interface: TMObjectMatcherIF
INTERNAL: Returns true if this object is matched by the matcher.

Specified by:
matches in interface TMObjectMatcherIF

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(TMObjectMatcherIF object)
Description copied from interface: TMObjectMatcherIF
INTERNAL: Returns true if this object equals the given parameter.

Specified by:
equals in interface TMObjectMatcherIF


Copyright © 2000-2012 Ontopia.