| | |
| | | public void initializeSyntax(ConfigEntry configEntry) |
| | | throws ConfigException |
| | | { |
| | | |
| | | defaultApproximateMatchingRule = |
| | | DirectoryServer.getApproximateMatchingRule(AMR_DOUBLE_METAPHONE_OID); |
| | | if (defaultApproximateMatchingRule == null) |
| | |
| | | */ |
| | | public String getSyntaxName() |
| | | { |
| | | |
| | | return SYNTAX_PROTOCOL_INFORMATION_NAME; |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getOID() |
| | | { |
| | | |
| | | return SYNTAX_PROTOCOL_INFORMATION_OID; |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getDescription() |
| | | { |
| | | |
| | | return SYNTAX_PROTOCOL_INFORMATION_DESCRIPTION; |
| | | } |
| | | |
| | |
| | | */ |
| | | public EqualityMatchingRule getEqualityMatchingRule() |
| | | { |
| | | |
| | | return defaultEqualityMatchingRule; |
| | | } |
| | | |
| | |
| | | */ |
| | | public OrderingMatchingRule getOrderingMatchingRule() |
| | | { |
| | | |
| | | return defaultOrderingMatchingRule; |
| | | } |
| | | |
| | |
| | | */ |
| | | public SubstringMatchingRule getSubstringMatchingRule() |
| | | { |
| | | |
| | | return defaultSubstringMatchingRule; |
| | | } |
| | | |
| | |
| | | */ |
| | | public ApproximateMatchingRule getApproximateMatchingRule() |
| | | { |
| | | |
| | | return defaultApproximateMatchingRule; |
| | | } |
| | | |
| | |
| | | public boolean valueIsAcceptable(ByteString value, |
| | | StringBuilder invalidReason) |
| | | { |
| | | |
| | | // We will accept any value for this syntax. |
| | | return true; |
| | | } |