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

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

public class InternalTopicRefMatcher
extends java.lang.Object
implements TMObjectMatcherIF

INTERNAL: A topic matcher that matches topics by their source locators. It uses a string that is evaluated relative to the base URI of the topic map.


Field Summary
protected  java.lang.String relativeUri
           
 
Constructor Summary
InternalTopicRefMatcher(java.lang.String relativeUri)
          INTERNAL: Creates a new InternalTopicRefMatcher.
 
Method Summary
 boolean equals(TMObjectMatcherIF object)
          INTERNAL: Returns true if this object equals the given parameter.
 java.lang.String getRelativeURI()
          INTERNAL: Returns the relative URI which will be 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

relativeUri

protected java.lang.String relativeUri
Constructor Detail

InternalTopicRefMatcher

public InternalTopicRefMatcher(java.lang.String relativeUri)
INTERNAL: Creates a new InternalTopicRefMatcher.

Parameters:
relativeUri - The URI used for matching.
Method Detail

getRelativeURI

public java.lang.String getRelativeURI()
INTERNAL: Returns the relative URI which will be used for matching. It will be evaluated relative to the base URI of the topic map to which the topic being matched belongs.


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.