Class WebFieldsetDepictor<C extends LayoutComponent>

Type Parameters:
C - The type of component being depicted.
All Implemented Interfaces:
ComponentDepictor<C>, Depictor<C>, WebComponentDepictor<C>, WebDepictor<C>

public class WebFieldsetDepictor<C extends LayoutComponent> extends AbstractWebLayoutComponentDepictor<C>
Strategy for rendering a layout component as an XHTML <fieldset> element.
Author:
Garret Wilson
See Also:
  • Constructor Details

    • WebFieldsetDepictor

      public WebFieldsetDepictor()
      Default constructor using the XHTML <fieldset> element.
  • Method Details

    • depictBegin

      protected void depictBegin() throws IOException
      Begins the depiction process.

      This version renders the beginning XML element information, if there is any, leaving the beginning tag open for attributes.

      This version writes common XHTML attributes.

      This implementation writes the fieldset <fieldset> element if the component has a label.

      Overrides:
      depictBegin in class AbstractWebComponentDepictor<C extends LayoutComponent>
      Throws:
      IOException - if there is an error updating the depiction.