public class GuideSyntax extends AttributeSyntax<AttributeSyntaxCfg>
Constructor and Description |
---|
GuideSyntax()
Creates a new instance of this syntax.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
criteriaIsValid(String criteria,
String valueStr,
LocalizableMessageBuilder invalidReason)
Determines whether the provided string represents a valid criteria
according to the guide syntax.
|
String |
getDescription()
Retrieves a description for this attribute syntax.
|
String |
getName()
Retrieves the common name for this attribute syntax.
|
String |
getOID()
Retrieves the OID for this attribute syntax.
|
org.forgerock.opendj.ldap.schema.Syntax |
getSDKSyntax(org.forgerock.opendj.ldap.schema.Schema schema)
Returns the SDK Syntax equivalent to this syntax.
|
equals, finalizeSyntax, getApproximateMatchingRule, getEqualityMatchingRule, getOrderingMatchingRule, getSubstringMatchingRule, hashCode, initializeSyntax, isBEREncodingRequired, isConfigurationAcceptable, isHumanReadable, toString, toString, valueIsAcceptable
public GuideSyntax()
initializeSyntax
method.public org.forgerock.opendj.ldap.schema.Syntax getSDKSyntax(org.forgerock.opendj.ldap.schema.Schema schema)
This method allow smooth migration to SDK syntax. It will disappear once the the migration to SDK schema is complete, together with this class and all its implementation.
getSDKSyntax
in class AttributeSyntax<AttributeSyntaxCfg>
schema
- Schema to use to retrieve the syntaxpublic String getName()
getName
in class AttributeSyntax<AttributeSyntaxCfg>
public String getOID()
getOID
in class AttributeSyntax<AttributeSyntaxCfg>
public String getDescription()
getDescription
in class AttributeSyntax<AttributeSyntaxCfg>
public static boolean criteriaIsValid(String criteria, String valueStr, LocalizableMessageBuilder invalidReason)
criteria
- The portion of the criteria for which to make the
determination.valueStr
- The complete guide value provided by the client.invalidReason
- The buffer to which to append the reason that the
criteria is invalid if a problem is found.true
if the provided string does contain a valid
criteria, or false
if not.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.