public final class OidSyntaxChecker extends SyntaxChecker
From RFC 4512 :
oid = descr | numericoid descr = keystring keystring = leadkeychar *keychar leadkeychar = ALPHA keychar = ALPHA | DIGIT | HYPHEN number = DIGIT | ( LDIGIT 1*DIGIT ) ALPHA = %x41-5A | %x61-7A ; "A"-"Z" | "a"-"z" DIGIT = %x30 | LDIGIT ; "0"-"9" LDIGIT = %x31-39 ; "1"-"9" HYPHEN = %x2D ; hyphen ("-") numericoid = number 1*( DOT number ) DOT = %x2E ; period (".")
Modifier and Type | Class and Description |
---|---|
static class |
OidSyntaxChecker.Builder
A static Builder for this class
|
SyntaxChecker.SCBuilder<SC>
Modifier and Type | Field and Description |
---|---|
static OidSyntaxChecker |
INSTANCE
A static instance of OidSyntaxChecker
|
serialVersionUID
Modifier and Type | Method and Description |
---|---|
static OidSyntaxChecker.Builder |
builder() |
boolean |
isValidSyntax(Object value)
Determines if the attribute's value conforms to the attribute syntax.
|
equals, setSchemaManager, toString
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcn
addExtension, addExtension, addName, clear, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setSchemaName, setSpecification, unlock
public static final OidSyntaxChecker INSTANCE
public static OidSyntaxChecker.Builder builder()
public boolean isValidSyntax(Object value)
isValidSyntax
in class SyntaxChecker
value
- the value of some attribute with the syntaxCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.