public final class RegexSyntaxChecker extends SyntaxChecker
| Modifier and Type | Class and Description |
|---|---|
static class |
RegexSyntaxChecker.Builder
A static Builder for this class
|
SyntaxChecker.SCBuilder<SC>| Modifier and Type | Field and Description |
|---|---|
private String[] |
expressions
the set of regular expressions
|
LOG, serialVersionUIDdescription, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification| Modifier | Constructor and Description |
|---|---|
private |
RegexSyntaxChecker(String oid,
String[] matchExprArray)
Creates a Syntax validator for a specific Syntax using Perl5 matching
rules for validation.
|
| Modifier and Type | Method and Description |
|---|---|
static RegexSyntaxChecker.Builder |
builder() |
String[] |
getExpressions()
Get the list of regexp stored into this SyntaxChecker
|
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 String[] expressions
public static RegexSyntaxChecker.Builder builder()
public boolean isValidSyntax(Object value)
isValidSyntax in class SyntaxCheckervalue - the value of some attribute with the syntaxpublic String[] getExpressions()
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.