public final class ObjectNameSyntaxChecker extends SyntaxChecker
<m-name> = <keystring>
<keystring> = <leadkeychar> *<keychar>
<leadkeychar> = <ALPHA>
<keychar> = <ALPHA> / <DIGIT> / <HYPHEN> / <SEMI>
<ALPHA> = %x41-5A / %x61-7A ; "A"-"Z" / "a"-"z"
<DIGIT> = %x30 / <LDIGIT ; "0"-"9"
<LDIGIT> = %x31-39 ; "1"-"9"
<HYPHEN> = %x2D ; hyphen ("-")
<SEMI> = %x3B ; semicolon (";")
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectNameSyntaxChecker.Builder
A static Builder for this class
|
SyntaxChecker.SCBuilder<SC>| Modifier and Type | Field and Description |
|---|---|
static ObjectNameSyntaxChecker |
INSTANCE
A static instance of ObjectNameSyntaxChecker
|
private static Pattern |
PATTERN |
private static String |
REGEXP |
LOG, serialVersionUIDdescription, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification| Modifier | Constructor and Description |
|---|---|
private |
ObjectNameSyntaxChecker(String oid)
Creates a new instance of ObjectNameSyntaxChecker.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectNameSyntaxChecker.Builder |
builder() |
boolean |
isValidSyntax(Object value)
Determines if the attribute's value conforms to the attribute syntax.
|
equals, setSchemaManager, toStringcopy, getBytecode, getFqcn, hashCode, isValid, setBytecode, setFqcnaddExtension, addExtension, addName, clear, compareOid, computeHashCode, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlockprivate static final String REGEXP
private static final Pattern PATTERN
public static final ObjectNameSyntaxChecker INSTANCE
private ObjectNameSyntaxChecker(String oid)
oid - The OID to use for this SyntaxCheckerpublic static ObjectNameSyntaxChecker.Builder builder()
public boolean isValidSyntax(Object value)
isValidSyntax in class SyntaxCheckervalue - the value of some attribute with the syntaxCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.