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 2004/09/08 17:45:21 UTC

svn commit: rev 43540 - in incubator/lenya/trunk/src/java/org/apache/lenya/cms: cocoon/components/modules/input publication/templating

Author: andreas
Date: Wed Sep  8 08:45:21 2004
New Revision: 43540

Modified:
   incubator/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/FallbackModule.java
   incubator/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/PublicationTemplateFallbackModule.java
   incubator/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/UsecaseFallbackModule.java
   incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/ExistingSourceResolver.java
   incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/ExistingUsecaseResolver.java
   incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/PublicationTemplateManagerImpl.java
   incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/PublicationVisitor.java
   incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/SourceVisitor.java
   incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/TemplatingException.java
Log:
adding license header

Modified: incubator/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/FallbackModule.java
==============================================================================
--- incubator/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/FallbackModule.java	(original)
+++ incubator/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/FallbackModule.java	Wed Sep  8 08:45:21 2004
@@ -15,8 +15,6 @@
  *
  */
 
-/* $Id$  */
-
 package org.apache.lenya.cms.cocoon.components.modules.input;
 
 import java.io.File;
@@ -44,6 +42,8 @@
  * Example: <code>{fallback:xslt/style.xsl}</code> looks if
  * <code>lenya/pubs/(publication-id)/lenya/xslt/style.xsl</code> exists, and if not, it uses
  * <code>lenya/xslt/style.xsl</code>.
+ * 
+ * @version $Id:$
  */
 public class FallbackModule extends AbstractPageEnvelopeModule implements Serviceable {
 

Modified: incubator/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/PublicationTemplateFallbackModule.java
==============================================================================
--- incubator/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/PublicationTemplateFallbackModule.java	(original)
+++ incubator/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/PublicationTemplateFallbackModule.java	Wed Sep  8 08:45:21 2004
@@ -1,8 +1,18 @@
 /*
- * Created on 09.08.2004
+ * Copyright  1999-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
  *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
  */
 package org.apache.lenya.cms.cocoon.components.modules.input;
 
@@ -20,10 +30,7 @@
 import org.apache.lenya.cms.publication.templating.PublicationTemplateManager;
 
 /**
- * @author nobby
- * 
- * TODO To change the template for this generated type comment go to Window - Preferences - Java -
- * Code Style - Code Templates
+ * @version $Id:$
  */
 public class PublicationTemplateFallbackModule extends AbstractPageEnvelopeModule implements
         Serviceable {

Modified: incubator/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/UsecaseFallbackModule.java
==============================================================================
--- incubator/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/UsecaseFallbackModule.java	(original)
+++ incubator/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/UsecaseFallbackModule.java	Wed Sep  8 08:45:21 2004
@@ -1,8 +1,18 @@
 /*
- * Created on 09.08.2004
+ * Copyright  1999-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
  *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
  */
 package org.apache.lenya.cms.cocoon.components.modules.input;
 
@@ -21,10 +31,7 @@
 import org.apache.lenya.cms.publication.templating.PublicationTemplateManagerImpl;
 
 /**
- * @author nobby
- * 
- * TODO To change the template for this generated type comment go to Window - Preferences - Java -
- * Code Style - Code Templates
+ * @version $Id:$
  */
 public class UsecaseFallbackModule extends AbstractPageEnvelopeModule implements Serviceable {
 

Modified: incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/ExistingSourceResolver.java
==============================================================================
--- incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/ExistingSourceResolver.java	(original)
+++ incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/ExistingSourceResolver.java	Wed Sep  8 08:45:21 2004
@@ -1,15 +1,28 @@
 /*
- * Created on 12.08.2004
+ * Copyright  1999-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
  *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
  */
+
 package org.apache.lenya.cms.publication.templating;
 
 import org.apache.excalibur.source.Source;
 
 /**
  * Source visitor to obtain the first existing source.
+ * 
+ * @version $Id:$
  */
 public class ExistingSourceResolver implements SourceVisitor {
     

Modified: incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/ExistingUsecaseResolver.java
==============================================================================
--- incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/ExistingUsecaseResolver.java	(original)
+++ incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/ExistingUsecaseResolver.java	Wed Sep  8 08:45:21 2004
@@ -1,8 +1,18 @@
 /*
- * Created on 12.08.2004
+ * Copyright  1999-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
  *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
  */
 package org.apache.lenya.cms.publication.templating;
 
@@ -14,6 +24,8 @@
 
 /**
  * Publication visitor which returns the first publication implementing a certain usecase.
+ * 
+ * @version $Id:$
  */
 public class ExistingUsecaseResolver implements PublicationVisitor {
 

Modified: incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/PublicationTemplateManagerImpl.java
==============================================================================
--- incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/PublicationTemplateManagerImpl.java	(original)
+++ incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/PublicationTemplateManagerImpl.java	Wed Sep  8 08:45:21 2004
@@ -1,3 +1,20 @@
+/*
+ * Copyright  1999-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
 package org.apache.lenya.cms.publication.templating;
 
 import java.io.File;
@@ -18,6 +35,8 @@
 
 /**
  * Manager for publication templates.
+ * 
+ * @version $Id:$
  */
 public class PublicationTemplateManagerImpl extends AbstractLogEnabled implements
         PublicationTemplateManager, Serviceable {

Modified: incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/PublicationVisitor.java
==============================================================================
--- incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/PublicationVisitor.java	(original)
+++ incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/PublicationVisitor.java	Wed Sep  8 08:45:21 2004
@@ -1,15 +1,28 @@
 /*
- * Created on 12.08.2004
+ * Copyright  1999-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
  *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
  */
+
 package org.apache.lenya.cms.publication.templating;
 
 import org.apache.lenya.cms.publication.Publication;
 
 /**
  * Publication visitor interface.
+ * 
+ * @version $Id:$
  */
 public interface PublicationVisitor {
     

Modified: incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/SourceVisitor.java
==============================================================================
--- incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/SourceVisitor.java	(original)
+++ incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/SourceVisitor.java	Wed Sep  8 08:45:21 2004
@@ -1,18 +1,25 @@
 /*
- * Created on 12.08.2004
+ * Copyright  1999-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
  *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
  */
 package org.apache.lenya.cms.publication.templating;
 
 import org.apache.excalibur.source.Source;
 
 /**
- * @author nobby
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
+ * @version $Id:$
  */
 public interface SourceVisitor {
 

Modified: incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/TemplatingException.java
==============================================================================
--- incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/TemplatingException.java	(original)
+++ incubator/lenya/trunk/src/java/org/apache/lenya/cms/publication/templating/TemplatingException.java	Wed Sep  8 08:45:21 2004
@@ -1,16 +1,23 @@
 /*
- * Created on 12.08.2004
+ * Copyright  1999-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
  *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
  */
 package org.apache.lenya.cms.publication.templating;
 
 /**
- * @author nobby
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
+ * @version $Id:$
  */
 public class TemplatingException extends RuntimeException {
 

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org