|
||||||||||
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
public abstract class AbstractSyntaxChecker
The abstrcat class implementing common operations for the syntax checking.
Constructor Summary | |
---|---|
protected |
AbstractSyntaxChecker(java.lang.String oid)
Creates a new instance of AbstractSyntaxChecker. |
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 this SyntaxChecker. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.directory.shared.ldap.schema.syntax.SyntaxChecker |
---|
isValidSyntax |
Constructor Detail |
---|
protected AbstractSyntaxChecker(java.lang.String oid)
oid
- The inherited class OIDMethod Detail |
---|
public java.lang.String getSyntaxOid()
getSyntaxOid
in interface SyntaxChecker
public void assertSyntax(java.lang.Object value) throws javax.naming.NamingException
SyntaxChecker
assertSyntax
in interface SyntaxChecker
value
- the value of some attribute with the syntax
javax.naming.NamingException
- if the value does not conform to the attribute syntax.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |