public static class CmsJspStandardContextBean.TemplateBean extends java.lang.Object
| Constructor and Description |
|---|
TemplateBean(java.lang.String name,
CmsResource resource)
Creates a new instance.
|
TemplateBean(java.lang.String name,
java.lang.String uri)
Creates a new instance with an URI instead of a resoure.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the template name.
|
CmsResource |
getResource()
Gets the template resource.
|
java.lang.String |
getUri()
Gets the template uri.
|
boolean |
isForced()
Returns true if the template context was manually selected.
|
void |
setForced(boolean forced)
Sets the 'forced' flag to a new value.
|
public TemplateBean(java.lang.String name, CmsResource resource)
name - the template nameresource - the template resourcepublic TemplateBean(java.lang.String name, java.lang.String uri)
name - the template nameuri - the template uripublic java.lang.String getName()
public CmsResource getResource()
public java.lang.String getUri()
public boolean isForced()
public void setForced(boolean forced)
forced - the new value