maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r416839 - in /maven/doxia/trunk: doxia-core/src/main/java/org/apache/maven/doxia/module/SinkActionContext.java doxia-modules/doxia-module-itext/pom.xml doxia-modules/pom.xml
Date Fri, 23 Jun 2006 23:51:36 GMT
Author: jvanzyl
Date: Fri Jun 23 16:51:35 2006
New Revision: 416839

URL: http://svn.apache.org/viewvc?rev=416839&view=rev
Log: (empty)

Added:
    maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/SinkActionContext.java
  (with props)
Modified:
    maven/doxia/trunk/doxia-modules/doxia-module-itext/pom.xml
    maven/doxia/trunk/doxia-modules/pom.xml

Added: maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/SinkActionContext.java
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/SinkActionContext.java?rev=416839&view=auto
==============================================================================
--- maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/SinkActionContext.java
(added)
+++ maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/SinkActionContext.java
Fri Jun 23 16:51:35 2006
@@ -0,0 +1,71 @@
+package org.apache.maven.doxia.module;
+
+/**
+ * @author Jason van Zyl
+ */
+public class SinkActionContext
+{
+    public static final int TITLE = 0;
+    public static final int AUTHOR = 1;
+    public static final int DATE = 2;
+    public static final int HEAD = 3;
+    public static final int BODY = 4;
+
+    public static final int SECTION_TITLE = 10;
+    public static final int SECTION_TITLE_1 = 11;
+    public static final int SECTION_TITLE_2 = 12;
+    public static final int SECTION_TITLE_3 = 13;
+    public static final int SECTION_TITLE_4 = 14;
+    public static final int SECTION_TITLE_5 = 15;
+
+    public static final int SECTION_1 = 20;
+    public static final int SECTION_2 = 21;
+    public static final int SECTION_3 = 22;
+    public static final int SECTION_4 = 23;
+    public static final int SECTION_5 = 24;
+
+    public static final int DEFINITION_LIST = 30;
+    public static final int DEFINITION_LIST_ITEM = 31;
+    public static final int DEFINED_TERM = 32;
+
+    public static final int LIST_ITEM = 40;
+    public static final int NUMBERED_LIST_ITEM = 41;
+    public static final int NUMBERED_LIST = 42;
+    public static final int DEFINITION = 43;
+    public static final int PARAGRAPH = 44;
+    public static final int LIST = 45;
+
+    public static final int TABLE = 50;
+    public static final int TABLE_CAPTION = 51;
+    public static final int TABLE_CELL = 52;
+    public static final int TABLE_HEADER_CELL = 53;
+    public static final int TABLE_ROW = 54;
+    public static final int TABLE_ROWS = 55;
+
+    public static final int VERBATIM = 60;
+
+    public static final int FIGURE = 70;
+    public static final int FIGURE_CAPTION = 71;
+    public static final int FIGURE_GRAPHICS = 72;
+
+    public static final int LINK = 80;
+    public static final int ANCHOR = 81;
+    public static final int UNDEFINED = 82;
+
+    private int currentAction;
+
+    public int getCurrentAction()
+    {
+        return currentAction;
+    }
+
+    public void release()
+    {
+        currentAction = -1;
+    }
+
+    public void setAction( int action )
+    {
+        currentAction = action;
+    }
+}

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

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

Modified: maven/doxia/trunk/doxia-modules/doxia-module-itext/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-modules/doxia-module-itext/pom.xml?rev=416839&r1=416838&r2=416839&view=diff
==============================================================================
--- maven/doxia/trunk/doxia-modules/doxia-module-itext/pom.xml (original)
+++ maven/doxia/trunk/doxia-modules/doxia-module-itext/pom.xml Fri Jun 23 16:51:35 2006
@@ -3,7 +3,7 @@
   <parent>
     <artifactId>doxia-modules</artifactId>
     <groupId>org.apache.maven.doxia</groupId>
-    <version>1.0-alpha-8-SNAPSHOT</version>
+    <version>1.0-alpha-9-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>doxia-module-itext</artifactId>

Modified: maven/doxia/trunk/doxia-modules/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-modules/pom.xml?rev=416839&r1=416838&r2=416839&view=diff
==============================================================================
--- maven/doxia/trunk/doxia-modules/pom.xml (original)
+++ maven/doxia/trunk/doxia-modules/pom.xml Fri Jun 23 16:51:35 2006
@@ -12,12 +12,12 @@
     <dependency>
       <groupId>org.apache.maven.doxia</groupId>
       <artifactId>doxia-core</artifactId>
-      <version>1.0-alpha-8</version>
+      <version>1.0-alpha-9-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.apache.maven.doxia</groupId>
       <artifactId>doxia-core</artifactId>
-      <version>1.0-alpha-8-SNAPSHOT</version>
+      <version>1.0-alpha-9-SNAPSHOT</version>
       <type>test-jar</type>
     </dependency>    
   </dependencies>
@@ -25,5 +25,6 @@
     <module>doxia-module-confluence</module>
     <module>doxia-module-docbook-simple</module>
     <module>doxia-module-twiki</module>
+    <module>doxia-module-itext</module>
   </modules>
 </project>



Mime
View raw message