public final class OidLenSyntaxChecker extends SyntaxChecker
From RFC 4512 :
noidlen = numericoid [ LCURLY len RCURLY ] numericoid = number 1*( DOT number ) len = number number = DIGIT | ( LDIGIT 1*DIGIT ) DIGIT = %x30 | LDIGIT ; "0"-"9" LDIGIT = %x31-39 ; "1"-"9" DOT = %x2E ; period (".") LCURLY = %x7B ; left curly brace "{" RCURLY = %x7D ; right curly brace "}"
Modifier and Type | Class and Description |
---|---|
static class |
OidLenSyntaxChecker.Builder
A static Builder for this class
|
SyntaxChecker.SCBuilder<SC>
Modifier and Type | Field and Description |
---|---|
static OidLenSyntaxChecker |
INSTANCE
A static instance of OidLenSyntaxChecker
|
serialVersionUID
Modifier and Type | Method and Description |
---|---|
static OidLenSyntaxChecker.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 OidLenSyntaxChecker INSTANCE
public static OidLenSyntaxChecker.Builder builder()
public boolean isValidSyntax(Object value)
isValidSyntax
in class SyntaxChecker
value
- the value of some attribute with the syntaxCopyright © 2003–2021 The Apache Software Foundation. All rights reserved.