org.apache.myfaces.buildtools.maven2.plugin.faces
Class GenerateJspTaglibsMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.myfaces.buildtools.maven2.plugin.faces.AbstractFacesMojo
          extended by org.apache.myfaces.buildtools.maven2.plugin.faces.GenerateJspTaglibsMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class GenerateJspTaglibsMojo
extends AbstractFacesMojo

Version:
$Id$

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.myfaces.buildtools.maven2.plugin.faces.AbstractFacesMojo
AbstractFacesMojo.ComponentClassFilter, AbstractFacesMojo.ComponentTagClassFilter, AbstractFacesMojo.ComponentTagFilter, AbstractFacesMojo.ComponentTagLibraryFilter, AbstractFacesMojo.ComponentTypeFilter, AbstractFacesMojo.ConverterTagClassFilter, AbstractFacesMojo.ConverterTagFilter, AbstractFacesMojo.ConverterTagLibraryFilter, AbstractFacesMojo.SkipFilter, AbstractFacesMojo.URLCreationFactory, AbstractFacesMojo.ValidatorTagClassFilter, AbstractFacesMojo.ValidatorTagFilter, AbstractFacesMojo.ValidatorTagLibraryFilter, AbstractFacesMojo.VirtualAttributeFilter
 
Field Summary
protected  boolean coerceStrings
           
protected  java.io.File configSourceDirectory
           
protected  boolean disableIdExpressions
           
protected  boolean force
           
protected  java.io.File generatedResourcesDirectory
           
protected  java.io.File generatedSourceDirectory
           
protected  java.lang.String packageContains
           
protected  org.apache.maven.project.MavenProject project
           
protected  java.lang.String resourcePath
           
protected  java.util.Map taglibs
           
protected  java.io.File templateSourceDirectory
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateJspTaglibsMojo()
           
 
Method Summary
protected  void addCustomComponentTagHandlerImports(java.util.Set imports, ComponentBean component)
           
 void execute()
          Execute the Mojo.
protected  boolean is12()
           
protected  void writeCustomComponentTagDescriptorContent(javax.xml.stream.XMLStreamWriter stream, ComponentBean component)
           
protected  void writeCustomComponentTagHandlerContent(PrettyWriter out, ComponentBean component)
           
protected  void writeTagAttribute(javax.xml.stream.XMLStreamWriter stream, java.lang.String propertyName, java.lang.String description, java.lang.String[] unsupportedAgents, PropertyBean property)
           
 
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.faces.AbstractFacesMojo
addResourceRoot, convertStringToLiteral, convertStringToLiteral, copyFile, getCompileDependencyResources, getFacesConfig, getLicenseHeader, getMasterConfigs, isModifiedSince, processIndex, processIndexEntry, readIndex, readIndex, readLicenseHeader, writeImports, writePreamble
 
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
 

Field Detail

project

protected org.apache.maven.project.MavenProject project

taglibs

protected java.util.Map taglibs

resourcePath

protected java.lang.String resourcePath

configSourceDirectory

protected java.io.File configSourceDirectory

templateSourceDirectory

protected java.io.File templateSourceDirectory

generatedSourceDirectory

protected java.io.File generatedSourceDirectory

generatedResourcesDirectory

protected java.io.File generatedResourcesDirectory

packageContains

protected java.lang.String packageContains

force

protected boolean force

disableIdExpressions

protected boolean disableIdExpressions

coerceStrings

protected boolean coerceStrings
Constructor Detail

GenerateJspTaglibsMojo

public GenerateJspTaglibsMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Execute the Mojo.

Throws:
org.apache.maven.plugin.MojoExecutionException

writeCustomComponentTagHandlerContent

protected void writeCustomComponentTagHandlerContent(PrettyWriter out,
                                                     ComponentBean component)
                                              throws java.io.IOException
Throws:
java.io.IOException

addCustomComponentTagHandlerImports

protected void addCustomComponentTagHandlerImports(java.util.Set imports,
                                                   ComponentBean component)

writeCustomComponentTagDescriptorContent

protected void writeCustomComponentTagDescriptorContent(javax.xml.stream.XMLStreamWriter stream,
                                                        ComponentBean component)
                                                 throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeTagAttribute

protected void writeTagAttribute(javax.xml.stream.XMLStreamWriter stream,
                                 java.lang.String propertyName,
                                 java.lang.String description,
                                 java.lang.String[] unsupportedAgents,
                                 PropertyBean property)
                          throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

is12

protected boolean is12()


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.