java.lang.Object
com.aoindustries.web.struts.skintags.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.
  • Field Details

  • Constructor Details

    • PageAttributes

      public PageAttributes()
  • Method Details

    • 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)
    • getParents

      public List<Parent> getParents()
    • 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)
    • getFormtype

      public Formtype getFormtype()
    • setFormtype

      public void setFormtype(Formtype formtype)
      Parameters:
      formtype - Includes appropriate content in the head based on the type of form.
    • getOnload

      public String getOnload()
    • setOnload

      public void setOnload(String onload)