Package org.apache.struts2.convention

# Class SEOActionNameBuilder

java.lang.Object
org.apache.struts2.convention.AbstractActionNameBuilder
org.apache.struts2.convention.SEOActionNameBuilder

All Implemented Interfaces:
  `ActionNameBuilder`

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 Summary

  Constructors
  Constructor
  Description
  `SEOActionNameBuilder(String lowerCase, String separator)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `build(String className)`
  Given the name of the class, this method should build an action name.

  ### Methods inherited from class org.apache.struts2.convention.AbstractActionNameBuilder

  `checkActionName, setActionSuffix, truncateSuffixIfMatches`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SEOActionNameBuilder

    public SEOActionNameBuilder(String lowerCase, String separator)

- ## Method Details

  - ### build

    public String build(String className)
    Description copied from interface: `ActionNameBuilder`
    Given the name of the class, this method should build an action name.
    Parameters:
      `className` - The class name.
    Returns:
      The action name and never null.