throws JellyException
{
if ( name.equals( "tagdef" ) )
{
return new TagScript( new TagFactory()
{
public Tag createTag( String name, Attributes attributes )
{
return new TagDefTag( JeezTagLibrary.this );
}
} );
}
if ( name.equals( "target" ) )
{
return new TagScript( new TagFactory()
{
public Tag createTag( String name, Attributes attributes )
{
return new TargetTag();
}
} );
}
TagScript script = werkzTagLib.createTagScript( name, attrs );
if ( script == null )
{
script = antTagLib.createCustomTagScript( name, attrs );
if ( script == null )
{
return new TagScript( new TagFactory()
{
public Tag createTag( String name, Attributes attributes )
throws JellyException
{
// lets try create a dynamic tag first