Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/main/java/org/xdoclet/plugin/struts/qtags
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31505/plugin-struts/src/main/java/org/xdoclet/plugin/struts/qtags
Modified Files:
StrutsActionExceptionTag.java StrutsActionForwardTag.java
StrutsActionSetPropertyTag.java StrutsDynaformFieldTag.java
StrutsDynaformTag.java StrutsFormFieldTag.java
StrutsFormTag.java StrutsValidatorTag.java
StrutsValidatorVarTag.java
Log Message:
Fixing new-line breakers, formatting with jalopy, minor changes..
Index: StrutsValidatorTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/main/java/org/xdoclet/plugin/struts/qtags/StrutsValidatorTag.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** StrutsValidatorTag.java 22 Jan 2005 15:33:17 -0000 1.2
--- StrutsValidatorTag.java 26 Apr 2005 07:23:31 -0000 1.3
***************
*** 1 ****
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* TDefines Struts Validator for current setter field. NOTE: If you're
generating forms from POJOs, this tag needs to be
* on the getter. It will be put on the setter in the generated Form.</br>
Applies to: Struts ValidatorForm
*
* @qtags.location method
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsValidatorTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* Validator type, such as "required"
*
* @qtags.required
*/
String getType();
/**
* Override key for the validator error message
*/
String getMsgkey();
/**
* Explicitly define a validator error message
*/
String getMsgvalue();
/**
* Only fields with a "page" attribute value that is equal to or less than
the page property on the form JavaBean
* are processed.
*/
String getPage();
/**
* Value of argument index 0
*/
String getArg0value();
/**
* Resource key of argument index 0
*/
String getArg0resource();
/**
* Value of argument index 1
*/
String getArg1value();
/**
* Resource key of argument index 1
*/
String getArg1resource();
/**
* Value of argument index 2
*/
String getArg2value();
/**
* Resource key of argument index 2
*/
String getArg2resource();
/**
* Value of argument index 3
*/
String getArg3value();
/**
* Resource key of argument index 3
*/
String getArg3resource();
}
\ No newline at end of file
--- 1 ----
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* TDefines Struts Validator for current setter field. NOTE: If you're
generating forms from POJOs, this tag needs to be
* on the getter. It will be put on the setter in the generated Form.</br>
Applies to: Struts ValidatorForm
*
* @qtags.location method
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsValidatorTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* Validator type, such as "required"
*
* @qtags.required
*/
String getType();
/**
* Override key for the validator error message
*/
String getMsgkey();
/**
* Explicitly define a validator error message
*/
String getMsgvalue();
/**
* Only fields with a "page" attribute value that is equal to or less than
the page property on the form JavaBean
* are processed.
*/
String getPage();
/**
* Value of argument index 0
*/
String getArg0value();
/**
* Resource key of argument index 0
*/
String getArg0resource();
/**
* Value of argument index 1
*/
String getArg1value();
/**
* Resource key of argument index 1
*/
String getArg1resource();
/**
* Value of argument index 2
*/
String getArg2value();
/**
* Resource key of argument index 2
*/
String getArg2resource();
/**
* Value of argument index 3
*/
String getArg3value();
/**
* Resource key of argument index 3
*/
String getArg3resource();
}
Index: StrutsDynaformTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/main/java/org/xdoclet/plugin/struts/qtags/StrutsDynaformTag.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** StrutsDynaformTag.java 22 Jan 2005 15:33:17 -0000 1.2
--- StrutsDynaformTag.java 26 Apr 2005 07:23:31 -0000 1.3
***************
*** 1 ****
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Defines a dynamic form bean and its attributes.
*
* @qtags.location class
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsDynaformTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* Define a unique name for the form.
*
* @qtags.required
*/
String getName_();
/**
* Define the class type of dynamic form.
*
* @qtags.required
*/
String getType();
/**
* Declare if this form should be validated. If set to true, the dynamic
form validation tag will iterate over this
* class and create the validation definition.
*/
Boolean getValidate();
}
\ No newline at end of file
--- 1 ----
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Defines a dynamic form bean and its attributes.
*
* @qtags.location class
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsDynaformTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* Define a unique name for the form.
*
* @qtags.required
*/
String getName_();
/**
* Define the class type of dynamic form.
*
* @qtags.required
*/
String getType();
/**
* Declare if this form should be validated. If set to true, the dynamic
form validation tag will iterate over this
* class and create the validation definition.
*/
Boolean getValidate();
}
Index: StrutsActionSetPropertyTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/main/java/org/xdoclet/plugin/struts/qtags/StrutsActionSetPropertyTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** StrutsActionSetPropertyTag.java 22 Jan 2005 15:36:37 -0000 1.3
--- StrutsActionSetPropertyTag.java 26 Apr 2005 07:23:31 -0000 1.4
***************
*** 1 ****
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Creates set-property tags for action blocks.
* Applies to: Struts Action.
*
* @qtags.location class
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsActionSetPropertyTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The name of the property to set.
*
* @qtags.required
*/
String getProperty();
/**
* The value to set the property.
*
* @qtags.required
*/
String getValue_();
}
\ No newline at end of file
--- 1 ----
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Creates set-property tags for action blocks.
* Applies to: Struts Action.
*
* @qtags.location class
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsActionSetPropertyTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The name of the property to set.
*
* @qtags.required
*/
String getProperty();
/**
* The value to set the property.
*
* @qtags.required
*/
String getValue_();
}
Index: StrutsFormFieldTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/main/java/org/xdoclet/plugin/struts/qtags/StrutsFormFieldTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** StrutsFormFieldTag.java 22 Jan 2005 15:36:37 -0000 1.3
--- StrutsFormFieldTag.java 26 Apr 2005 07:23:31 -0000 1.4
***************
*** 1 ****
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Include property in specific struts form.
* Applies to: property to be included.
*
* @qtags.location method
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsFormFieldTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* Specify the name of the form this field should belong to. Required if
"name" defined on
*
* @struts.form.
*/
String getFormName();
}
\ No newline at end of file
--- 1 ----
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Include property in specific struts form.
* Applies to: property to be included.
*
* @qtags.location method
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsFormFieldTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* Specify the name of the form this field should belong to. Required if
"name" defined on
*
* @struts.form.
*/
String getFormName();
}
Index: StrutsDynaformFieldTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/main/java/org/xdoclet/plugin/struts/qtags/StrutsDynaformFieldTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** StrutsDynaformFieldTag.java 22 Jan 2005 15:36:37 -0000 1.3
--- StrutsDynaformFieldTag.java 26 Apr 2005 07:23:31 -0000 1.4
***************
*** 1 ****
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Include property in specific struts form.
* Applies to: property to be included.
*
* @qtags.location method
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsDynaformFieldTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The name of the JavaBean property described by this element. Declare, if
you want to override the generated
* property name. Default is the method's name converted to a property name.
*/
String getName_();
/**
* Fully qualified Java class name of the field underlying this property,
optionally followed by "[]" to indicate
* that the field is indexed. Declare, if you want to override the
generated property type. Default is the method's
* return type.
*/
String getType();
/**
* String representation of the initial value for this property. If not
specified, primitives will be initialized to
* zero and objects initialized to the zero-argument instantiation of that
object class. For example, Strings will
* be initialized to "".
*/
String getInitial();
/**
* The number of array elements to create if the value of the "type"
attribute specifies an array, but there is no
* value specified for the "initial" attribute.
*/
String getSize();
}
\ No newline at end of file
--- 1 ----
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Include property in specific struts form.
* Applies to: property to be included.
*
* @qtags.location method
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsDynaformFieldTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The name of the JavaBean property described by this element. Declare, if
you want to override the generated
* property name. Default is the method's name converted to a property name.
*/
String getName_();
/**
* Fully qualified Java class name of the field underlying this property,
optionally followed by "[]" to indicate
* that the field is indexed. Declare, if you want to override the
generated property type. Default is the method's
* return type.
*/
String getType();
/**
* String representation of the initial value for this property. If not
specified, primitives will be initialized to
* zero and objects initialized to the zero-argument instantiation of that
object class. For example, Strings will
* be initialized to "".
*/
String getInitial();
/**
* The number of array elements to create if the value of the "type"
attribute specifies an array, but there is no
* value specified for the "initial" attribute.
*/
String getSize();
}
Index: StrutsFormTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/main/java/org/xdoclet/plugin/struts/qtags/StrutsFormTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** StrutsFormTag.java 22 Jan 2005 15:36:37 -0000 1.3
--- StrutsFormTag.java 26 Apr 2005 07:23:31 -0000 1.4
***************
*** 1 ****
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Defines a form bean and its attributes.
* Applies to: Entity beans and POJOs.
*
* @qtags.location class
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsFormTag extends com.thoughtworks.qdox.model.DocletTag {
/**
* Define a unique name for the form. If generating a form using this tag,
this attribute is not necessary. The
* className+Form will be used (i.e. Address -> addressForm).
*
* @qtags.required
*/
String getName_();
/**
* Define which class the generated form must extend.
*/
String getExtends();
/**
* Define which interface the generated form must implement.
*/
String getImplements();
/**
* Whether to include pk field in form. Default is true. If set to false,
individual pk fields can still be
* included.
*
* @qtags.default true
*/
Boolean getIncludePk();
/**
* Whether to include all persistent fields in form. Default is false.
Default value(s):
*
* @qtags.default false
*/
Boolean getIncludeAll();
}
\ No newline at end of file
--- 1 ----
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Defines a form bean and its attributes.
* Applies to: Entity beans and POJOs.
*
* @qtags.location class
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsFormTag extends com.thoughtworks.qdox.model.DocletTag {
/**
* Define a unique name for the form. If generating a form using this tag,
this attribute is not necessary. The
* className+Form will be used (i.e. Address -> addressForm).
*
* @qtags.required
*/
String getName_();
/**
* Define which class the generated form must extend.
*/
String getExtends();
/**
* Define which interface the generated form must implement.
*/
String getImplements();
/**
* Whether to include pk field in form. Default is true. If set to false,
individual pk fields can still be
* included.
*
* @qtags.default true
*/
Boolean getIncludePk();
/**
* Whether to include all persistent fields in form. Default is false.
Default value(s):
*
* @qtags.default false
*/
Boolean getIncludeAll();
}
Index: StrutsValidatorVarTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/main/java/org/xdoclet/plugin/struts/qtags/StrutsValidatorVarTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** StrutsValidatorVarTag.java 22 Jan 2005 15:36:37 -0000 1.3
--- StrutsValidatorVarTag.java 26 Apr 2005 07:23:31 -0000 1.4
***************
*** 1 ****
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Defines Struts Validator variable.
* Applies to: Struts ValidatorForm
*
* @qtags.location method
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsValidatorVarTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* Variable name.
*
* @qtags.required
*/
String getName_();
/**
* Variable value.
*
* @qtags.required
*/
String getValue_();
}
\ No newline at end of file
--- 1 ----
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Defines Struts Validator variable.
* Applies to: Struts ValidatorForm
*
* @qtags.location method
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsValidatorVarTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* Variable name.
*
* @qtags.required
*/
String getName_();
/**
* Variable value.
*
* @qtags.required
*/
String getValue_();
}
Index: StrutsActionForwardTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/main/java/org/xdoclet/plugin/struts/qtags/StrutsActionForwardTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** StrutsActionForwardTag.java 22 Jan 2005 15:36:37 -0000 1.3
--- StrutsActionForwardTag.java 26 Apr 2005 07:23:31 -0000 1.4
***************
*** 1 ****
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Defines local forwards for a Struts action class.
* Applies to: Struts Action.
*
* @qtags.location class
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsActionForwardTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The name of the forward
*
* @qtags.required
*/
String getName_();
/**
* The path of the forward
*
* @qtags.required
*/
String getPath();
/**
* Whether the browser should be redirected to the specified location.
*/
Boolean getRedirect();
}
\ No newline at end of file
--- 1 ----
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Defines local forwards for a Struts action class.
* Applies to: Struts Action.
*
* @qtags.location class
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsActionForwardTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The name of the forward
*
* @qtags.required
*/
String getName_();
/**
* The path of the forward
*
* @qtags.required
*/
String getPath();
/**
* Whether the browser should be redirected to the specified location.
*/
Boolean getRedirect();
}
Index: StrutsActionExceptionTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/main/java/org/xdoclet/plugin/struts/qtags/StrutsActionExceptionTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** StrutsActionExceptionTag.java 22 Jan 2005 15:36:37 -0000 1.3
--- StrutsActionExceptionTag.java 26 Apr 2005 07:23:31 -0000 1.4
***************
*** 1 ****
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Defines the action specific exception handling.
* Applies to: Struts Action.
*
* @qtags.location class
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsActionExceptionTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The key to use with this handler's message resource bundle that will
retrieve the error message template for this
* exception.
*
* @qtags.required
*/
String getKey();
/**
* Fully qualified Java class name of the exception type to register with
this handler.
*
* @qtags.required
*/
String getType();
/**
* The configuration bean for this ExceptionHandler object. If specified,
className must be a subclass of the
* default configuration bean.
*/
String getClassName();
/**
* Fully qualified Java class name for this exception handler.
*/
String getHandler();
/**
* The module-relative URI to the resource that will complete the
request/response if this exception occurs.
*/
String getPath();
/**
* The context ("request" or "session") that is used to access the
ActionError object
* [org.apache.struts.action.ActionError] for this exception.
*
* @qtags.allowed-value request
* @qtags.allowed-value session
*/
String getScope();
}
\ No newline at end of file
--- 1 ----
! /*
* Copyright (c) 2004
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.qtags;
/**
* Defines the action specific exception handling.
* Applies to: Struts Action.
*
* @qtags.location class
* @author Alexandre Martins
* @author Konstantin Pribluda
*/
public interface StrutsActionExceptionTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The key to use with this handler's message resource bundle that will
retrieve the error message template for this
* exception.
*
* @qtags.required
*/
String getKey();
/**
* Fully qualified Java class name of the exception type to register with
this handler.
*
* @qtags.required
*/
String getType();
/**
* The configuration bean for this ExceptionHandler object. If specified,
className must be a subclass of the
* default configuration bean.
*/
String getClassName();
/**
* Fully qualified Java class name for this exception handler.
*/
String getHandler();
/**
* The module-relative URI to the resource that will complete the
request/response if this exception occurs.
*/
String getPath();
/**
* The context ("request" or "session") that is used to access the
ActionError object
* [org.apache.struts.action.ActionError] for this exception.
*
* @qtags.allowed-value request
* @qtags.allowed-value session
*/
String getScope();
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits