package org.codehaus.modello.metadata;

/*
 * LICENSE
 */

import org.codehaus.modello.AbstractLogEnabled;
import org.codehaus.modello.Model;
import org.codehaus.modello.ModelClass;
import org.codehaus.modello.ModelField;

/**
 * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
 * @version $Id$
 */
public abstract class AbstractMetaDataPlugin
    extends AbstractLogEnabled
    implements MetaDataPlugin
{
    public MetaData getModelMetaData( Model model )
    {
        return null;
    }

    public MetaData getClassMetaData( ModelClass clazz )
    {
        return null;
    }

    public MetaData getFieldMetaData( ModelField field )
    {
        return null;
    }
}

@@ -214,16 +214,85 @@
 elField;
+%0Aimport org.codehaus.modello.ModelloException;%0A%0Aimport java.util.Map;
 %0A%0A/**%0A *
@@ -756,11 +756,402 @@
 l;%0A    %7D
+%0A%0A    public Map getModelMap( Model model, MetaData metaData )%0A        throws ModelloException%0A    %7B%0A        return null;%0A    %7D%0A%0A    public Map getClassMap( ModelClass clazz, MetaData metaData )%0A        throws ModelloException%0A    %7B%0A        return null;%0A    %7D%0A%0A    public Map getFieldMap( ModelField field, MetaData metaData )%0A        throws ModelloException%0A    %7B%0A        return null;%0A    %7D
 %0A%7D%0A

Add default implementation