Class CmsJspStandardContextBean.TemplateBean

    • Constructor Summary

      Constructors 
      Constructor Description
      TemplateBean​(java.lang.String name, java.lang.String uri)
      Creates a new instance with an URI instead of a resoure.
      TemplateBean​(java.lang.String name, CmsResource resource)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TemplateBean

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

        Parameters:
        name - the template name
        resource - the template resource
      • TemplateBean

        public 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
      • getUri

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

        Returns:
        the template URI.
      • isForced

        public boolean isForced()
        Returns true if the template context was manually selected.

        Returns:
        true if the template context was manually selected
      • setForced

        public void setForced​(boolean forced)
        Sets the 'forced' flag to a new value.

        Parameters:
        forced - the new value