Class BooleanSyntaxChecker

    • Field Detail

      • INSTANCE

        public static final BooleanSyntaxChecker INSTANCE
        A static instance of BooleanSyntaxChecker
    • Constructor Detail

      • BooleanSyntaxChecker

        private BooleanSyntaxChecker​(String oid)
        Creates a new instance of BooleanSyntaxChecker.
        Parameters:
        oid - The OID to use for this SyntaxChecker
    • 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