Class InsertCSSTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class InsertCSSTag extends InsertMinifiedContentTag
A JSP tag to insert a Cascading Style Sheet.
Since:
1.0
Version:
11.0
Author:
Luke
See Also:
  • Field Details

  • Constructor Details

    • InsertCSSTag

      public InsertCSSTag()
  • Method Details

    • setHost

      public void setHost(String hostName)
      Specifies that the Style Sheet is located on a different web server.
      Parameters:
      hostName - the host name
    • setScheme

      public void setScheme(String name)
      Sets the CSS scheme to display.
      Parameters:
      name - the scheme name
      See Also:
    • getScheme

      protected String getScheme()
      Gets the scheme in use, or DEFAULT_SCHEME if none specified
      Returns:
      the scheme name
      See Also:
    • setPageContext

      public final void setPageContext(PageContext ctxt)
      Loads the UI scheme name from the user object, if present.
      Specified by:
      setPageContext in interface Tag
      Overrides:
      setPageContext in class TagSupport
      Parameters:
      ctxt - the JSP page context
    • doEndTag

      public int doEndTag() throws JspException
      Renders the tag.
      Specified by:
      doEndTag in interface Tag
      Overrides:
      doEndTag in class TagSupport
      Returns:
      TagSupport.EVAL_PAGE
      Throws:
      JspException - if an error occurs
    • release

      public void release()
      Specified by:
      release in interface Tag
      Overrides:
      release in class TagSupport