Class ValenceErrorChecker

    • Field Detail

      • PROPERTY_KEY_TRADITIONAL_N_ALLOWED

        public static final String PROPERTY_KEY_TRADITIONAL_N_ALLOWED
        This public constant String represents the name of the configuration file property which is responsible for traditional N representation is allowed
        Since:
        6.0
        See Also:
        Constant Field Values
    • Constructor Detail

      • ValenceErrorChecker

        public ValenceErrorChecker()
        Default constructor
      • ValenceErrorChecker

        public ValenceErrorChecker​(Map<String,​String> params)
        Parameterized constructor. If "traditionalNitrogen" parameter is given and its value is "true" traditional representation of N will not be valence error
        Parameters:
        params - a Map instance which contains String pairs. Key is the name of the parameter.
    • Method Detail

      • setAllowTraditionalNitrogen

        public void setAllowTraditionalNitrogen​(boolean traditionalNallowed)
        Sets if the checker should allow traditional N representation
        Parameters:
        traditionalNallowed - is a boolean instance
        Since:
        6.0
      • isAllowTraditionalNitrogen

        public boolean isAllowTraditionalNitrogen()
        Gets whether the checker allows traditional N representation
        Returns:
        whether the checker allows traditional N representation