|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.schema.BinarySyntaxChecker
A binary value (universal value acceptor) syntax checker.
Field Summary | |
static SyntaxChecker |
INSTANCE
an instance so we don't have to create one every time |
static java.lang.String |
OID
the Apache assigned internal OID for this syntax checker |
Method Summary | |
void |
assertSyntax(java.lang.Object value)
Asserts whether or not the attribute's value conforms to the attribute syntax. |
static SyntaxChecker |
getSingletonInstance()
Gets the singleton instance for this class. |
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 |
Field Detail |
public static final SyntaxChecker INSTANCE
public static final java.lang.String OID
Method Detail |
public static SyntaxChecker getSingletonInstance()
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.SyntaxChecker.assertSyntax(Object)
public java.lang.String getSyntaxOid()
SyntaxChecker
getSyntaxOid
in interface SyntaxChecker
SyntaxChecker.getSyntaxOid()
public boolean isValidSyntax(java.lang.Object value)
SyntaxChecker
isValidSyntax
in interface SyntaxChecker
value
- the value of some attribute with the syntax
SyntaxChecker.isValidSyntax(Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |