org.apache.camel.maven
Class GenerateDocBookMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.camel.maven.GenerateDocBookMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class GenerateDocBookMojo
extends org.apache.maven.plugin.AbstractMojo

Goal which extracts the content of a wiki page and converts it to docbook format


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateDocBookMojo()
           
 
Method Summary
 void createMainXML()
           
 void downloadImages(Node node)
           
 void execute()
           
 String getChapterId()
           
 List<String> getImageUrls(Node node)
           
 void process(String resource)
          Extract the wiki content and tranform it into docbook format
 Node processH2Section(Document doc, Node node)
           
 String removeExtension(String resource)
           
 void setChapterId(String chapterId)
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateDocBookMojo

public GenerateDocBookMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

process

public void process(String resource)
Extract the wiki content and tranform it into docbook format

Parameters:
resource -

createMainXML

public void createMainXML()

downloadImages

public void downloadImages(Node node)

getImageUrls

public List<String> getImageUrls(Node node)

getChapterId

public String getChapterId()

setChapterId

public void setChapterId(String chapterId)

removeExtension

public String removeExtension(String resource)

processH2Section

public Node processH2Section(Document doc,
                             Node node)


Copyright © 2007 Apache Software Foundation. All Rights Reserved.