|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.archie.strategy.FindRootStrategy
public class FindRootStrategy
A lookup strategy that is meant to return the root Node
of a given node hierarchy.
| Constructor Summary | |
|---|---|
FindRootStrategy()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
lookup(Name n,
Node from)
Returns the root Node of the hierarchy of which the
given "from" Node is part. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FindRootStrategy()
| Method Detail |
|---|
public java.lang.Object lookup(Name n,
Node from)
throws NotFoundException,
ProcessingException
Node of the hierarchy of which the
given "from" Node is part.
lookup in interface LookupStrategyn - the Name of the value to lookup.from - the Node from which the search starts.
Object that corresponds to the given name.
NotFoundException - if no object is found for the given name.
ProcessingException - if a problem occurs while performing the lookup.LookupStrategy.lookup(Name, Node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||