Class DescriptionUtils

    • Method Detail

      • getDescription

        public static String getDescription​(LdapComparator<?> comparator)
        Generates the ComparatorDescription for a LdapComparator. Only the right hand side of the description starting at the opening parenthesis is generated: that is 'ComparatorDescription = ' is not generated.
         ComparatorDescription = "("
             numericoid                          
             ["DESC" qdstring ]
             "FQCN" whsp fqcn
             ["BYTECODE" whsp base64  ]
             extensions 
             ")"
         
        Parameters:
        comparator - the Comparator to generate the description for
        Returns:
        the ComparatorDescription string
      • getDescription

        public static String getDescription​(Normalizer normalizer)
        Generates the NormalizerDescription for a Normalizer. Only the right hand side of the description starting at the opening parenthesis is generated: that is 'NormalizerDescription = ' is not generated.
         NormalizerDescription = "("
             numericoid                          
             ["DESC" qdstring ]
             "FQCN" whsp fqcn
             ["BYTECODE" whsp base64  ]
             extensions 
             ")"
         
        Parameters:
        normalizer - the Normalizer to generate the description for
        Returns:
        the NormalizerDescription string
      • getDescription

        public static String getDescription​(SyntaxChecker syntaxChecker)
        Generates the SyntaxCheckerDescription for a SyntaxChecker. Only the right hand side of the description starting at the opening parenthesis is generated: that is 'SyntaxCheckerDescription = ' is not generated.
         SyntaxCheckerDescription = "("
             numericoid                          
             ["DESC" qdstring ]
             "FQCN" whsp fqcn
             ["BYTECODE" whsp base64  ]
             extensions 
             ")"
         
        Parameters:
        syntaxChecker - the SyntaxChecker to generate the description for
        Returns:
        the SyntaxCheckerDescription string