maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdca...@apache.org
Subject svn commit: r357066 - in /maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl: ./ src/main/java/org/codehaus/doxia/site/renderer/ src/main/java/org/codehaus/doxia/site/renderer/sink/ src/main/resources/ src/main/resources/META-IN...
Date Thu, 15 Dec 2005 19:24:58 GMT
Author: jdcasey
Date: Thu Dec 15 11:24:49 2005
New Revision: 357066

URL: http://svn.apache.org/viewcvs?rev=357066&view=rev
Log:
PR: MNG-1834

Added compatibility layer that matches the old packages/APIs, of which many are wrapper classes
around the new ones in the org.apache.maven.doxia packages. Also, added component definition
for org.codehaus.doxia.site.renderer.SiteRenderer (wrapper class for org.apache.maven.doxia.siterenderer.SiteRenderer).


Added:
    maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/DefaultSiteRenderer.java
  (with props)
    maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/Renderer.java
  (with props)
    maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/RendererException.java
  (with props)
    maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/sink/
    maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/sink/SiteRendererSink.java
  (with props)
    maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/resources/
    maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/resources/META-INF/
    maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/resources/META-INF/plexus/
    maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/resources/META-INF/plexus/components.xml
  (with props)
Modified:
    maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/pom.xml

Modified: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/pom.xml
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/pom.xml?rev=357066&r1=357065&r2=357066&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/pom.xml (original)
+++ maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/pom.xml Thu
Dec 15 11:24:49 2005
@@ -46,6 +46,11 @@
       </exclusions>
     </dependency>
     <dependency>
+      <groupId>org.apache.maven.doxia</groupId>
+      <artifactId>doxia-site-renderer</artifactId>
+      <version>1.0-alpha-6</version>
+    </dependency>
+    <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-plugin-api</artifactId>
       <version>2.0.1</version>
@@ -71,4 +76,4 @@
       </exclusions>
     </dependency>
   </dependencies>
-</project>
\ No newline at end of file
+</project>

