maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r542277 - /maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
Date Mon, 28 May 2007 17:25:33 GMT
Author: jvanzyl
Date: Mon May 28 10:25:32 2007
New Revision: 542277

URL: http://svn.apache.org/viewvc?view=rev&rev=542277
Log:
DOXIA-107 Make XDoc sink honor figures
Submitted by: Eric Redmond

Modified:
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.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/XdocSink.java?view=diff&rev=542277&r1=542276&r2=542277
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
Mon May 28 10:25:32 2007
@@ -389,6 +389,31 @@
         markup( "</dd>" + EOL );
     }
 
+    public void figure()
+    {
+        markup( "<img" );
+    }
+
+    public void figure_()
+    {
+        markup( " />" );
+    }
+
+    public void figureGraphics(String s)
+    {
+        markup( " src=\"" + s + "\"" );
+    }
+
+    public void figureCaption()
+    {
+        markup( " alt=\"" );
+    }
+
+    public void figureCaption_()
+    {
+        markup( "\"" );
+    }
+
     public void paragraph()
     {
         if ( !itemFlag )



Mime
View raw message