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
-
-
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
-
-
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 StringtoString()-
Methods inherited from class org.apache.directory.api.ldap.model.filter.LeafNode
accept, equals, escapeFilterValue, escapeFilterValue, getAttribute, getAttributeType, hashCode, isLeaf, isSchemaAware, setAttribute, setAttributeType
-
Methods inherited from class org.apache.directory.api.ldap.model.filter.AbstractExprNode
clone, get, getAnnotations, 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:
toStringin classAbstractExprNode- Returns:
- A string representing the AndNode
- See Also:
Object.toString()
-
-