Class PageDescriptor

  • Direct Known Subclasses:
    ThemePage

    public class PageDescriptor
    extends Object
    Descriptor to associate resources and flavors to a page.
    Since:
    7.4
    • Constructor Detail

      • PageDescriptor

        public PageDescriptor()
    • Method Detail

      • getName

        public String getName()
      • getDefaultFlavor

        public String getDefaultFlavor()
      • setDefaultFlavor

        public void setDefaultFlavor​(String defaultFlavor)
      • getAppendStyles

        @Deprecated
        public boolean getAppendStyles()
        Deprecated.
        since 7.4: use resources instead
      • getAppendFlavors

        public boolean getAppendFlavors()
      • setName

        public void setName​(String name)
      • setStyles

        public void setStyles​(List<String> styles)
      • setFlavors

        public void setFlavors​(List<String> flavors)
      • getAppendResources

        public boolean getAppendResources()
      • hasResources

        public boolean hasResources()
      • getResources

        public List<String> getResources()
      • setResources

        public void setResources​(List<String> resources)
      • getComputedResourceBundleName

        public String getComputedResourceBundleName()
      • getComputedResourceBundle

        public ResourceBundle getComputedResourceBundle()
      • getResourceBundles

        public List<String> getResourceBundles()
        Since:
        7.4
      • setResourceBundles

        public void setResourceBundles​(List<String> bundles)
        Since:
        7.4
      • setAppendStyles

        public void setAppendStyles​(boolean appendStyles)
      • setAppendFlavors

        public void setAppendFlavors​(boolean appendFlavors)
      • setAppendResources

        public void setAppendResources​(boolean appendResources)
      • getCharset

        public String getCharset()
        Since:
        7.4
      • setCharset

        public void setCharset​(String charset)
        Since:
        7.4