org.apache.directory.api.ldap.model.filter
Class UndefinedNode

java.lang.Object
  extended by org.apache.directory.api.ldap.model.filter.AbstractExprNode
      extended by org.apache.directory.api.ldap.model.filter.UndefinedNode
All Implemented Interfaces:
Cloneable, ExprNode

public final class UndefinedNode
extends AbstractExprNode

An empty class used for Undefined Nodes.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Field Summary
static ExprNode UNDEFINED_NODE
          A static instance of this node
 
Fields inherited from class org.apache.directory.api.ldap.model.filter.AbstractExprNode
annotations, assertionType, isSchemaAware
 
Method Summary
 Object accept(FilterVisitor visitor)
          Element/node accept method for visitor pattern.
 boolean isLeaf()
          Tests to see if this node is a leaf or branch node.
 String toString()
          
 
Methods inherited from class org.apache.directory.api.ldap.model.filter.AbstractExprNode
clone, equals, escapeFilterValue, get, getAnnotations, getAssertionType, hashCode, isSchemaAware, printRefinementToBuffer, set
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNDEFINED_NODE

public static final ExprNode UNDEFINED_NODE
A static instance of this node

Method Detail

isLeaf

public boolean isLeaf()
Tests to see if this node is a leaf or branch node. This implementation always returns false.

Returns:
true if the node is a leaf,false otherwise

accept

public Object accept(FilterVisitor visitor)
Element/node accept method for visitor pattern. This implementation always returns null.

Parameters:
visitor - the filter expression tree structure visitor TODO - what is this modified element ?
Returns:
the modified element

toString

public String toString()

Overrides:
toString in class AbstractExprNode
See Also:
Object.toString()


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.