public class BooleanSyntax extends AttributeSyntax<AttributeSyntaxCfg>
Constructor and Description |
---|
BooleanSyntax()
Creates a new instance of this syntax.
|
Modifier and Type | Method and Description |
---|---|
static ByteString |
createBooleanValue(boolean b)
Retrieves an attribute value containing a representation of the provided
boolean value.
|
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.
|
Syntax |
getSDKSyntax(Schema schema)
Returns the SDK Syntax equivalent to this syntax.
|
equals, finalizeSyntax, getApproximateMatchingRule, getEqualityMatchingRule, getOrderingMatchingRule, getSubstringMatchingRule, hashCode, initializeSyntax, isBEREncodingRequired, isConfigurationAcceptable, isHumanReadable, toString, valueIsAcceptable
public BooleanSyntax()
initializeSyntax
method.public Syntax getSDKSyntax(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 ByteString createBooleanValue(boolean b)
b
- The boolean value for which to retrieve the attribute value.Copyright 2010-2017 ForgeRock AS.