Skip to main content
summaryrefslogtreecommitdiffstats
blob: b91fd9e428798895fb60f538b1fea142aa6b0f5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.eclipse.jst.jsf.common.metadata.query.internal;

import org.eclipse.jst.jsf.common.metadata.Entity;
import org.eclipse.jst.jsf.common.metadata.query.IEntityVisitor;

/**
 * Provides the necessary hierarchical visitor interface methods to 
 * provide conditional navigation of the entity hierarchy 
 *
 */
public interface IHierarchicalEntityVisitor extends IEntityVisitor {
	/**
	 * @param entity
	 * @return true if children should be traversed 
	 */
	boolean visitEnter(Entity entity); 
	/**
	 * @param entity
	 * @return true when coming out of a branch
	 */
	boolean visitLeave(Entity entity);
	

}

Back to the top