View Javadoc
1 package xdoclet.sdk.xtag; 2 3 import xdoclet.plugins.JellyPlugin; 4 import xdoclet.util.predicates.IsA; 5 import xdoclet.util.predicates.And; 6 import xdoclet.util.predicates.ReflectionPredicate; 7 8 /*** 9 * Generates tag documentation from Tag classes (subclasses of 10 * {@link xjavadoc.DefaultXTag}. The default output format is xdoc format 11 * to be post-processed by Maven. 12 * 13 * @bean.class 14 * name="tagdoc" 15 * displayName="tagdoc" 16 * shortDescription="Generates tag documentation from tag classes." 17 * 18 * @bean.attribute name="xdoclet-class" value="xdoclet.XDoclet" 19 * 20 * @author <a href="mailto:aslak.hellesoy at bekk.no">Aslak Hellesøy</a> 21 * @version $Revision: 1.6 $ 22 */ 23 public class XTagDocPlugin extends JellyPlugin { 24 public XTagDocPlugin() { 25 And concreteTag = new And(); 26 concreteTag.add(new IsA("xjavadoc.XTag")); 27 concreteTag.add(new ReflectionPredicate("!isAbstract")); 28 createAccept().setPredicate(concreteTag); 29 setTemplatePath("xdoclet/sdk/xtag/XTagDoc.jelly"); 30 setFileName("{1}.{0}.tag.xml"); 31 } 32 }

This page was automatically generated by Maven