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
public abstract class AbstractLocator
- extends Object
- implements LocatorIF, Serializable
INTERNAL: The abstract locator class. All locator implementations should
extend this class.
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(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. |
String |
toString()
|
AbstractLocator
public AbstractLocator()
equals
public boolean equals(Object object)
- PUBLIC: Two LocatorIFs are considered equal if they have the same
address and notation properties.
- Overrides:
equals
in class 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 Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2012 Ontopia.