Class FragmentSignature

Object
org.thymeleaf.standard.expression.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:
  • Constructor Details

    • FragmentSignature

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

    • getFragmentName

      public String getFragmentName()
    • hasParameters

      public boolean hasParameters()
    • getParameterNames

      public List<String> getParameterNames()
    • getStringRepresentation

      public String getStringRepresentation()
    • toString

      public String toString()
      Overrides:
      toString in class Object