org.apache.directory.shared.ldap.filter
Class PresenceNode

java.lang.Object
  extended by org.apache.directory.shared.ldap.filter.AbstractExprNode
      extended by org.apache.directory.shared.ldap.filter.LeafNode
          extended by org.apache.directory.shared.ldap.filter.PresenceNode
All Implemented Interfaces:
java.lang.Cloneable, ExprNode

public final class PresenceNode
extends LeafNode

Filter expression tree node representing a filter attribute value assertion for presence.

Version:
$Revision: 746607 $
Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode
annotations, assertionType
 
Constructor Summary
PresenceNode(java.lang.String attribute)
          Creates a PresenceNode object based on an attribute.
 
Method Summary
 ExprNode clone()
          Clone the Node
 java.lang.String toString()
           
 
Methods inherited from class org.apache.directory.shared.ldap.filter.LeafNode
accept, equals, getAttribute, hashCode, isLeaf, setAttribute
 
Methods inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode
escapeFilterValue, get, getAnnotations, getAssertionType, printRefinementToBuffer, set
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PresenceNode

public PresenceNode(java.lang.String attribute)
Creates a PresenceNode object based on an attribute.

Parameters:
attribute - the attribute to assert the presence of
Method Detail

clone

public ExprNode clone()
Clone the Node

Specified by:
clone in interface ExprNode
Overrides:
clone in class LeafNode
Returns:
the clone

toString

public java.lang.String toString()
Overrides:
toString in class AbstractExprNode
Returns:
A string representing the AndNode
See Also:
Object.toString()


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