maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r736012 - in /maven/doxia/doxia/trunk: doxia-core/src/main/java/org/apache/maven/doxia/sink/ doxia-modules/doxia-module-docbook-simple/src/main/java/org/apache/maven/doxia/module/docbook/ doxia-modules/doxia-module-fo/src/main/java/org/apac...
Date Tue, 20 Jan 2009 13:08:31 GMT
Author: vsiveton
Date: Tue Jan 20 05:08:30 2009
New Revision: 736012

URL: http://svn.apache.org/viewvc?rev=736012&view=rev
Log:
o added new AbstractXmlSinkFactory
o updated code

Added:
    maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/AbstractXmlSinkFactory.java
  (with props)
Modified:
    maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/AbstractTextSinkFactory.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-docbook-simple/src/main/java/org/apache/maven/doxia/module/docbook/DocbookSinkFactory.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoSinkFactory.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSinkFactory.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlSinkFactory.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/AbstractTextSinkFactory.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/AbstractTextSinkFactory.java?rev=736012&r1=736011&r2=736012&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/AbstractTextSinkFactory.java
(original)
+++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/AbstractTextSinkFactory.java
Tue Jan 20 05:08:30 2009
@@ -28,7 +28,7 @@
 import org.codehaus.plexus.util.WriterFactory;
 
 /**
- * An abstract <code>SinkFactory</code> for text markup syntax. <code>UTF-8</code>
is used
+ * An abstract <code>SinkFactory</code> for Text markup syntax. <code>UTF-8</code>
is used
  * when no encoding is specified.
  *
  * @author Hervé Boutemy
@@ -43,7 +43,6 @@
      *
      * @param writer The writer for the sink output, never <code>null</code>.
      * @param encoding The character encoding used by the writer.
-     *
      * @return a Sink for text output in the given encoding.
      */
     protected abstract Sink createSink( Writer writer, String encoding );

Added: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/AbstractXmlSinkFactory.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/AbstractXmlSinkFactory.java?rev=736012&view=auto
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/AbstractXmlSinkFactory.java
(added)
+++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/AbstractXmlSinkFactory.java
Tue Jan 20 05:08:30 2009
@@ -0,0 +1,33 @@
+package org.apache.maven.doxia.sink;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
+/**
+ * An abstract <code>SinkFactory</code> for XML markup syntax. <code>UTF-8</code>
is used
+ * when no encoding is specified.
+ *
+ * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
+ * @version $Id$
+ */
+public abstract class AbstractXmlSinkFactory
+    extends AbstractTextSinkFactory
+{
+    // nop
+}

Propchange: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/AbstractXmlSinkFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/AbstractXmlSinkFactory.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-docbook-simple/src/main/java/org/apache/maven/doxia/module/docbook/DocbookSinkFactory.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-docbook-simple/src/main/java/org/apache/maven/doxia/module/docbook/DocbookSinkFactory.java?rev=736012&r1=736011&r2=736012&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-docbook-simple/src/main/java/org/apache/maven/doxia/module/docbook/DocbookSinkFactory.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-docbook-simple/src/main/java/org/apache/maven/doxia/module/docbook/DocbookSinkFactory.java
Tue Jan 20 05:08:30 2009
@@ -21,7 +21,7 @@
 
 import java.io.Writer;
 
-import org.apache.maven.doxia.sink.AbstractTextSinkFactory;
+import org.apache.maven.doxia.sink.AbstractXmlSinkFactory;
 import org.apache.maven.doxia.sink.Sink;
 
 /**
@@ -33,7 +33,7 @@
  * @plexus.component role="org.apache.maven.doxia.sink.SinkFactory" role-hint="docbook"
  */
 public class DocbookSinkFactory
-    extends AbstractTextSinkFactory
+    extends AbstractXmlSinkFactory
 {
     /** {@inheritDoc} */
     protected Sink createSink( Writer writer, String encoding )

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoSinkFactory.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoSinkFactory.java?rev=736012&r1=736011&r2=736012&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoSinkFactory.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoSinkFactory.java
Tue Jan 20 05:08:30 2009
@@ -21,7 +21,7 @@
 
 import java.io.Writer;
 
-import org.apache.maven.doxia.sink.AbstractTextSinkFactory;
+import org.apache.maven.doxia.sink.AbstractXmlSinkFactory;
 import org.apache.maven.doxia.sink.Sink;
 
 /**
@@ -33,7 +33,7 @@
  * @plexus.component role="org.apache.maven.doxia.sink.SinkFactory" role-hint="fo"
  */
 public class FoSinkFactory
-    extends AbstractTextSinkFactory
+    extends AbstractXmlSinkFactory
 {
     /** {@inheritDoc} */
     protected Sink createSink( Writer writer, String encoding )

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSinkFactory.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSinkFactory.java?rev=736012&r1=736011&r2=736012&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSinkFactory.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSinkFactory.java
Tue Jan 20 05:08:30 2009
@@ -21,7 +21,7 @@
 
 import java.io.Writer;
 
-import org.apache.maven.doxia.sink.AbstractTextSinkFactory;
+import org.apache.maven.doxia.sink.AbstractXmlSinkFactory;
 import org.apache.maven.doxia.sink.Sink;
 
 /**
@@ -33,7 +33,7 @@
  * @plexus.component role="org.apache.maven.doxia.sink.SinkFactory" role-hint="xdoc"
  */
 public class XdocSinkFactory
-    extends AbstractTextSinkFactory
+    extends AbstractXmlSinkFactory
 {
     /** {@inheritDoc} */
     protected Sink createSink( Writer writer, String encoding )

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlSinkFactory.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlSinkFactory.java?rev=736012&r1=736011&r2=736012&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlSinkFactory.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlSinkFactory.java
Tue Jan 20 05:08:30 2009
@@ -21,7 +21,7 @@
 
 import java.io.Writer;
 
-import org.apache.maven.doxia.sink.AbstractTextSinkFactory;
+import org.apache.maven.doxia.sink.AbstractXmlSinkFactory;
 import org.apache.maven.doxia.sink.Sink;
 
 /**
@@ -33,7 +33,7 @@
  * @plexus.component role="org.apache.maven.doxia.sink.SinkFactory" role-hint="xhtml"
  */
 public class XhtmlSinkFactory
-    extends AbstractTextSinkFactory
+    extends AbstractXmlSinkFactory
 {
     /** {@inheritDoc} */
     protected Sink createSink( Writer writer, String encoding )



Mime
View raw message