Permalink
Browse files

Adding a generated by comment

  • Loading branch information...
1 parent ea87e46 commit 34acc83a67f2f77541c447638b32b84b6442d420 attonnnn committed Oct 5, 2010
@@ -90,7 +90,10 @@ public void write(Taglib taglib) throws IOException
xstream.autodetectAnnotations(true);
writer.write(TapestryTldGenConstants.XML_HEADER_ENCODING);
-
+ writer.write("\n");
+ writer.write(TapestryTldGenConstants.GENERATED_BY);
+ writer.write("\n");
+
ppwriter = new PrettyPrintWriter(writer, PrettyPrintWriter.XML_1_1, new char[]
{ ' ', ' ' });
@@ -38,6 +38,12 @@
*/
public static final String XML_HEADER_ENCODING = "<?xml version=\"1.0\" encoding=\"" + TLD_ENCODING + "\" ?>";
+ /**
+ * Text displaying a generated by comment
+ */
+ public static final String GENERATED_BY = "<!-- Generated by tapestry-tldgen - http://exanpe.free.fr/tapestry-tldgen/-->";
+
+
/**
* xmlns for &lt;taglib&gt; tag
*/
@@ -83,4 +89,5 @@
* Text displayed when no description has been found
*/
public static final String NO_DESCRIPTION = "No description found";
+
}

0 comments on commit 34acc83

Please sign in to comment.