Class PageAttributes


  • public class PageAttributes
    extends Object
    During the processing of the skin, page attributes are built and stored here, one instance per request.
    Author:
    AO Industries, Inc.
    • Constructor Detail

      • PageAttributes

        public PageAttributes()
    • Method Detail

      • getPath

        public String getPath()
      • setPath

        public void setPath​(String path)
      • getKeywords

        public String getKeywords()
      • setKeywords

        public void setKeywords​(String keywords)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getAuthor

        public String getAuthor()
      • setAuthor

        public void setAuthor​(String author)
      • getAuthorHref

        public String getAuthorHref()
      • setAuthorHref

        public void setAuthorHref​(String authorHref)
      • getCopyright

        public String getCopyright()
      • setCopyright

        public void setCopyright​(String copyright)
      • getMetas

        public List<Meta> getMetas()
      • addMeta

        public void addMeta​(Meta meta)
      • getLinks

        public List<PageAttributes.Link> getLinks()
        Gets an optional set of additional links to include for this page in the order they should be added.

        Please note, that any links to stylesheets here are never optimized. Please prefer the page-scope web resource registry.

      • addLink

        public void addLink​(String rel,
                            String href,
                            String type)
        Adds an additional link to include for this page in the order they should be added.

        Please note, that any links to stylesheets here are never optimized. Please prefer the page-scope web resource registry.

      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String title)
      • getNavImageAlt

        public String getNavImageAlt()
      • setNavImageAlt

        public void setNavImageAlt​(String navImageAlt)
      • addParent

        public void addParent​(Parent parent)
      • getChildren

        public List<Child> getChildren()
        Gets the direct children of this page.
      • addChild

        public void addChild​(Child child)
      • getLayout

        public String getLayout()
      • setLayout

        public void setLayout​(String layout)
      • getOnload

        public String getOnload()
      • setOnload

        public void setOnload​(String onload)