org.apache.directory.shared.ldap.filter
Class PresenceNode
java.lang.Object
org.apache.directory.shared.ldap.filter.AbstractExprNode
org.apache.directory.shared.ldap.filter.LeafNode
org.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$
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 java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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.