// check first to see if it is present in the subschemaSubentry
// -------------------------------------------------------------------
Attributes attrs = getSubschemaSubentryAttributes();
Attribute attrTypes = attrs.get( "syntaxCheckers" );
SyntaxCheckerDescription syntaxCheckerDescription = null;
for ( int i = 0; i < attrTypes.size(); i++ )
{
String desc = ( String ) attrTypes.get( i );
if ( desc.indexOf( oid ) != -1 )
{
syntaxCheckerDescription = SYNTAX_CHECKER_DESCRIPTION_SCHEMA_PARSER.parseSyntaxCheckerDescription( desc );
break;
}
}
if ( isPresent )
{
assertNotNull( syntaxCheckerDescription );
assertEquals( oid, syntaxCheckerDescription.getOid() );
}
else
{
assertNull( syntaxCheckerDescription );
}