org.apache.directory.api.ldap.model.filter
Class PresenceNode

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

public final class PresenceNode
extends LeafNode

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

Author:
Apache Directory Project

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

Constructor Detail

PresenceNode

public PresenceNode(AttributeType attributeType)
Creates a PresenceNode object based on an attribute.

Parameters:
attributeType - the attributeType to assert the presence of

PresenceNode

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

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

toString

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


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.