Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/qtags
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28120/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/qtags

Added Files:
        TapestryInjectMetaTag.java TapestryInjectObjectTag.java 
        TapestryInjectPageTag.java TapestryInjectScriptTag.java 
        TapestryInjectStateTag.java 
Log Message:
Added shortcut tags for object injection (similar to T4 Annotations).

--- NEW FILE: TapestryInjectPageTag.java ---
/*
 * Copyright (c) 2003-2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.tapestry.qtags;

/**
 * This is just a shortcut for the inject tag.
 * It sets type to page and gets the property name from the method.
 * (if the method is getXxx() the property is set to xxx)
 *
 * @qtags.location method
 * @author Paolo Donà
 */
public interface TapestryInjectPageTag extends 
com.thoughtworks.qdox.model.DocletTag {
    /**
     * The locator used to obtain the value
     * @qtags.required
     */
    String getObject();
}
--- NEW FILE: TapestryInjectScriptTag.java ---
/*
 * Copyright (c) 2003-2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.tapestry.qtags;

/**
 * This is just a shortcut for the inject tag.
 * It sets the type to "script"
 * and gets the property name from the method.
 * (if the method is getXxx() the property is set to xxx)
 *
 * @qtags.location method
 * @author Paolo Donà
 */
public interface TapestryInjectScriptTag extends 
com.thoughtworks.qdox.model.DocletTag {
    /**
     * The locator used to obtain the state object
     * @qtags.required
     */
    String getObject();
}
--- NEW FILE: TapestryInjectMetaTag.java ---
/*
 * Copyright (c) 2003-2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.tapestry.qtags;

/**
 * This is just a shortcut for the inject tag.
 * It sets type to "meta" and gets the property name from the method.
 * (if the method is getXxx() the property is set to xxx)
 *
 * @qtags.location method
 * @author Paolo Donà
 */
public interface TapestryInjectMetaTag extends 
com.thoughtworks.qdox.model.DocletTag {
    /**
     * The locator used to obtain the state object
     * @qtags.required
     */
    String getObject();
}
--- NEW FILE: TapestryInjectStateTag.java ---
/*
 * Copyright (c) 2003-2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.tapestry.qtags;

/**
 * This is just a shortcut for the inject tag.
 * It sets type to "state" and gets the property name from the method.
 * (if the method is getXxx() the property is set to xxx)
 *
 * @qtags.location method
 * @author Paolo Donà
 */
public interface TapestryInjectStateTag extends 
com.thoughtworks.qdox.model.DocletTag {
    /**
     * The locator used to obtain the state object
     * @qtags.required
     */
    String getObject();
}
--- NEW FILE: TapestryInjectObjectTag.java ---
/*
 * Copyright (c) 2003-2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.tapestry.qtags;

/**
 * This is just a shortcut for the inject tag.
 * It doesn't set the type attribute (defaults to object)
 * and gets the property name from the method.
 * (if the method is getXxx() the property is set to xxx)
 *
 * @qtags.location method
 * @author Paolo Donà
 */
public interface TapestryInjectObjectTag extends 
com.thoughtworks.qdox.model.DocletTag {
    /**
     * The locator used to obtain the state object
     * @qtags.required
     */
    String getObject();
}


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to