Class UndefinedNode
java.lang.Object
org.apache.directory.api.ldap.model.filter.AbstractExprNode
org.apache.directory.api.ldap.model.filter.UndefinedNode
An empty class used for Undefined Nodes.
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringattribute on which this leaf is basedstatic final UndefinedNodeA static instance of this nodeFields inherited from class AbstractExprNode
annotations, assertionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(FilterVisitor visitor) Element/node accept method for visitor pattern.booleanisLeaf()Tests to see if this node is a leaf or branch node.booleanTells if this Node is Schema aware.voidsetAttribute(String attribute) toString()Methods inherited from class AbstractExprNode
clone, equals, get, getAnnotations, getAssertionType, hashCode, printRefinementToBuffer, set
-
Field Details
-
UNDEFINED_NODE
A static instance of this node -
attribute
attribute on which this leaf is based
-
-
Constructor Details
-
UndefinedNode
Creates a new instance of UndefinedNode.- Parameters:
attribute- The leaf's attribute
-
-
Method Details
-
isLeaf
public boolean isLeaf()Tests to see if this node is a leaf or branch node. This implementation always returns false.- Returns:
- true if the node is a leaf,false otherwise
-
accept
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
-
setAttribute
-
toString
- Overrides:
toStringin classAbstractExprNode- See Also:
-