public class DITStructureRuleSyntax extends AttributeSyntax<AttributeSyntaxCfg>
Constructor and Description |
---|
DITStructureRuleSyntax()
Creates a new instance of this syntax.
|
Modifier and Type | Method and Description |
---|---|
static DITStructureRule |
decodeDITStructureRule(org.forgerock.opendj.ldap.ByteSequence value,
Schema schema,
boolean allowUnknownElements)
Decodes the contents of the provided ASN.1 octet string as a DIT structure
rule definition according to the rules of this 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 DITStructureRuleSyntax()
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 DITStructureRule decodeDITStructureRule(org.forgerock.opendj.ldap.ByteSequence value, Schema schema, boolean allowUnknownElements) throws DirectoryException
value
- The ASN.1 octet string containing the value
to decode (it does not need to be
normalized).schema
- The schema to use to resolve references to
other schema elements.allowUnknownElements
- Indicates whether to allow values that
reference a name form and/or superior rules
which are not defined in the server schema.
This should only be true when called by
valueIsAcceptable
.DirectoryException
- If the provided value cannot be decoded as an
DIT structure rule definition.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.