public final class DescriptionUtils extends Object
| Modifier | Constructor and Description |
|---|---|
private |
DescriptionUtils()
Private constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getDescription(LdapComparator<?> comparator)
Generates the ComparatorDescription for a LdapComparator.
|
static String |
getDescription(Normalizer normalizer)
Generates the NormalizerDescription for a Normalizer.
|
static String |
getDescription(SyntaxChecker syntaxChecker)
Generates the SyntaxCheckerDescription for a SyntaxChecker.
|
private static void |
getExtensions(StringBuilder sb,
Map<String,List<String>> extensions) |
private static String |
getLoadableDescription(LoadableSchemaObject schemaObject)
Generate the description for Comparators, Normalizers and SyntaxCheckers.
|
public static String getDescription(LdapComparator<?> comparator)
ComparatorDescription = "("
numericoid
["DESC" qdstring ]
"FQCN" whsp fqcn
["BYTECODE" whsp base64 ]
extensions
")"
comparator - the Comparator to generate the description forpublic static String getDescription(Normalizer normalizer)
NormalizerDescription = "("
numericoid
["DESC" qdstring ]
"FQCN" whsp fqcn
["BYTECODE" whsp base64 ]
extensions
")"
normalizer - the Normalizer to generate the description forpublic static String getDescription(SyntaxChecker syntaxChecker)
SyntaxCheckerDescription = "("
numericoid
["DESC" qdstring ]
"FQCN" whsp fqcn
["BYTECODE" whsp base64 ]
extensions
")"
syntaxChecker - the SyntaxChecker to generate the description forprivate static void getExtensions(StringBuilder sb, Map<String,List<String>> extensions)
private static String getLoadableDescription(LoadableSchemaObject schemaObject)
schemaObject - The SchemaObject to processCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.