de.smartics.tagcloud.maven
Class TagCloudPropertyMojo

Package class diagram package TagCloudPropertyMojo
java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by de.smartics.tagcloud.maven.AbstractTagCloudMojo
          extended by de.smartics.tagcloud.maven.TagCloudPropertyMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class TagCloudPropertyMojo
     
     
extends AbstractTagCloudMojo

Provides a tag cloud snippet as a property to be included in a page of a Maven site. Since the fragment is XHTML it may be included in other HTML pages as well.

Author:
Robert Reiner
maven-goal:
tagcloud-property
maven-phase:
pre-site
maven-requiresProject:
maven-description:
Provides a tag cloud snippet as a property to be included in a page of a Maven site.

Field Summary
 
Fields inherited from class de.smartics.tagcloud.maven.AbstractTagCloudMojo
basedir, encoding, excludes, includes, logLevel, project, skip, useJavaReservedWordsFilter, useUsualWordsFilter, wordsToFilter
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TagCloudPropertyMojo()
           
 
Method Summary
protected  TagCloudFactory createFactoryInstance()
           
protected  void runWith(TagCloud tagCloud)
          Exports the cloud data as XML.
 
Methods inherited from class de.smartics.tagcloud.maven.AbstractTagCloudMojo
execute
 
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

TagCloudPropertyMojo

public TagCloudPropertyMojo()
Method Detail

runWith

protected void runWith(TagCloud tagCloud)
                throws MojoExecutionException
Exports the cloud data as XML.

Specified by:
runWith in class AbstractTagCloudMojo
Parameters:
tagCloud - the cloud to be exported.
Throws:
MojoExecutionException - on any problem encountered.

createFactoryInstance

protected TagCloudFactory createFactoryInstance()
                                         throws MojoExecutionException
Overrides:
createFactoryInstance in class AbstractTagCloudMojo
Throws:
MojoExecutionException


Copyright © 2011-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.