public final class DeliveryMethodSyntaxChecker extends SyntaxChecker
DeliveryMethod = pdm *( WSP DOLLAR WSP pdm )
pdm = "any" | "mhs" | "physical" | "telex" | "teletex" |
"g3fax" | "g4fax" | "ia5" | "videotex" | "telephone"
WSP = 0*SPACE ; zero or more " "
DOLLAR = %x24 ; dollar sign ("$")
SPACE = %x20 ; space (" ")
| Modifier and Type | Class and Description |
|---|---|
static class |
DeliveryMethodSyntaxChecker.Builder
A static Builder for this class
|
SyntaxChecker.SCBuilder<SC>| Modifier and Type | Field and Description |
|---|---|
private static Set<String> |
DELIVERY_METHODS
The Set which contains the delivery methods
|
static DeliveryMethodSyntaxChecker |
INSTANCE
A static instance of DeliveryMethodSyntaxChecker
|
private static String[] |
PDMS |
LOG, serialVersionUIDdescription, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification| Modifier | Constructor and Description |
|---|---|
private |
DeliveryMethodSyntaxChecker(String oid)
Creates a new instance of DeliveryMethodSyntaxChecker.
|
| Modifier and Type | Method and Description |
|---|---|
static DeliveryMethodSyntaxChecker.Builder |
builder() |
private int |
isPdm(String strValue,
int start,
Set<String> pdms)
Check if the string contains a delivery method which has
not already been found.
|
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[] PDMS
private static final Set<String> DELIVERY_METHODS
public static final DeliveryMethodSyntaxChecker INSTANCE
private DeliveryMethodSyntaxChecker(String oid)
oid - The OID to use for this SyntaxCheckerpublic static DeliveryMethodSyntaxChecker.Builder builder()
private int isPdm(String strValue, int start, Set<String> pdms)
strValue - The string we want to look into for a PDMstart - The current position in the stringpdms - The set containing all the PDMpublic boolean isValidSyntax(Object value)
isValidSyntax in class SyntaxCheckervalue - the value of some attribute with the syntaxCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.