|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.schema.AbstractSyntaxChecker
org.apache.directory.shared.ldap.schema.syntaxes.CountrySyntaxChecker
public class CountrySyntaxChecker
A SyntaxChecker which verifies that a value is a country according to RFC 4517. From RFC 4517 : A value of the Country String syntax is one of the two-character codes from ISO 3166 [ISO3166] for representing a country.
| Constructor Summary | |
|---|---|
|
CountrySyntaxChecker()
Creates a new instance of CountrySyntaxChecker. |
protected |
CountrySyntaxChecker(java.lang.String oid)
Creates a new instance of CountrySyntaxChecker. |
| Method Summary | |
|---|---|
boolean |
isValidSyntax(java.lang.Object value)
Determines if the attribute's value conforms to the attribute syntax. |
| Methods inherited from class org.apache.directory.shared.ldap.schema.AbstractSyntaxChecker |
|---|
assertSyntax, getSyntaxOid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CountrySyntaxChecker()
protected CountrySyntaxChecker(java.lang.String oid)
oid - the oid to associate with this new SyntaxChecker| Method Detail |
|---|
public boolean isValidSyntax(java.lang.Object value)
SyntaxChecker
value - the value of some attribute with the syntax
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||