Class DseTypeSyntaxChecker

All Implemented Interfaces:
Serializable, SchemaObject

public final class DseTypeSyntaxChecker extends SyntaxChecker
A SyntaxChecker which verifies that a value is a DSEType according to http://tools.ietf.org/id/draft-ietf-asid-ldapv3-attributes-03.txt, par 6.2.1.5 :
<DSEType>    ::= '(' <sp>* <DSEBit> <sp>* <DSEBitList> ')'
<DSEBitList> ::= '$' <sp>* <DSEBit> <sp>* <DSEBitList> | e      
<DSEBit>     ::= 'root' | 'glue' | 'cp' | 'entry' | 'alias' | 'subr' |
                 'nssr' | 'supr' | 'xr' | 'admPoint' | 'subentry' |
                 'shadow' | 'zombie' | 'immSupr' | 'rhob' | 'sa'
Author:
Apache Directory Project
See Also:
  • Field Details

    • INSTANCE

      public static final DseTypeSyntaxChecker INSTANCE
      A static instance of DseTypeSyntaxChecker
  • Method Details

    • builder

      public static DseTypeSyntaxChecker.Builder builder()
      Returns:
      An instance of the Builder for this class
    • isValidSyntax

      public boolean isValidSyntax(Object value)
      Determines if the attribute's value conforms to the attribute syntax.
      Overrides:
      isValidSyntax in class SyntaxChecker
      Parameters:
      value - the value of some attribute with the syntax
      Returns:
      true if the value is in the valid syntax, false otherwise