public final class NameAndOptionalUIDSyntaxChecker extends SyntaxChecker
This element is a composition of two parts, a Dn
and an optional UID :
NameAndOptionalUID = distinguishedName [ SHARP BitString ]Both part already have their syntax checkers, so we will just call them after having split the element in two ( if necessary)
We just check that the Dn
is valid, we don't need to verify each of the Rdn
syntax.
Modifier and Type | Class and Description |
---|---|
static class |
NameAndOptionalUIDSyntaxChecker.Builder
A static Builder for this class
|
SyntaxChecker.SCBuilder<SC>
Modifier and Type | Field and Description |
---|---|
static NameAndOptionalUIDSyntaxChecker |
INSTANCE
A static instance of NameAndOptionalUIDSyntaxChecker
|
serialVersionUID
Modifier and Type | Method and Description |
---|---|
static NameAndOptionalUIDSyntaxChecker.Builder |
builder() |
boolean |
isValidSyntax(Object value)
Determines if the attribute's value conforms to the attribute syntax.
|
equals, setSchemaManager, toString
copy, getBytecode, getFqcn, hashCode, isValid, setBytecode, setFqcn
addExtension, addExtension, addName, clear, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlock
public static final NameAndOptionalUIDSyntaxChecker INSTANCE
public static NameAndOptionalUIDSyntaxChecker.Builder builder()
public boolean isValidSyntax(Object value)
isValidSyntax
in class SyntaxChecker
value
- the value of some attribute with the syntaxCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.