Class SimpleNode<T>

Type Parameters:
T - The Value type
All Implemented Interfaces:
Cloneable, ExprNode
Direct Known Subclasses:
ApproximateNode, EqualityNode, GreaterEqNode, LessEqNode

public abstract class SimpleNode<T> extends LeafNode
A simple assertion value node.
Author:
Apache Directory Project
  • Field Details

    • value

      protected Value value
      the value
    • bytes

      protected byte[] bytes
      The value as a byte[]
    • EVAL_GREATER

      public static final boolean EVAL_GREATER
      Constants for comparisons : @gt;
      See Also:
    • EVAL_LESSER

      public static final boolean EVAL_LESSER
      Constants for comparisons : <
      See Also:
  • Constructor Details

    • SimpleNode

      protected SimpleNode(String attribute, byte[] bytes, AssertionType assertionType)
      Creates a new SimpleNode object.
      Parameters:
      attribute - the attribute name
      bytes - the data to inject
      assertionType - the type of assertion represented by this ExprNode
    • SimpleNode

      protected SimpleNode(AttributeType attributeType, byte[] bytes, AssertionType assertionType)
      Creates a new SimpleNode object.
      Parameters:
      attributeType - the attribute name
      bytes - the data to inject
      assertionType - the type of assertion represented by this ExprNode
    • SimpleNode

      protected SimpleNode(String attribute, String string, AssertionType assertionType)
      Creates a new SimpleNode object.
      Parameters:
      attribute - the attribute name
      string - the value to inject
      assertionType - the type of assertion represented by this ExprNode
    • SimpleNode

      protected SimpleNode(AttributeType attributeType, Value value, AssertionType assertionType)
      Creates a new SimpleNode object.
      Parameters:
      attributeType - the attribute name
      value - the value to test for
      assertionType - the type of assertion represented by this ExprNode
  • Method Details