Class UndefinedNode

java.lang.Object
org.apache.directory.api.ldap.model.filter.AbstractExprNode
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 Details

    • UNDEFINED_NODE

      public static final UndefinedNode UNDEFINED_NODE
      A static instance of this node
    • attribute

      protected String attribute
      attribute on which this leaf is based
  • Constructor Details

    • UndefinedNode

      public UndefinedNode(String attribute)
      Creates a new instance of UndefinedNode.
      Parameters:
      attribute - The leaf's attribute
  • Method Details

    • 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
      Returns:
      the modified element
    • isSchemaAware

      public boolean isSchemaAware()
      Tells if this Node is Schema aware.
      Returns:
      true if the Node is SchemaAware
    • setAttribute

      public void setAttribute(String attribute)
    • toString

      public String toString()
      Overrides:
      toString in class AbstractExprNode
      See Also: