Class PartialPageParserHtmlPage

All Implemented Interfaces:
HTMLPage, Page

public class PartialPageParserHtmlPage extends PartialPageParserPage implements HTMLPage
The Class PartialPageParserHtmlPage.
  • Constructor Details

    • PartialPageParserHtmlPage

      public PartialPageParserHtmlPage(SitemeshBuffer sitemeshBuffer, SitemeshBufferFragment body, Map<String,String> bodyProperties)
      Instantiates a new partial page parser html page.
      Parameters:
      sitemeshBuffer - the sitemesh buffer
      body - the body
      bodyProperties - the body properties
    • PartialPageParserHtmlPage

      public PartialPageParserHtmlPage(SitemeshBuffer sitemeshBuffer, SitemeshBufferFragment body, Map<String,String> bodyProperties, SitemeshBufferFragment head, String title, Map<String,String> metaAttributes, Map<String,String> pageProperties)
      Instantiates a new partial page parser html page.
      Parameters:
      sitemeshBuffer - The buffer for the page
      body - The body fragment
      bodyProperties - The properties of the body
      head - The head section
      title - The title
      metaAttributes - The meta attributes found in the head section
      pageProperties - The page properties extracted from the head section
  • Method Details

    • writeHead

      public void writeHead(Writer out) throws IOException
      Description copied from interface: HTMLPage
      Write the contents of the <head> tag.
      Specified by:
      writeHead in interface HTMLPage
      Parameters:
      out - the out
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getHead

      public String getHead()
      Description copied from interface: HTMLPage
      Convenience method to return the contents of the <head> tag as a String.
      Specified by:
      getHead in interface HTMLPage
      Returns:
      the head
      See Also:
    • isFrameSet

      public boolean isFrameSet()
      Description copied from interface: HTMLPage
      Check to see if this page contains an HTML frameset.
      Specified by:
      isFrameSet in interface HTMLPage
      Returns:
      true, if is frame set
    • setFrameSet

      public void setFrameSet(boolean frameset)
      Description copied from interface: HTMLPage
      Marks this page as a frameset.
      Specified by:
      setFrameSet in interface HTMLPage
      Parameters:
      frameset - the new frame set
      See Also: