public class DeliveryMethodSyntaxChecker extends SyntaxChecker
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Set<java.lang.String> |
DELIVERY_METHODS
The Set which contains the delivery methods
|
private static org.slf4j.Logger |
LOG
A logger for this class
|
private static java.lang.String[] |
PDMS |
serialVersionUIDdescription, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification| Constructor and Description |
|---|
DeliveryMethodSyntaxChecker()
Creates a new instance of DeliveryMethodSyntaxChecker.
|
| Modifier and Type | Method and Description |
|---|---|
private int |
isPdm(java.lang.String strValue,
int start,
java.util.Set<java.lang.String> pdms)
Check if the string contains a delivery method which has
not already been found.
|
boolean |
isValidSyntax(java.lang.Object value)
Determines if the attribute's value conforms to the attribute syntax.
|
equals, setSchemaManager, toStringcopy, getBytecode, getFqcn, isValid, setBytecode, setFqcnaddExtension, addExtension, addName, clear, compareOid, 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, unlockprivate static final org.slf4j.Logger LOG
private static final java.lang.String[] PDMS
private static final java.util.Set<java.lang.String> DELIVERY_METHODS
public DeliveryMethodSyntaxChecker()
private int isPdm(java.lang.String strValue,
int start,
java.util.Set<java.lang.String> pdms)
strValue - The string we want to look into for a PDMpos - The current position in the stringpdms - The set containing all the PDMpublic boolean isValidSyntax(java.lang.Object value)
isValidSyntax in class SyntaxCheckervalue - the value of some attribute with the syntax