Class ObjectClassNode
- java.lang.Object
-
- org.apache.directory.api.ldap.model.filter.AbstractExprNode
-
- org.apache.directory.api.ldap.model.filter.ObjectClassNode
-
public final class ObjectClassNode extends AbstractExprNode
An empty class used for the (ObjectClass=*) node.- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
-
-
Field Summary
Fields Modifier and Type Field Description static ExprNodeOBJECT_CLASS_NODEA static instance of this node-
Fields inherited from class org.apache.directory.api.ldap.model.filter.AbstractExprNode
annotations, assertionType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(FilterVisitor visitor)Element/node accept method for visitor pattern.booleanisLeaf()Tests to see if this node is a leaf or branch node.booleanisSchemaAware()Tells if this Node is Schema aware.StringtoString()-
Methods inherited from class org.apache.directory.api.ldap.model.filter.AbstractExprNode
clone, equals, get, getAnnotations, getAssertionType, hashCode, printRefinementToBuffer, set
-
-
-
-
Field Detail
-
OBJECT_CLASS_NODE
public static final ExprNode OBJECT_CLASS_NODE
A static instance of this node
-
-
Method Detail
-
isLeaf
public boolean isLeaf()
Tests to see if this node is a leaf or branch node. This implementation always returns true.- Returns:
- true if the node is a leaf,false otherwise
-
accept
public Object accept(FilterVisitor visitor)
Element/node accept method for visitor pattern. This implementation always returns null.- Parameters:
visitor- the filter expression tree structure visitor- Returns:
- the modified element
-
isSchemaAware
public boolean isSchemaAware()
Tells if this Node is Schema aware.- Returns:
- true if the Node is SchemaAware
-
toString
public String toString()
- Overrides:
toStringin classAbstractExprNode- See Also:
Object.toString()
-
-