no.sesat.search.query.finder
Class ChildFinder
java.lang.Object
no.sesat.commons.visitor.AbstractReflectionVisitor
no.sesat.search.query.finder.ChildFinder
- All Implemented Interfaces:
- no.sesat.commons.visitor.Visitor
public final class ChildFinder
- extends no.sesat.commons.visitor.AbstractReflectionVisitor
Used to find if a particular clause exists underneath another.
- Version:
- $Id$
| Fields inherited from class no.sesat.commons.visitor.AbstractReflectionVisitor |
VISIT_METHOD_IMPL |
| Methods inherited from class no.sesat.commons.visitor.AbstractReflectionVisitor |
visit, visitImpl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChildFinder
public ChildFinder()
childExists
public boolean childExists(UnaryClause parent,
Clause child)
- Does the child clause exist any depth underneath the parent.
- Parameters:
parent - the parent clausechild - the child clause.
- Returns:
- Does the child clause exist any depth underneath the parent.
visitImpl
protected void visitImpl(BinaryClause clause)
visitImpl
protected void visitImpl(UnaryClause clause)
visitImpl
protected void visitImpl(LeafClause clause)
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.