Package org.apache.struts2.convention
Class SEOActionNameBuilder
java.lang.Object
org.apache.struts2.convention.AbstractActionNameBuilder
org.apache.struts2.convention.SEOActionNameBuilder
- All Implemented Interfaces:
- ActionNameBuilder
This class converts the class name into a SEO friendly name by recognizing camel casing and inserting dashes. This also converts everything to lower case if desired. And this will also strip off the word Action from the class name.
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.struts2.convention.AbstractActionNameBuildercheckActionName, setActionSuffix, truncateSuffixIfMatches
- 
Constructor Details- 
SEOActionNameBuilder
 
- 
- 
Method Details- 
buildDescription copied from interface:ActionNameBuilderGiven the name of the class, this method should build an action name.- Parameters:
- className- The class name.
- Returns:
- The action name and never null.
 
 
-