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>
serialVersionUID
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, 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 RegexSyntaxChecker.Builder builder()
public boolean isValidSyntax(Object value)
isValidSyntax
in class SyntaxChecker
value
- the value of some attribute with the syntaxpublic String[] getExpressions()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.