Skip to content

Instantly share code, notes, and snippets.

@lfryc
Created August 15, 2013 17:29
Show Gist options
  • Save lfryc/6242791 to your computer and use it in GitHub Desktop.
Save lfryc/6242791 to your computer and use it in GitHub Desktop.
package org.richfaces.component;
/**
* The component is able to decide whether its subtree should be visited.
*
* @author Lukas Fryc
*/
public interface VisitChildrenRejectable {
/**
* Indicates whether processing logic such as renderer and visitors should visit (process) the children of this component.
*
* Prevents visitting (processing) of subtrees which are not for any reason "active".
*
* @return true if the component's subtree should be visited; false otherwise
*/
boolean shouldVisitChildren();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment