public class ObjectClassSyntax extends AttributeSyntax<AttributeSyntaxCfg>
Constructor and Description |
---|
ObjectClassSyntax()
Creates a new instance of this syntax.
|
Modifier and Type | Method and Description |
---|---|
static ObjectClass |
decodeObjectClass(org.forgerock.opendj.ldap.ByteSequence value,
Schema schema,
boolean allowUnknownElements)
Decodes the contents of the provided ASN.1 octet string as an objectclass
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 ObjectClassSyntax()
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 ObjectClass decodeObjectClass(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 superior class or required or
optional attribute types 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
objectclass definition.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.