Class CmsResourceManager.NamedTemplate

java.lang.Object
org.opencms.loader.CmsResourceManager.NamedTemplate
Enclosing class:
CmsResourceManager

public static class CmsResourceManager.NamedTemplate extends Object
Bean containing a template resource and the name of the template.

  • Constructor Details

    • NamedTemplate

      public NamedTemplate(CmsResource resource, String name)
      Creates a new instance.

      Parameters:
      resource - the template resource
      name - the template name
  • Method Details

    • getName

      public String getName()
      Gets the template name.

      Returns:
      the template name
    • getResource

      Gets the template resource.

      Returns:
      the template resource