|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.archie.strategy.DefaultLookupNodeStrategy
org.sapia.archie.strategy.DefaultLookupStrategy
public class DefaultLookupStrategy
Looks up a value, given a name. Searches from a given node, following the path evaluated from that node.
| Constructor Summary | |
|---|---|
DefaultLookupStrategy()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
lookup(Name n,
Node from)
Performs the lookup operation from the given node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultLookupStrategy()
| Method Detail |
|---|
public java.lang.Object lookup(Name n,
Node from)
throws NotFoundException,
ProcessingException
LookupStrategy
lookup in interface LookupStrategylookup in class DefaultLookupNodeStrategyn - 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 | |||||||||