org.opencms.jsp.util
Class CmsJspStandardContextBean.TemplateBean

java.lang.Object
  extended by org.opencms.jsp.util.CmsJspStandardContextBean.TemplateBean
Enclosing class:
CmsJspStandardContextBean

public static class CmsJspStandardContextBean.TemplateBean
extends java.lang.Object

Bean containing a template name and URI.


Constructor Summary
CmsJspStandardContextBean.TemplateBean(java.lang.String name, CmsResource resource)
          Creates a new instance.
CmsJspStandardContextBean.TemplateBean(java.lang.String name, java.lang.String uri)
          Creates a new instance with an URI instead of a resoure.
 
Method Summary
 java.lang.String getName()
          Gets the template name.
 CmsResource getResource()
          Gets the template resource.
 java.lang.String getUri()
          Gets the template uri.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsJspStandardContextBean.TemplateBean

public CmsJspStandardContextBean.TemplateBean(java.lang.String name,
                                              CmsResource resource)
Creates a new instance.

Parameters:
name - the template name
resource - the template resource

CmsJspStandardContextBean.TemplateBean

public CmsJspStandardContextBean.TemplateBean(java.lang.String name,
                                              java.lang.String uri)
Creates a new instance with an URI instead of a resoure.

Parameters:
name - the template name
uri - the template uri
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

getUri

public java.lang.String getUri()
Gets the template uri.

Returns:
the template URI.