Class ActionSequenceCompatibilityFormatter

  • All Implemented Interfaces:

    public class ActionSequenceCompatibilityFormatter
    extends Object
    implements PropertyNameFormatter
    This formatter exists to make old-style action sequence inputs, outputs and resource names work with bean utils which adheres to the Java bean spec. All action definition inputs outputs and resources should be named in camel case and dash characters "-" should be avoided. This method will convert a dash-style arg name into camel case and print a warning, or just return the original name if there are no dashes found.
    • Constructor Detail

      • ActionSequenceCompatibilityFormatter

        public ActionSequenceCompatibilityFormatter()
    • Method Detail

      • format

        public String format​(String name)
        Description copied from interface: PropertyNameFormatter
        Format the name to match the bean property name.
        Specified by:
        format in interface PropertyNameFormatter
        name - the name to translate into the property name
        the property name to match the bean
      • compatibilityToCamelCase

        protected String compatibilityToCamelCase​(String name)