org.opencms.loader
Class CmsResourceManager.NamedTemplate

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

public static class CmsResourceManager.NamedTemplate
extends java.lang.Object

Bean containing a template resource and the name of the template.


Constructor Summary
CmsResourceManager.NamedTemplate(CmsResource resource, java.lang.String name)
          Creates a new instance.
 
Method Summary
 java.lang.String getName()
          Gets the template name.
 CmsResource getResource()
          Gets the template resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsResourceManager.NamedTemplate

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

Parameters:
resource - the template resource
name - the template name
Method Detail

getName

public java.lang.String getName()
Gets the template name.

Returns:
the template name

getResource

public CmsResource getResource()
Gets the template resource.

Returns:
the template resource