Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 2792 invoked from network); 6 May 2008 09:44:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 May 2008 09:44:42 -0000 Received: (qmail 97198 invoked by uid 500); 6 May 2008 09:44:40 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 97165 invoked by uid 500); 6 May 2008 09:44:40 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" List-Id: Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 97154 invoked by uid 99); 6 May 2008 09:44:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 May 2008 02:44:40 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 May 2008 09:43:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C0563238898E; Tue, 6 May 2008 02:44:15 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r653724 - in /forrest/trunk/main/java/org/apache/forrest/locationmap: lm/MountNode.java source/impl/LocationmapSourceFactory.java Date: Tue, 06 May 2008 09:44:15 -0000 To: svn@forrest.apache.org From: thorsten@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080506094415.C0563238898E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: thorsten Date: Tue May 6 02:44:14 2008 New Revision: 653724 URL: http://svn.apache.org/viewvc?rev=653724&view=rev Log: Adding javadoc. Modified: forrest/trunk/main/java/org/apache/forrest/locationmap/lm/MountNode.java forrest/trunk/main/java/org/apache/forrest/locationmap/source/impl/LocationmapSourceFactory.java Modified: forrest/trunk/main/java/org/apache/forrest/locationmap/lm/MountNode.java URL: http://svn.apache.org/viewvc/forrest/trunk/main/java/org/apache/forrest/locationmap/lm/MountNode.java?rev=653724&r1=653723&r2=653724&view=diff ============================================================================== --- forrest/trunk/main/java/org/apache/forrest/locationmap/lm/MountNode.java (original) +++ forrest/trunk/main/java/org/apache/forrest/locationmap/lm/MountNode.java Tue May 6 02:44:14 2008 @@ -29,7 +29,6 @@ import org.apache.cocoon.components.treeprocessor.variables.VariableResolverFactory; import org.apache.cocoon.sitemap.PatternException; import org.apache.excalibur.source.SourceValidity; -import org.apache.excalibur.source.SourceUtil; import org.apache.excalibur.source.SourceResolver; import org.apache.excalibur.source.Source; import org.apache.excalibur.xml.sax.SAXParser; @@ -38,6 +37,12 @@ /** * locationmap mount statement. + *

+ * The <mount> element has one required src attribute + * that contains the location string of the sub locationmap that should + * be mounted. + *

+ * */ public class MountNode extends AbstractNode { Modified: forrest/trunk/main/java/org/apache/forrest/locationmap/source/impl/LocationmapSourceFactory.java URL: http://svn.apache.org/viewvc/forrest/trunk/main/java/org/apache/forrest/locationmap/source/impl/LocationmapSourceFactory.java?rev=653724&r1=653723&r2=653724&view=diff ============================================================================== --- forrest/trunk/main/java/org/apache/forrest/locationmap/source/impl/LocationmapSourceFactory.java (original) +++ forrest/trunk/main/java/org/apache/forrest/locationmap/source/impl/LocationmapSourceFactory.java Tue May 6 02:44:14 2008 @@ -37,6 +37,13 @@ import org.apache.excalibur.source.SourceException; import org.apache.excalibur.source.SourceFactory; +/** + * A Source that takes its content from the + * locationmap module. + *

The URI syntax is "lm//:", + * where the location is any given String that + * will be match by the locationmap module. + */ public class LocationmapSourceFactory extends AbstractLogEnabled implements Serviceable, SourceFactory, ThreadSafe, Contextualizable {