org.apache.directory.shared.ldap.filter
Class EqualityNode<T>
java.lang.Object
org.apache.directory.shared.ldap.filter.AbstractExprNode
org.apache.directory.shared.ldap.filter.LeafNode
org.apache.directory.shared.ldap.filter.SimpleNode<T>
org.apache.directory.shared.ldap.filter.EqualityNode<T>
- All Implemented Interfaces:
- java.lang.Cloneable, ExprNode
public class EqualityNode<T>
- extends SimpleNode<T>
A assertion value node for Equality.
- Version:
- $Revision: 519266 $
- Author:
- Apache Directory Project
Method Summary |
ExprNode |
clone()
Makes a full clone in new memory space of the current node and children |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
EqualityNode
public EqualityNode(java.lang.String attribute,
Value<T> value)
- Creates a new Equality object.
- Parameters:
attribute
- the attribute namevalue
- the value to test for
EqualityNode
protected EqualityNode(java.lang.String attribute,
Value<T> value,
AssertionType assertionType)
- Creates a new Equality object.
- Parameters:
attribute
- the attribute namevalue
- the value to test forassertionType
- The node's type
clone
public ExprNode clone()
- Makes a full clone in new memory space of the current node and children
- Specified by:
clone
in interface ExprNode
- Overrides:
clone
in class SimpleNode<T>
- Returns:
- the clone
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractExprNode
- Returns:
- A string representing the AndNode
- See Also:
Object.toString()
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.