Class DsaQualitySyntaxSyntaxChecker

  • All Implemented Interfaces:
    Serializable, SchemaObject

    public final class DsaQualitySyntaxSyntaxChecker
    extends SyntaxChecker
    A SyntaxChecker which verifies that a value is a DSAQualitySyntax according to http://tools.ietf.org/id/draft-ietf-asid-ldapv3-attributes-03.txt, par 5.2.2.2 :
     <DsaQualitySyntax> ::= <DSAKeyword> [ '#' <description> ]
    
     <DSAKeyword> ::= 'DEFUNCT' | 'EXPERIMENTAL' | 'BEST-EFFORT' |
                      'PILOT-SERVICE' | 'FULL-SERVICE'
    
     <description> ::= encoded as a PrintableString
     
    Author:
    Apache Directory Project
    See Also:
    Serialized Form
    • Method Detail

      • 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