Package net.ontopia.infoset.impl.basic
Class AbstractLocator
java.lang.Object
net.ontopia.infoset.impl.basic.AbstractLocator
- All Implemented Interfaces:
Serializable,LocatorIF
- Direct Known Subclasses:
GenericLocator,RDBMSLocator,URIFragmentLocator,URILocator
INTERNAL: The abstract locator class. All locator implementations should
extend this class.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.ontopia.infoset.core.LocatorIF
getAddress, getExternalForm, getNotation, resolveAbsolute
-
Constructor Details
-
AbstractLocator
public AbstractLocator()
-
-
Method Details
-
equals
PUBLIC: Two LocatorIFs are considered equal if they have the same address and notation properties. -
hashCode
public int hashCode()PUBLIC: Returns the hashcode of the address property. All subclasses of AbstractLocator must use the same hashCode implementation in order to guarantee interoperability. E.g. when looking up LocatorIFs in Maps. -
toString
-