Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-xwork/src/main/java/org/xdoclet/plugin/xwork/qtags
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12273/src/main/java/org/xdoclet/plugin/xwork/qtags
Modified Files:
XworkActionTag.java XworkInterceptorRefTag.java
XworkResultTag.java
Added Files:
XworkExceptionMappingTag.java XworkParamTag.java
Removed Files:
XworkInterceptorRefParamTag.java XworkResultParamTag.java
Log Message:
action mapping plugin is ready to be testeed
--- XworkResultParamTag.java DELETED ---
Index: XworkActionTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-xwork/src/main/java/org/xdoclet/plugin/xwork/qtags/XworkActionTag.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** XworkActionTag.java 28 Nov 2004 22:32:13 -0000 1.2
--- XworkActionTag.java 12 Apr 2006 18:18:11 -0000 1.3
***************
*** 1,4 ****
/*
! * Copyright (c) 2003
* XDoclet Team
* All rights reserved.
--- 1,4 ----
/*
! * Copyright (c) 2003-2006
* XDoclet Team
* All rights reserved.
***************
*** 9,17 ****
/**
! * Declares a xwork action
*
* @qtags.location class
! *
* @author Jose Peleteiro
* @version $Revision$
*/
--- 9,24 ----
/**
! * Declares a xwork action. Action can be whole class or even single method
! * ( public String () ) can be used as action. Specifying action on class will
! * imply execute() method. Specifying action on method will use this method
! * name. receives parameters
! *
! * Several tags are alowed on same method / class for different packages.
*
* @qtags.location class
! * @qtags.location method
! *
* @author Jose Peleteiro
+ * @author Konstantin Pribluda
* @version $Revision$
*/
***************
*** 27,33 ****
/**
* Specifies the package namespace which this action declaration belongs.
! *
! * @qtags.default
*/
! String getNamespace();
}
\ No newline at end of file
--- 34,42 ----
/**
* Specifies the package namespace which this action declaration belongs.
! * if no package is declared, action will be included in any case.
*/
! String getPackage();
!
!
!
}
\ No newline at end of file
Index: XworkInterceptorRefTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-xwork/src/main/java/org/xdoclet/plugin/xwork/qtags/XworkInterceptorRefTag.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** XworkInterceptorRefTag.java 28 Nov 2004 22:32:13 -0000 1.2
--- XworkInterceptorRefTag.java 12 Apr 2006 18:18:12 -0000 1.3
***************
*** 9,15 ****
/**
! * Declares a interceptor-ref.
*
* @qtags.location class
*
* @author Jose Peleteiro
--- 9,16 ----
/**
! * Declares a interceptor-ref. applies to preceding action tag. can receive
parameters
*
* @qtags.location class
+ * @qtags.location method
*
* @author Jose Peleteiro
***************
*** 25,31 ****
String getName_();
- /**
- * Defines a not parametrized value.
- */
- String getValue_();
}
\ No newline at end of file
--- 26,28 ----
--- XworkInterceptorRefParamTag.java DELETED ---
Index: XworkResultTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-xwork/src/main/java/org/xdoclet/plugin/xwork/qtags/XworkResultTag.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** XworkResultTag.java 28 Nov 2004 22:32:13 -0000 1.2
--- XworkResultTag.java 12 Apr 2006 18:18:12 -0000 1.3
***************
*** 9,16 ****
/**
! * Declares an action result
* @qtags.location class
*
* @author Jose Peleteiro
* @version $Revision$
*/
--- 9,18 ----
/**
! * Declares an action result. applies to preceding action. receives
parameters
* @qtags.location class
+ * @qtags.location method
*
* @author Jose Peleteiro
+ * @author Konstantin Pribluda
* @version $Revision$
*/
***************
*** 19,23 ****
/**
* Defines the result name. Usualy success, error, input or login.
! * @qtags.required
*/
String getName_();
--- 21,25 ----
/**
* Defines the result name. Usualy success, error, input or login.
! * If result is not specified, xwork will assume that "success" is meant
*/
String getName_();
***************
*** 26,30 ****
* Defines the result type.
*/
! String getType_();
/**
--- 28,32 ----
* Defines the result type.
*/
! String getType();
/**
--- NEW FILE: XworkExceptionMappingTag.java ---
package org.xdoclet.plugin.xwork.qtags;
import com.thoughtworks.qdox.model.DocletTag;
/**
* declarees action exception mapping. applies to preceeding action tag
* @author ko5tik
* @qtags.location class
* @qtags.location method
*/
public interface XworkExceptionMappingTag extends DocletTag {
/**
* class name of exception
* @qtags.required
* @return
*/
String getException();
/**
* action result to be used
* @qtags.required
* @return
*/
String getResult();
}
--- NEW FILE: XworkParamTag.java ---
/*
* Copyright (c) 2003-2006
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.xwork.qtags;
import com.thoughtworks.qdox.model.DocletTag;
/**
* declares parameter in various places ( action, result, interceptor ref ).
* applies to preceding tag
* @qtags.location class
* @qtags.location method
*
* @author Konstantin Pribluda
* @version $Revision: 1.1 $
*/
public interface XworkParamTag extends DocletTag {
/**
* parameter name
* @qtags.required
* @return
*/
String getName_();
/**
* parameter value.
* @qtags.required
* @return
*/
String getValue_();
}
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits