|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.archie.strategy.DefaultLookupNodeStrategy
public class DefaultLookupNodeStrategy
Looks up a Node corresponding to a given name.
| Constructor Summary | |
|---|---|
DefaultLookupNodeStrategy(boolean createNotExistingNodes)
|
|
| 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 DefaultLookupNodeStrategy(boolean createNotExistingNodes)
createNotExistingNodes - if true, parts of looked up names
that have no corresponding node will have a node created for them.| Method Detail |
|---|
public java.lang.Object lookup(Name n,
Node from)
throws NotFoundException,
ProcessingException
LookupStrategy
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||