net.sf.maventaglib
Class TldGenerateMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.sf.maventaglib.TldGenerateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Generates tld files from directories of jsp 2.0 tag files.

Version:
$Id: TldGenerateMojo.java 189 2006-08-20 11:59:53Z fgiust $
Author:
Fabrizio Giustina

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TldGenerateMojo()
           
 
Method Summary
protected  org.w3c.dom.Element createRootTaglibNode(org.w3c.dom.Document result, java.lang.String path, java.lang.String description, java.lang.String shortName, java.lang.String uri)
           
 void execute()
           
protected  org.w3c.dom.Document getTLDDocument(java.io.File dir, javax.xml.parsers.DocumentBuilder documentBuilder)
           
 
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

TldGenerateMojo

public TldGenerateMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
See Also:
Mojo.execute()

getTLDDocument

protected org.w3c.dom.Document getTLDDocument(java.io.File dir,
                                              javax.xml.parsers.DocumentBuilder documentBuilder)

createRootTaglibNode

protected org.w3c.dom.Element createRootTaglibNode(org.w3c.dom.Document result,
                                                   java.lang.String path,
                                                   java.lang.String description,
                                                   java.lang.String shortName,
                                                   java.lang.String uri)


Copyright © 2004-2008 Fabrizio Giustina. All Rights Reserved.