All Packages Class Hierarchy This Package Previous Next Index
public static final Locator BOUNDARY_VIOLATION
public abstract Locator before(Locator locator) throws InvalidLocatorException, UncontainedLocatorException
locator
. Note: this Locator will be
the invalid BOUNDARY_VIOLATION if no such locator exists.
locator
is
invalid (For example: It does not actually reference
an element within this Container).
public abstract Locator after(Locator locator) throws InvalidLocatorException, UncontainedLocatorException
locator
. Note: this Locator will be
the invalid BOUNDARY_VIOLATION if no such locator exists.
locator
is
invalid (For example: It does not actually reference
an element within this Container).
public abstract Locator closestBefore(Object key) throws InvalidKeyException, UncontainedLocatorException
key
may have many Locators
mapped to it. Which one is closest to key
is implementation
dependent. It is also possible that there are no such Locators
ordered before key
, in which case, the Locator returned
will be invalid. Finally, it is possible that key
is actually present in the container, in which case a locator whose
key is equal to key
will be returned.
key
in this Container. Note:
If no such Locator exists, the returned Locator will
be the invalid BOUNDARY_VIOLATION.
key
is not of
a type accepted by this Container (For example: The
key is not comparable).
public abstract Locator closestAfter(Object key) throws InvalidKeyException, UncontainedLocatorException
key
may have many Locators
mapped to it. Which one is closest to key
is implementation
dependent. It is also possible that there are no such Locators
ordered after key
, in which case, the Locator returned
will be invalid. Finally, it is possible that key
is actually present in the container, in which case a locator whose
key is equal to key
will be returned.
key
in this Container. Note:
If no such Locator exists, the returned Locator will
be the invalid BOUNDARY_VIOLATION.
key
is not of
a type accepted by this Container (For example: The
key is not comparable).
All Packages Class Hierarchy This Package Previous Next Index