public final class CountrySyntaxChecker extends SyntaxChecker
A value of the Country String syntax is one of the two-character codes from ISO 3166 [ISO3166] for representing a country.
Modifier and Type | Class and Description |
---|---|
static class |
CountrySyntaxChecker.Builder
A static Builder for this class
|
SyntaxChecker.SCBuilder<SC>
Modifier and Type | Field and Description |
---|---|
static CountrySyntaxChecker |
INSTANCE
A static instance of CountrySyntaxChecker
|
serialVersionUID
Modifier and Type | Method and Description |
---|---|
static CountrySyntaxChecker.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 CountrySyntaxChecker INSTANCE
public static CountrySyntaxChecker.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.