Added: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/DefaultSiteRenderer.java
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/DefaultSiteRenderer.java?rev=357066&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/DefaultSiteRenderer.java
(added)
+++ maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/DefaultSiteRenderer.java
Thu Dec 15 11:24:49 2005
@@ -0,0 +1,274 @@
+package org.codehaus.doxia.site.renderer;
+
+import org.apache.maven.doxia.siterenderer.RendererException;
+import org.codehaus.doxia.site.renderer.sink.SiteRendererSink;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.Writer;
+import java.util.Locale;
+import java.util.Map;
+
+/*
+ * Copyright 2004-2005 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.
+ */
+
+/**
+ * @author <a href="mailto:evenisse@codehaus.org">Emmanuel Venisse</a>
+ * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
+ * @version $Id:DefaultSiteRenderer.java 348612 2005-11-24 12:54:19 +1100 (Thu, 24 Nov 2005)
brett $
+ * @plexus.component role="org.apache.maven.doxia.siterenderer.Renderer"
+ */
+public class DefaultSiteRenderer
+    extends org.apache.maven.doxia.siterenderer.DefaultSiteRenderer
+    implements Renderer
+{
+
+    public void render( File siteDirectory, File outputDirectory, File siteDescriptor, String
templateName,
+                       Map templateProperties )
+        throws org.codehaus.doxia.site.renderer.RendererException, IOException
+    {
+        try
+        {
+            super.render( siteDirectory, outputDirectory, siteDescriptor, templateName, templateProperties
);
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public void render( File siteDirectory, File outputDirectory, InputStream siteDescriptor,
String templateName,
+                       Map templateProperties )
+        throws org.codehaus.doxia.site.renderer.RendererException, IOException
+    {
+        try
+        {
+            super.render( siteDirectory, outputDirectory, siteDescriptor, templateName, templateProperties
);
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public void render( File siteDirectory, File outputDirectory, String siteDescriptor,
String templateName,
+                       Map templateProperties )
+        throws org.codehaus.doxia.site.renderer.RendererException, IOException
+    {
+        try
+        {
+            super.render( siteDirectory, outputDirectory, siteDescriptor, templateName, templateProperties
);
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public void render( File siteDirectory, File outputDirectory, File siteDescriptor, String
templateName,
+                       Map templateProperties, Locale locale )
+        throws org.codehaus.doxia.site.renderer.RendererException, IOException
+    {
+        try
+        {
+            super.render( siteDirectory, outputDirectory, siteDescriptor, templateName, templateProperties,
locale );
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public void render( File siteDirectory, File outputDirectory, InputStream siteDescriptor,
String templateName,
+                       Map templateProperties, Locale locale )
+        throws org.codehaus.doxia.site.renderer.RendererException, IOException
+    {
+        try
+        {
+            super.render( siteDirectory, outputDirectory, siteDescriptor, templateName, templateProperties,
locale );
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public void render( File siteDirectory, File outputDirectory, String siteDescriptor,
String templateName,
+                       Map templateProperties, Locale locale )
+        throws org.codehaus.doxia.site.renderer.RendererException, IOException
+    {
+        try
+        {
+            super.render( siteDirectory, outputDirectory, siteDescriptor, templateName, templateProperties,
locale );
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public void render( File siteDirectory, File outputDirectory, InputStream siteDescriptor,
String templateName,
+                       Map templateProperties, Locale locale, String outputEncoding )
+        throws org.codehaus.doxia.site.renderer.RendererException, IOException
+    {
+        try
+        {
+            super.render( siteDirectory, outputDirectory, siteDescriptor, templateName, templateProperties,
locale,
+                          outputEncoding );
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public void render( File siteDirectory, File outputDirectory, String module, String moduleExtension,
+                       String moduleParserId, String siteDescriptor, String templateName,
Map templateProperties,
+                       Locale locale, String outputEncoding )
+        throws org.codehaus.doxia.site.renderer.RendererException, IOException
+    {
+        try
+        {
+            super.render( siteDirectory, outputDirectory, module, moduleExtension, moduleParserId,
siteDescriptor,
+                          templateName, templateProperties, locale, outputEncoding );
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public void render( File siteDirectory, File outputDirectory, String module, String moduleExtension,
+                       String moduleParserId, InputStream siteDescriptor, String templateName,
Map templateProperties,
+                       Locale locale, String outputEncoding )
+        throws org.codehaus.doxia.site.renderer.RendererException, IOException
+    {
+        try
+        {
+            super.render( siteDirectory, outputDirectory, module, moduleExtension, moduleParserId,
siteDescriptor,
+                          templateName, templateProperties, locale, outputEncoding );
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public void generateDocument( Writer writer, String templateName, Map templateProperties,
+                                 org.apache.maven.doxia.siterenderer.sink.SiteRendererSink
sink )
+        throws org.codehaus.doxia.site.renderer.RendererException
+    {
+        try
+        {
+            super.generateDocument( writer, templateName, templateProperties, sink );
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public void generateDocument( Writer writer, String templateName, Map templateProperties,
+                                 org.apache.maven.doxia.siterenderer.sink.SiteRendererSink
sink, Locale locale )
+        throws org.codehaus.doxia.site.renderer.RendererException
+    {
+        try
+        {
+            super.generateDocument( writer, templateName, templateProperties, sink, locale
);
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public void generateDocument( Writer writer, String templateName, Map templateProperties,
SiteRendererSink sink )
+        throws org.codehaus.doxia.site.renderer.RendererException
+    {
+        try
+        {
+            super.generateDocument( writer, templateName, templateProperties, sink.getSinkDelegate()
);
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public void generateDocument( Writer writer, String templateName, Map templateProperties,
SiteRendererSink sink,
+                                 Locale locale )
+        throws org.codehaus.doxia.site.renderer.RendererException
+    {
+        try
+        {
+            super.generateDocument( writer, templateName, templateProperties, sink.getSinkDelegate(),
locale );
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public org.apache.maven.doxia.siterenderer.sink.SiteRendererSink createSink( File moduleBaseDir,
String document,
+                                                                                File siteDescriptor
)
+        throws org.codehaus.doxia.site.renderer.RendererException, IOException
+    {
+        try
+        {
+            return new org.codehaus.doxia.site.renderer.sink.SiteRendererSink( super.createSink(
moduleBaseDir,
+                                                                                        
        document,
+                                                                                        
        siteDescriptor ) );
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public org.apache.maven.doxia.siterenderer.sink.SiteRendererSink createSink( File moduleBaseDir,
String document,
+                                                                                String siteDescriptor
)
+        throws org.codehaus.doxia.site.renderer.RendererException, IOException
+    {
+        try
+        {
+            return new org.codehaus.doxia.site.renderer.sink.SiteRendererSink( super.createSink(
moduleBaseDir,
+                                                                                        
        document,
+                                                                                        
        siteDescriptor ) );
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+    public org.apache.maven.doxia.siterenderer.sink.SiteRendererSink createSink( File moduleBaseDir,
String document,
+                                                                                InputStream
siteDescriptor )
+        throws org.codehaus.doxia.site.renderer.RendererException, IOException
+    {
+        try
+        {
+            return new org.codehaus.doxia.site.renderer.sink.SiteRendererSink( super.createSink(
moduleBaseDir,
+                                                                                        
        document,
+                                                                                        
        siteDescriptor ) );
+        }
+        catch ( RendererException e )
+        {
+            throw new org.codehaus.doxia.site.renderer.RendererException( e );
+        }
+    }
+
+}

Propchange: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/DefaultSiteRenderer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/DefaultSiteRenderer.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/Renderer.java
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/Renderer.java?rev=357066&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/Renderer.java
(added)
+++ maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/Renderer.java
Thu Dec 15 11:24:49 2005
@@ -0,0 +1,92 @@
+package org.codehaus.doxia.site.renderer;
+
+/*
+ * Copyright 2004-2005 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.
+ */
+
+import org.apache.maven.doxia.siterenderer.sink.SiteRendererSink;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.Writer;
+import java.util.Locale;
+import java.util.Map;
+
+/**
+ * @author <a href="mailto:evenisse@codehaus.org>Emmanuel Venisse</a>
+ * @version $Id:Renderer.java 348612 2005-11-24 12:54:19 +1100 (Thu, 24 Nov 2005) brett $
+ */
+public interface Renderer
+    extends org.apache.maven.doxia.siterenderer.Renderer
+{
+    String ROLE = Renderer.class.getName();
+
+    void render( File siteDirectory, File outputDirectory, File siteDescriptor, String templateName,
+                 Map templateProperties )
+        throws RendererException, IOException;
+
+    void render( File siteDirectory, File outputDirectory, InputStream siteDescriptor, String
templateName,
+                 Map templateProperties )
+        throws RendererException, IOException;
+
+    void render( File siteDirectory, File outputDirectory, String siteDescriptor, String
templateName,
+                 Map templateProperties )
+        throws RendererException, IOException;
+
+    void render( File siteDirectory, File outputDirectory, File siteDescriptor, String templateName,
+                 Map templateProperties, Locale locale )
+        throws RendererException, IOException;
+
+    void render( File siteDirectory, File outputDirectory, InputStream siteDescriptor, String
templateName,
+                 Map templateProperties, Locale locale )
+        throws RendererException, IOException;
+
+    void render( File siteDirectory, File outputDirectory, String siteDescriptor, String
templateName,
+                 Map templateProperties, Locale locale )
+        throws RendererException, IOException;
+
+    void render( File siteDirectory, File outputDirectory, InputStream siteDescriptor, String
templateName,
+                 Map templateProperties, Locale locale, String outputEncoding )
+        throws RendererException, IOException;
+
+    void render( File siteDirectory, File outputDirectory, String module, String moduleExtension,
String moduleParserId,
+                 String siteDescriptor, String templateName, Map templateProperties, Locale
locale,
+                 String outputEncoding )
+        throws RendererException, IOException;
+
+    void render( File siteDirectory, File outputDirectory, String module, String moduleExtension,
String moduleParserId,
+                 InputStream siteDescriptor, String templateName, Map templateProperties,
Locale locale,
+                 String outputEncoding )
+        throws RendererException, IOException;
+
+    void generateDocument( Writer writer, String templateName, Map templateProperties, SiteRendererSink
sink )
+        throws RendererException;
+
+    void generateDocument( Writer writer, String templateName, Map templateProperties, SiteRendererSink
sink,
+                           Locale locale )
+        throws RendererException;
+
+    SiteRendererSink createSink( File moduleBaseDir, String document, File siteDescriptor
)
+        throws RendererException, IOException;
+
+    SiteRendererSink createSink( File moduleBaseDir, String document, String siteDescriptor
)
+        throws RendererException, IOException;
+
+    SiteRendererSink createSink( File moduleBaseDir, String document, InputStream siteDescriptor
)
+        throws RendererException, IOException;
+
+    void setTemplateClassLoader( ClassLoader templateClassLoader );
+}

Propchange: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/Renderer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/Renderer.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/RendererException.java
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/RendererException.java?rev=357066&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/RendererException.java
(added)
+++ maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/RendererException.java
Thu Dec 15 11:24:49 2005
@@ -0,0 +1,165 @@
+package org.codehaus.doxia.site.renderer;
+import java.io.PrintStream;
+import java.io.PrintWriter;
+
+/*
+ * Copyright 2004-2005 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.
+ */
+
+/**
+ * @author Emmanuel Venisse
+ */
+public class RendererException
+    extends org.apache.maven.doxia.siterenderer.RendererException
+{
+    private org.apache.maven.doxia.siterenderer.RendererException re;
+
+    public RendererException( org.apache.maven.doxia.siterenderer.RendererException re )
+    {
+        super( "" );
+        
+        this.re = re;
+    }
+    
+    public RendererException( String message )
+    {
+        super( message );
+    }
+
+    public RendererException( String message, Throwable t )
+    {
+        super( message, t );
+    }
+
+    public synchronized Throwable fillInStackTrace()
+    {
+        if ( re != null )
+        {
+            return re.fillInStackTrace();
+        }
+        
+        return super.fillInStackTrace();
+    }
+
+    public Throwable getCause()
+    {
+        if ( re != null )
+        {
+            return re.getCause();
+        }
+        
+        return super.getCause();
+    }
+
+    public String getLocalizedMessage()
+    {
+        if ( re != null )
+        {
+            return re.getLocalizedMessage();
+        }
+        
+        return super.getLocalizedMessage();
+    }
+
+    public String getMessage()
+    {
+        if ( re != null )
+        {
+            return re.getMessage();
+        }
+        
+        return super.getMessage();
+    }
+
+    public StackTraceElement[] getStackTrace()
+    {
+        if ( re != null )
+        {
+            return re.getStackTrace();
+        }
+        
+        return super.getStackTrace();
+    }
+
+    public synchronized Throwable initCause( Throwable cause )
+    {
+        if ( re != null )
+        {
+            return re.initCause( cause );
+        }
+        
+        return super.initCause( cause );
+    }
+
+    public void printStackTrace()
+    {
+        if ( re != null )
+        {
+            re.printStackTrace();
+        }
+        else
+        {
+            super.printStackTrace();
+        }
+    }
+
+    public void printStackTrace( PrintStream stream )
+    {
+        if ( re != null )
+        {
+            re.printStackTrace( stream );
+        }
+        else
+        {
+            super.printStackTrace( stream );
+        }
+    }
+
+    public void printStackTrace( PrintWriter writer )
+    {
+        if ( re != null )
+        {
+            re.printStackTrace( writer );
+        }
+        else
+        {
+            super.printStackTrace( writer );
+        }
+    }
+
+    public void setStackTrace( StackTraceElement[] stackTrace )
+    {
+        if ( re != null )
+        {
+            re.setStackTrace(stackTrace);
+        }
+        else
+        {
+            super.setStackTrace(stackTrace);
+        }
+    }
+
+    public String toString()
+    {
+        if ( re != null )
+        {
+            return re.toString();
+        }
+        else
+        {
+            return super.toString();
+        }
+    }
+}

Propchange: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/RendererException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/RendererException.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/sink/SiteRendererSink.java
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/sink/SiteRendererSink.java?rev=357066&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/sink/SiteRendererSink.java
(added)
+++ maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/sink/SiteRendererSink.java
Thu Dec 15 11:24:49 2005
@@ -0,0 +1,541 @@
+package org.codehaus.doxia.site.renderer.sink;
+
+import java.util.List;
+
+/*
+ * Copyright 2004-2005 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.
+ */
+
+/**
+ * @author <a href="mailto:evenisse@codehaus.org>Emmanuel Venisse</a>
+ * @version $Id$
+ */
+public class SiteRendererSink
+    extends org.apache.maven.doxia.siterenderer.sink.SiteRendererSink
+{
+
+    private final org.apache.maven.doxia.siterenderer.sink.SiteRendererSink sinkDelegate;
+
+    public SiteRendererSink( org.apache.maven.doxia.siterenderer.sink.SiteRendererSink sinkDelegate
)
+    {
+        super( null, null );
+        this.sinkDelegate = sinkDelegate;
+    }
+    
+    public org.apache.maven.doxia.siterenderer.sink.SiteRendererSink getSinkDelegate()
+    {
+        return sinkDelegate;
+    }
+
+    public void anchor_()
+    {
+        sinkDelegate.anchor_();
+    }
+
+    public void anchor( String arg0 )
+    {
+        sinkDelegate.anchor( arg0 );
+    }
+
+    public void author_()
+    {
+        sinkDelegate.author_();
+    }
+
+    public void author()
+    {
+        sinkDelegate.author();
+    }
+
+    public void body_()
+    {
+        sinkDelegate.body_();
+    }
+
+    public void body()
+    {
+        sinkDelegate.body();
+    }
+
+    public void bold_()
+    {
+        sinkDelegate.bold_();
+    }
+
+    public void bold()
+    {
+        sinkDelegate.bold();
+    }
+
+    public void close()
+    {
+        sinkDelegate.close();
+    }
+
+    public void date_()
+    {
+        sinkDelegate.date_();
+    }
+
+    public void date()
+    {
+        sinkDelegate.date();
+    }
+
+    public void definedTerm_()
+    {
+        sinkDelegate.definedTerm_();
+    }
+
+    public void definedTerm()
+    {
+        sinkDelegate.definedTerm();
+    }
+
+    public void definition_()
+    {
+        sinkDelegate.definition_();
+    }
+
+    public void definition()
+    {
+        sinkDelegate.definition();
+    }
+
+    public void definitionList_()
+    {
+        sinkDelegate.definitionList_();
+    }
+
+    public void definitionList()
+    {
+        sinkDelegate.definitionList();
+    }
+
+    public void definitionListItem_()
+    {
+        sinkDelegate.definitionListItem_();
+    }
+
+    public void definitionListItem()
+    {
+        sinkDelegate.definitionListItem();
+    }
+
+    public boolean equals( Object arg0 )
+    {
+        return sinkDelegate.equals( arg0 );
+    }
+
+    public void figure_()
+    {
+        sinkDelegate.figure_();
+    }
+
+    public void figure()
+    {
+        sinkDelegate.figure();
+    }
+
+    public void figureCaption_()
+    {
+        sinkDelegate.figureCaption_();
+    }
+
+    public void figureCaption()
+    {
+        sinkDelegate.figureCaption();
+    }
+
+    public void figureGraphics( String arg0 )
+    {
+        sinkDelegate.figureGraphics( arg0 );
+    }
+
+    public void flush()
+    {
+        sinkDelegate.flush();
+    }
+
+    public List getAuthors()
+    {
+        return sinkDelegate.getAuthors();
+    }
+
+    public String getBody()
+    {
+        return sinkDelegate.getBody();
+    }
+
+    public String getDate()
+    {
+        return sinkDelegate.getDate();
+    }
+
+    public String getTitle()
+    {
+        return sinkDelegate.getTitle();
+    }
+
+    public int hashCode()
+    {
+        return sinkDelegate.hashCode();
+    }
+
+    public void head_()
+    {
+        sinkDelegate.head_();
+    }
+
+    public void head()
+    {
+        sinkDelegate.head();
+    }
+
+    public void horizontalRule()
+    {
+        sinkDelegate.horizontalRule();
+    }
+
+    public void italic_()
+    {
+        sinkDelegate.italic_();
+    }
+
+    public void italic()
+    {
+        sinkDelegate.italic();
+    }
+
+    public void lineBreak()
+    {
+        sinkDelegate.lineBreak();
+    }
+
+    public void link_()
+    {
+        sinkDelegate.link_();
+    }
+
+    public void link( String arg0, String arg1 )
+    {
+        sinkDelegate.link( arg0, arg1 );
+    }
+
+    public void link( String arg0 )
+    {
+        sinkDelegate.link( arg0 );
+    }
+
+    public void list_()
+    {
+        sinkDelegate.list_();
+    }
+
+    public void list()
+    {
+        sinkDelegate.list();
+    }
+
+    public void listItem_()
+    {
+        sinkDelegate.listItem_();
+    }
+
+    public void listItem()
+    {
+        sinkDelegate.listItem();
+    }
+
+    public void monospaced_()
+    {
+        sinkDelegate.monospaced_();
+    }
+
+    public void monospaced()
+    {
+        sinkDelegate.monospaced();
+    }
+
+    public void nonBreakingSpace()
+    {
+        sinkDelegate.nonBreakingSpace();
+    }
+
+    public void numberedList_()
+    {
+        sinkDelegate.numberedList_();
+    }
+
+    public void numberedList( int arg0 )
+    {
+        sinkDelegate.numberedList( arg0 );
+    }
+
+    public void numberedListItem_()
+    {
+        sinkDelegate.numberedListItem_();
+    }
+
+    public void numberedListItem()
+    {
+        sinkDelegate.numberedListItem();
+    }
+
+    public void pageBreak()
+    {
+        sinkDelegate.pageBreak();
+    }
+
+    public void paragraph_()
+    {
+        sinkDelegate.paragraph_();
+    }
+
+    public void paragraph()
+    {
+        sinkDelegate.paragraph();
+    }
+
+    public void rawText( String arg0 )
+    {
+        sinkDelegate.rawText( arg0 );
+    }
+
+    public void section1_()
+    {
+        sinkDelegate.section1_();
+    }
+
+    public void section1()
+    {
+        sinkDelegate.section1();
+    }
+
+    public void section2_()
+    {
+        sinkDelegate.section2_();
+    }
+
+    public void section2()
+    {
+        sinkDelegate.section2();
+    }
+
+    public void section3_()
+    {
+        sinkDelegate.section3_();
+    }
+
+    public void section3()
+    {
+        sinkDelegate.section3();
+    }
+
+    public void section4_()
+    {
+        sinkDelegate.section4_();
+    }
+
+    public void section4()
+    {
+        sinkDelegate.section4();
+    }
+
+    public void section5_()
+    {
+        sinkDelegate.section5_();
+    }
+
+    public void section5()
+    {
+        sinkDelegate.section5();
+    }
+
+    public void sectionTitle_()
+    {
+        sinkDelegate.sectionTitle_();
+    }
+
+    public void sectionTitle()
+    {
+        sinkDelegate.sectionTitle();
+    }
+
+    public void sectionTitle1_()
+    {
+        sinkDelegate.sectionTitle1_();
+    }
+
+    public void sectionTitle1()
+    {
+        sinkDelegate.sectionTitle1();
+    }
+
+    public void sectionTitle2_()
+    {
+        sinkDelegate.sectionTitle2_();
+    }
+
+    public void sectionTitle2()
+    {
+        sinkDelegate.sectionTitle2();
+    }
+
+    public void sectionTitle3_()
+    {
+        sinkDelegate.sectionTitle3_();
+    }
+
+    public void sectionTitle3()
+    {
+        sinkDelegate.sectionTitle3();
+    }
+
+    public void sectionTitle4_()
+    {
+        sinkDelegate.sectionTitle4_();
+    }
+
+    public void sectionTitle4()
+    {
+        sinkDelegate.sectionTitle4();
+    }
+
+    public void sectionTitle5_()
+    {
+        sinkDelegate.sectionTitle5_();
+    }
+
+    public void sectionTitle5()
+    {
+        sinkDelegate.sectionTitle5();
+    }
+
+    public void table_()
+    {
+        sinkDelegate.table_();
+    }
+
+    public void table()
+    {
+        sinkDelegate.table();
+    }
+
+    public void tableCaption_()
+    {
+        sinkDelegate.tableCaption_();
+    }
+
+    public void tableCaption()
+    {
+        sinkDelegate.tableCaption();
+    }
+
+    public void tableCell_()
+    {
+        sinkDelegate.tableCell_();
+    }
+
+    public void tableCell_( boolean arg0 )
+    {
+        sinkDelegate.tableCell_( arg0 );
+    }
+
+    public void tableCell()
+    {
+        sinkDelegate.tableCell();
+    }
+
+    public void tableCell( boolean arg0, String arg1 )
+    {
+        sinkDelegate.tableCell( arg0, arg1 );
+    }
+
+    public void tableCell( boolean arg0 )
+    {
+        sinkDelegate.tableCell( arg0 );
+    }
+
+    public void tableCell( String arg0 )
+    {
+        sinkDelegate.tableCell( arg0 );
+    }
+
+    public void tableHeaderCell_()
+    {
+        sinkDelegate.tableHeaderCell_();
+    }
+
+    public void tableHeaderCell()
+    {
+        sinkDelegate.tableHeaderCell();
+    }
+
+    public void tableHeaderCell( String arg0 )
+    {
+        sinkDelegate.tableHeaderCell( arg0 );
+    }
+
+    public void tableRow_()
+    {
+        sinkDelegate.tableRow_();
+    }
+
+    public void tableRow()
+    {
+        sinkDelegate.tableRow();
+    }
+
+    public void tableRows_()
+    {
+        sinkDelegate.tableRows_();
+    }
+
+    public void tableRows( int[] arg0, boolean arg1 )
+    {
+        sinkDelegate.tableRows( arg0, arg1 );
+    }
+
+    public void text( String arg0 )
+    {
+        sinkDelegate.text( arg0 );
+    }
+
+    public void title_()
+    {
+        sinkDelegate.title_();
+    }
+
+    public void title()
+    {
+        sinkDelegate.title();
+    }
+
+    public String toString()
+    {
+        return sinkDelegate.toString();
+    }
+
+    public void verbatim_()
+    {
+        sinkDelegate.verbatim_();
+    }
+
+    public void verbatim( boolean arg0 )
+    {
+        sinkDelegate.verbatim( arg0 );
+    }
+}

Propchange: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/sink/SiteRendererSink.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/java/org/codehaus/doxia/site/renderer/sink/SiteRendererSink.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/resources/META-INF/plexus/components.xml?rev=357066&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/resources/META-INF/plexus/components.xml
(added)
+++ maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/resources/META-INF/plexus/components.xml
Thu Dec 15 11:24:49 2005
@@ -0,0 +1,10 @@
+<component-set>
+  <components>
+
+    <component>
+      <role>org.codehaus.doxia.site.renderer.SiteRenderer</role>
+      <implementation>org.codehaus.doxia.site.renderer.DefaultSiteRenderer</implementation>
+    </component>
+    
+  </components>
+</component-set>

Propchange: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/resources/META-INF/plexus/components.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/branches/maven-2.0.x/maven-reporting/maven-reporting-impl/src/main/resources/META-INF/plexus/components.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"



Mime
View raw message