org.apache.directory.server.core.normalization
Class ExpandingVisitor

java.lang.Object
  extended by org.apache.directory.server.core.normalization.ExpandingVisitor
All Implemented Interfaces:
org.apache.directory.shared.ldap.filter.FilterVisitor

public class ExpandingVisitor
extends java.lang.Object
implements org.apache.directory.shared.ldap.filter.FilterVisitor

Version:
$Rev: 429176 $
Author:
Apache Directory Project

Constructor Summary
ExpandingVisitor(AttributeTypeRegistry attrRegistry)
          Creates a new instance of ExpandingVisitor.
 
Method Summary
 boolean canVisit(org.apache.directory.shared.ldap.filter.ExprNode node)
           
 java.util.List<org.apache.directory.shared.ldap.filter.ExprNode> getOrder(org.apache.directory.shared.ldap.filter.BranchNode node, java.util.List<org.apache.directory.shared.ldap.filter.ExprNode> children)
           
 boolean isPrefix()
           
 java.lang.Object visit(org.apache.directory.shared.ldap.filter.ExprNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandingVisitor

public ExpandingVisitor(AttributeTypeRegistry attrRegistry)
Creates a new instance of ExpandingVisitor.

Parameters:
attrRegistry - The AttributeType registry
Method Detail

canVisit

public boolean canVisit(org.apache.directory.shared.ldap.filter.ExprNode node)
Specified by:
canVisit in interface org.apache.directory.shared.ldap.filter.FilterVisitor

getOrder

public java.util.List<org.apache.directory.shared.ldap.filter.ExprNode> getOrder(org.apache.directory.shared.ldap.filter.BranchNode node,
                                                                                 java.util.List<org.apache.directory.shared.ldap.filter.ExprNode> children)
Specified by:
getOrder in interface org.apache.directory.shared.ldap.filter.FilterVisitor

isPrefix

public boolean isPrefix()
Specified by:
isPrefix in interface org.apache.directory.shared.ldap.filter.FilterVisitor

visit

public java.lang.Object visit(org.apache.directory.shared.ldap.filter.ExprNode node)
Specified by:
visit in interface org.apache.directory.shared.ldap.filter.FilterVisitor


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.