|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.visit.Visit<R>
R - type of object that should be returned by the visit/traversalpublic class Visit<R>
Implementation of IVisit used by traversal algorithms
| Constructor Summary | |
|---|---|
Visit()
|
|
| Method Summary | |
|---|---|
void |
dontGoDeeper()
Prevents the visitor from visiting any children of the object currently visited |
R |
getResult()
Gets the result of the visit/traversal. |
boolean |
isContinue()
Checks if the visit/traversal should continue |
boolean |
isDontGoDeeper()
Checks if the visit/traversal has been stopped from visiting children of the currently visited object |
boolean |
isStopped()
Checks if the visit/traversal has been stopped |
void |
stop()
Stops the visit/traversal |
void |
stop(R result)
Stops the visit/traversal and returns result |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Visit()
| Method Detail |
|---|
public void stop()
stop in interface IVisit<R>public void stop(R result)
result
stop in interface IVisit<R>public void dontGoDeeper()
dontGoDeeper in interface IVisit<R>public boolean isStopped()
true if the visit/traversal has been stoppedpublic boolean isContinue()
true if the visit/traversal should continuepublic boolean isDontGoDeeper()
true if the visit/traversal should not visit children of the currently
visited objectpublic R getResult()
stop(Object) or
remains null if visit/traversal has ended in any other way
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||