|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.schema.AcceptAllSyntaxChecker
public class AcceptAllSyntaxChecker
A SyntaxChecker implementation which accepts all values as valid.
Constructor Summary | |
---|---|
AcceptAllSyntaxChecker(String oid)
Creates a SyntaxChecker which accepts all values. |
Method Summary | |
---|---|
void |
assertSyntax(Object value)
Does nothing but return immediately and no exceptions are ever thrown. |
String |
getSyntaxOid()
Gets the OID of the attribute syntax. |
boolean |
isValidSyntax(Object a_value)
Returns true every time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AcceptAllSyntaxChecker(String oid)
oid
- the oid of the Syntax this checker is associated withMethod Detail |
---|
public String getSyntaxOid()
SyntaxChecker
getSyntaxOid
in interface SyntaxChecker
SyntaxChecker.getSyntaxOid()
public boolean isValidSyntax(Object a_value)
isValidSyntax
in interface SyntaxChecker
a_value
- the value of some attribute with the syntax
SyntaxChecker.isValidSyntax(Object)
public void assertSyntax(Object value) throws NamingException
assertSyntax
in interface SyntaxChecker
value
- the value of some attribute with the syntax
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 |