public class SEOActionNameBuilder extends AbstractActionNameBuilder
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 and Description |
---|
SEOActionNameBuilder(String lowerCase,
String separator) |
Modifier and Type | Method and Description |
---|---|
String |
build(String className)
Given the name of the class, this method should build an action name.
|
checkActionName, setActionSuffix, truncateSuffixIfMatches
public String build(String className)
ActionNameBuilder
className
- The class name.Copyright © 2000–2020 Apache Software Foundation. All rights reserved.