|
||||||||||
| 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.JavaByteSyntaxChecker
public class JavaByteSyntaxChecker
A SyntaxChecker which verifies that a value is a valid Java primitive short or the Short wrapper. Essentially this constrains the min and max values of the Integer. From RFC 4517 : Integer = ( HYPHEN LDIGIT *DIGIT ) | number From RFC 4512 : number = DIGIT | ( LDIGIT 1*DIGIT ) DIGIT = %x30 | LDIGIT ; "0"-"9" LDIGIT = %x31-39 ; "1"-"9" HYPHEN = %x2D ; hyphen ("-")
| Constructor Summary | |
|---|---|
|
JavaByteSyntaxChecker()
Creates a new instance of JavaByteSyntaxChecker. |
protected |
JavaByteSyntaxChecker(java.lang.String oid)
Creates a new instance of JavaByteSyntaxChecker. |
| 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 JavaByteSyntaxChecker()
protected JavaByteSyntaxChecker(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 | |||||||||