[CJ-dev] commonjava-projects/commonjava-opl/projects/opl-xdoclet/src/java/org/commonjava/opl/xdoclet
Brought to you by:
johnqueso
Update of /cvsroot/commonjava/commonjava-projects/commonjava-opl/projects/opl-xdoclet/src/java/org/commonjava/opl/xdoclet/qtags In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15540/projects/opl-xdoclet/src/java/org/commonjava/opl/xdoclet/qtags Modified Files: OplAttributeTag.java Added Files: OplPropertiesContainerTag.java Log Message: enhanced/fixed the generation of NodeParsers. --- NEW FILE: OplPropertiesContainerTag.java --- /* Created on Mar 7, 2004 */ package org.commonjava.opl.xdoclet.qtags; import com.thoughtworks.qdox.model.DocletTag; /** Signifies a parser which implements PropertiesContainer, and can contribute to here-to-downstream * attribute value resolution. Should lead to addition of PropertiesContainer implements clause, along * with get/setProperties(java.util.Properties) methods. * * @author John Casey */ public interface OplPropertiesContainerTag extends DocletTag { /** * @qtags.default * @qtags.parameter default="false" * @qtags.parameter allowed-value="true" * @qtags.parameter allowed-value="false" */ String getDelegate(); } Index: OplAttributeTag.java =================================================================== RCS file: /cvsroot/commonjava/commonjava-projects/commonjava-opl/projects/opl-xdoclet/src/java/org/commonjava/opl/xdoclet/qtags/OplAttributeTag.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- OplAttributeTag.java 8 Mar 2004 14:36:34 -0000 1.1 +++ OplAttributeTag.java 8 Mar 2004 23:06:41 -0000 1.2 @@ -31,6 +31,11 @@ */ String getExtractor(); + /** One line of code to validate the value of the attribute, and return a boolean for whether this + * value is valid. + */ + String getValidator(); + /** Set whether this attribute must be extracted before children can be parsed. * @qtags.parameter default="false" * @qtags.parameter allowed-value="true" |