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: 434411 $
- Author:
- Apache Directory Project
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(String an_attribute)
Creates a PresenceNode object based on an attribute. |
PresenceNode
public PresenceNode(String an_attribute)
- Creates a PresenceNode object based on an attribute.
- Parameters:
an_attribute
- the attribute to assert the presence of
printToBuffer
public StringBuffer printToBuffer(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 String toString()
- Overrides:
toString
in class Object
- 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 © 2004-2012. All Rights Reserved.