|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.SelfOrParentSearchStrategy
class SelfOrParentSearchStrategy
Search strategy that traverses a container and all its parents.
| Constructor Summary | |
|---|---|
SelfOrParentSearchStrategy()
|
|
| Method Summary | |
|---|---|
Command |
search(java.lang.String id,
CommandContainer container)
Searches the container and all it's parents for the command with the specified id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
SelfOrParentSearchStrategy()
| Method Detail |
|---|
public Command search(java.lang.String id,
CommandContainer container)
search in interface CommandContainerSearchStrategyid - the command to find.container - the container to search
null otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||