You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/08/08 18:33:24 UTC
svn commit: r429717 -
/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/generation/LenyaMetaDataGenerator.java
Author: andreas
Date: Tue Aug 8 09:33:24 2006
New Revision: 429717
URL: http://svn.apache.org/viewvc?rev=429717&view=rev
Log:
[minor change] improved javadocs
Modified:
lenya/trunk/src/java/org/apache/lenya/cms/cocoon/generation/LenyaMetaDataGenerator.java
Modified: lenya/trunk/src/java/org/apache/lenya/cms/cocoon/generation/LenyaMetaDataGenerator.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/generation/LenyaMetaDataGenerator.java?rev=429717&r1=429716&r2=429717&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/cocoon/generation/LenyaMetaDataGenerator.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/cocoon/generation/LenyaMetaDataGenerator.java Tue Aug 8 09:33:24 2006
@@ -45,7 +45,30 @@
import org.xml.sax.helpers.AttributesImpl;
/**
- * Meta data generator.
+ * <p>Generates the meta data of a document.</p>
+ * <p>Parameters to specify the document:</p>
+ * <ul>
+ * <li><strong>pubid</strong> - mandatory</li>
+ * <li><strong>area</strong> - mandatory</li>
+ * <li><strong>uuid</strong> - mandatory</li>
+ * <li><strong>lang</strong> - mandatory</li>
+ * </ul>
+ * <p>Example output:</p>
+ * <pre>
+<lenya:metadata xmlns:lenya="http://apache.org/cocoon/lenya/metadata/1.0">
+ <elements xmlns="http://purl.org/dc/elements/1.1/">
+ <title>Search</title>
+ <date>2006-06-12 13:43:14</date>
+ <language>en</language>
+ <creator>lenya</creator>
+ </elements>
+ <elements xmlns="http://apache.org/lenya/metadata/document/1.0">
+ <extension>xml</extension>
+ <resourceType>usecase</resourceType>
+ <contentType>xml</contentType>
+ </elements>
+</lenya:metadata>
+</pre>
*/
public class LenyaMetaDataGenerator extends ServiceableGenerator implements
CacheableProcessingComponent {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org