|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for content visitor (Visitor Pattern). The visitContent() and
leaveContent() methods are called for each node in the tree.
Elements within a folder are visited in order by their position in the parent
folder.
Content.traverseContent(ContentVisitor,Content)| Method Summary | |
void |
leaveContent(Content c)
For folders, this method is called after all of the folder's children have been visited, recursively. |
void |
visitContent(Content c)
For folders, this method is called before any of the folder's children are visited. |
| Method Detail |
public void visitContent(Content c)
c - the Content to visitpublic void leaveContent(Content c)
c - the Content to leave
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||