Class FragmentSignature

  • All Implemented Interfaces:
    Serializable

    public final class FragmentSignature
    extends Object
    implements Serializable

    Represents a fragment signature, including both a name and an (optional) sequence of parameter names to be applied. Typically the result of parsing a th:fragment attribute.

    Since:
    2.1.0
    Author:
    Daniel Fernández
    See Also:
    Serialized Form
    • Constructor Detail

      • FragmentSignature

        public FragmentSignature(String fragmentName,
                                 List<String> parameterNames)
    • Method Detail

      • getFragmentName

        public String getFragmentName()
      • hasParameters

        public boolean hasParameters()
      • getParameterNames

        public List<String> getParameterNames()
      • getStringRepresentation

        public String getStringRepresentation()