Class PresenceNode
- java.lang.Object
-
- org.apache.directory.api.ldap.model.filter.AbstractExprNode
-
- org.apache.directory.api.ldap.model.filter.LeafNode
-
- org.apache.directory.api.ldap.model.filter.PresenceNode
-
public final class PresenceNode extends LeafNode
Filter expression tree node representing a filter attribute value assertion for presence.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description PresenceNode(String attribute)
Creates a PresenceNode object based on an attribute.PresenceNode(AttributeType attributeType)
Creates a PresenceNode object based on an attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
Methods inherited from class org.apache.directory.api.ldap.model.filter.LeafNode
accept, equals, getAttribute, getAttributeType, hashCode, isLeaf, isSchemaAware, setAttribute, setAttributeType
-
Methods inherited from class org.apache.directory.api.ldap.model.filter.AbstractExprNode
clone, get, getAssertionType, printRefinementToBuffer, set
-
-
-
-
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 classAbstractExprNode
- Returns:
- A string representing the AndNode
- See Also:
Object.toString()
-
-