net.ontopia.infoset.impl.basic
Class AbstractLocator
java.lang.Object
net.ontopia.infoset.impl.basic.AbstractLocator
- All Implemented Interfaces:
- java.io.Serializable, LocatorIF
- Direct Known Subclasses:
- GenericLocator, RDBMSLocator, URIFragmentLocator, URILocator
public abstract class AbstractLocator
- extends java.lang.Object
- implements LocatorIF, java.io.Serializable
INTERNAL: The abstract locator class. All locator implementations should
extend this class.
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(java.lang.Object object)
PUBLIC: Two LocatorIFs are considered equal if they have the same
address and notation properties. |
int |
hashCode()
PUBLIC: Returns the hashcode of the address property. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
AbstractLocator
public AbstractLocator()
equals
public boolean equals(java.lang.Object object)
- PUBLIC: Two LocatorIFs are considered equal if they have the same
address and notation properties.
- Overrides:
equals
in class java.lang.Object
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.
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2009 Ontopia.