public static class CmsJspStandardContextBean.TemplateBean
extends java.lang.Object
构造器和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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 CmsJspStandardContextBean.TemplateBean(java.lang.String name, CmsResource resource)
name
- the template nameresource
- the template resourcepublic CmsJspStandardContextBean.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