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

java.lang.Object
  extended byorg.apache.directory.shared.ldap.filter.AbstractExprNode
      extended byorg.apache.directory.shared.ldap.filter.LeafNode
          extended byorg.apache.directory.shared.ldap.filter.PresenceNode
All Implemented Interfaces:
ExprNode

public final class PresenceNode
extends LeafNode

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

Version:
$Revision: 379008 $
Author:
Alex Karasulu, $author$

Field Summary
 
Fields inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode
AND, APPROXIMATE, ASSERTION, EQUALITY, EXTENSIBLE, GREATEREQ, LESSEQ, NOT, OR, PRESENCE, SCOPE, SUBSTRING
 
Constructor Summary
PresenceNode(java.lang.String an_attribute)
          Creates a PresenceNode object based on an attribute.
 
Method Summary
 void accept(FilterVisitor a_visitor)
          Element/node accept method for visitor pattern.
 java.lang.StringBuffer printToBuffer(java.lang.StringBuffer a_buf)
          Recursively appends this String representation of this node and its descendents in prefix notation to a buffer.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.directory.shared.ldap.filter.LeafNode
equals, getAttribute, isLeaf
 
Methods inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode
get, getAnnotations, getAssertionType, getOperationString, set
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PresenceNode

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

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

printToBuffer

public java.lang.StringBuffer printToBuffer(java.lang.StringBuffer a_buf)
Description copied from interface: ExprNode
Recursively appends this String representation of this node and its descendents in prefix notation to a buffer.

Parameters:
a_buf - the buffer to append to.
See Also:
ExprNode.printToBuffer(java.lang.StringBuffer)

toString

public java.lang.String toString()
See Also:
Object.toString()

accept

public void accept(FilterVisitor a_visitor)
Description copied from interface: ExprNode
Element/node accept method for visitor pattern.

Parameters:
a_visitor - the filter expression tree structure visitor
See Also:
ExprNode.accept( org.apache.directory.shared.ldap.filter.FilterVisitor)


Copyright © 2003-2006 . All Rights Reserved.