org.planx.xmlstore.references
Class LocalLocator
java.lang.Object
org.planx.util.ObjectReference<Locator>
org.planx.xmlstore.references.LocalLocator
- All Implemented Interfaces:
- Locatable, Reference
public class LocalLocator
- extends ObjectReference<Locator>
- implements Reference, Locatable
An updatable Reference having a Locator to a
FileSystem location. The actual locator can be updated
behind-the-scenes by calling the move method. The currently
valid Locator can be obtained by calling the location()
method.
- Author:
- Thomas Ambus
LocalLocator
public LocalLocator(Locator loc)
location
public Locator location()
- Specified by:
location in interface Locatable
equals
public boolean equals(Object o)
- Description copied from class:
ObjectReference
- Two
ObjectReferences are equal if and only if the objects
that they point to are equal.
- Overrides:
equals in class ObjectReference<Locator>
hashCode
public int hashCode()
- Description copied from class:
ObjectReference
- Returns the hash code of the object pointed to.
- Overrides:
hashCode in class ObjectReference<Locator>
getStreamer
public static SizeStreamer<LocalLocator> getStreamer()
Copyright © 2004-2005 Plan-X. All Rights Reserved.