|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.directory.shared.ldap.schema.DnSyntaxChecker
A distinguished name syntax checker.
| Constructor Summary | |
DnSyntaxChecker(java.lang.String oid)
Creates a SyntaxChecker for a DN based Syntax that uses a distinguished name parser. |
|
| Method Summary | |
void |
assertSyntax(java.lang.Object value)
Asserts whether or not the attribute's value conforms to the attribute syntax. |
java.lang.String |
getSyntaxOid()
Gets the OID of the attribute syntax. |
boolean |
isValidSyntax(java.lang.Object value)
Determines if the attribute's value conforms to the attribute syntax. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DnSyntaxChecker(java.lang.String oid)
throws javax.naming.NamingException
oid - the OID of the syntax| Method Detail |
public java.lang.String getSyntaxOid()
SyntaxChecker
getSyntaxOid in interface SyntaxCheckerSyntaxChecker.getSyntaxOid()public boolean isValidSyntax(java.lang.Object value)
SyntaxChecker
isValidSyntax in interface SyntaxCheckervalue - the value of some attribute with the syntax
SyntaxChecker.isValidSyntax(Object)
public void assertSyntax(java.lang.Object value)
throws javax.naming.NamingException
SyntaxChecker
assertSyntax in interface SyntaxCheckervalue - the value of some attribute with the syntax
javax.naming.NamingException - if the value does not conform to the attribute syntax.SyntaxChecker.assertSyntax(Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||