Class CsnSyntaxChecker

    • Field Detail

      • INSTANCE

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

      • CsnSyntaxChecker

        private CsnSyntaxChecker​(String oid)
        Creates a new instance of CsnSyntaxChecker.
        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