|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.schema.syntax.AbstractSyntaxChecker
org.apache.directory.shared.ldap.schema.syntax.BooleanSyntaxChecker
public class BooleanSyntaxChecker
A SyntaxChecker which verifies that a value is a Boolean according to RFC 4517. From RFC 4517 : Boolean = "TRUE" / "FALSE"
Constructor Summary | |
---|---|
|
BooleanSyntaxChecker()
Creates a new instance of BooleanSyntaxChecker. |
protected |
BooleanSyntaxChecker(java.lang.String oid)
Creates a new instance of BooleanSyntaxChecker. |
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.syntax.AbstractSyntaxChecker |
---|
assertSyntax, getSyntaxOid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BooleanSyntaxChecker()
protected BooleanSyntaxChecker(java.lang.String oid)
oid
- the oid to associate with this new SyntaxCheckerMethod 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 |