}
else
{
setParameter( parameters, "type", type );
}
return new Attribute( "dna.configuration", parameters );
}
else if( name.equals( "phoenix:dependency" ) )
{
final Properties parameters = new Properties();
final String key = attribute.getParameter( "role", null );
final String type = attribute.getParameter( "name", null );
setParameter( parameters, "type", type );
setParameter( parameters, "key", key );
return new Attribute( "dna.dependency", parameters );
}
else if( name.equals( "phoenix:mx-operation" ) )
{
final DocletTag descriptionTag =
method.getTagByName( "phoenix:mx-description" );
final String description;
if( null != descriptionTag )
{
description = descriptionTag.getValue();
}
else
{
description = method.getComment();
}
final Properties parameters = new Properties();
setParameter( parameters, "description", description );
return new Attribute( "mx.operation", parameters );
}
if( name.equals( "phoenix:mx-attribute" ) )
{
final DocletTag descriptionTag =
method.getTagByName( "phoenix:mx-description" );
final String description;
if( null != descriptionTag )
{
description = descriptionTag.getValue();
}
else
{
description = method.getComment();
}
final Properties parameters = new Properties();
setParameter( parameters, "description", description );
return new Attribute( "mx.attribute", parameters );
}
else if( name.equals( "phoenix:mx-description" ) )
{
return null;
}