forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r485905 - /forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AggregateInteralDocument.java
Date Mon, 11 Dec 2006 22:08:01 GMT
Author: rgardler
Date: Mon Dec 11 14:08:01 2006
New Revision: 485905

URL: http://svn.apache.org/viewvc?view=rev&rev=485905
Log:
Agregate docs are collections of internal docs

Modified:
    forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AggregateInteralDocument.java

Modified: forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AggregateInteralDocument.java
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AggregateInteralDocument.java?view=diff&rev=485905&r1=485904&r2=485905
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AggregateInteralDocument.java
(original)
+++ forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AggregateInteralDocument.java
Mon Dec 11 14:08:01 2006
@@ -29,6 +29,10 @@
 public class AggregateInteralDocument extends InternalDocument {
 
 	private List<InternalDocument> documents;
+	
+	public AggregateInteralDocument(AbstractSourceDocument sourceDoc) {
+		super(sourceDoc);
+	}
 
 	/**
 	 * Create a new Aggregate document containing all the supplied internal
@@ -36,7 +40,8 @@
 	 * 
 	 * @param intDocs
 	 */
-	public AggregateInteralDocument(final List<InternalDocument> internalDocs) {
+	public AggregateInteralDocument(AbstractSourceDocument sourceDoc, final List<InternalDocument>
internalDocs) {
+		super(sourceDoc);
 		this.documents = internalDocs;
 	}
 



Mime
View raw message