|
||||||||||
| 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.NumberSyntaxChecker
public class NumberSyntaxChecker
A SyntaxChecker which verifies that a value is a Number according to RFC 4512. From RFC 4512 : number = DIGIT | ( LDIGIT 1*DIGIT ) DIGIT = %x30 | LDIGIT ; "0"-"9" LDIGIT = %x31-39 ; "1"-"9"
| Constructor Summary | |
|---|---|
|
NumberSyntaxChecker()
Creates a new instance of NumberSyntaxChecker. |
protected |
NumberSyntaxChecker(java.lang.String oid)
Creates a new instance of NumberSyntaxChecker. |
| 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 NumberSyntaxChecker()
protected NumberSyntaxChecker(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 | |||||||||