blackboard.data.content
Interface ContentVisitor


public interface ContentVisitor

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.

Since:
Bb 5.5
Version:
$Revision: #1 $ $Date: 2005/06/27 $
See Also:
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

visitContent

void visitContent(Content c)
For folders, this method is called before any of the folder's children are visited.

Parameters:
c - the Content to visit

leaveContent

void leaveContent(Content c)
For folders, this method is called after all of the folder's children have been visited, recursively.

Parameters:
c - the Content to leave


Copyright © 2003 Blackboard, Inc. All Rights Reserved.