Class WebFlashDepictor<C extends Flash>

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

public class WebFlashDepictor<C extends Flash> extends AbstractSimpleWebComponentDepictor<C>
Strategy for rendering a Flash component as an XHTML <object> element.
Author:
Garret Wilson
  • Field Details

    • FLASH_MEDIA_TYPE

      public static final com.globalmentor.net.MediaType FLASH_MEDIA_TYPE
      The media type for Flash objects.
    • ALLOW_SCRIPT_ACCESS_PARAMETER

      public static final String ALLOW_SCRIPT_ACCESS_PARAMETER
      The "allowScriptAccess" parameter.
      See Also:
    • ALLOW_SCRIPT_ACCESS_PARAMETER_ALWAYS

      public static final String ALLOW_SCRIPT_ACCESS_PARAMETER_ALWAYS
      The "allowScriptAccess" parameter "always" value.
      See Also:
    • ALLOW_SCRIPT_ACCESS_PARAMETER_NEVER

      public static final String ALLOW_SCRIPT_ACCESS_PARAMETER_NEVER
      The "allowScriptAccess" parameter "never" value.
      See Also:
    • ALLOW_SCRIPT_ACCESS_PARAMETER_SAME_DOMAIN

      public static final String ALLOW_SCRIPT_ACCESS_PARAMETER_SAME_DOMAIN
      The "allowScriptAccess" parameter "sameDomain" value.
      See Also:
    • MOVIE_PARAMETER

      public static final String MOVIE_PARAMETER
      The "movie" parameter.
      See Also:
    • QUALITY_PARAMETER

      public static final String QUALITY_PARAMETER
      The "quality" parameter.
      See Also:
    • QUALITY_PARAMETER_HIGH

      public static final String QUALITY_PARAMETER_HIGH
      The "quality" parameter "high" value.
      See Also:
    • WMODE_PARAMETER

      public static final String WMODE_PARAMETER
      The "wmode" parameter.
      See Also:
    • FLASH_CLASS_ID

      public static final String FLASH_CLASS_ID
      The Shockwave Flash player class ID.
      See Also:
    • SWFLASH_CAB_URI

      public static final URI SWFLASH_CAB_URI
      The URI to the swflash.cab file.
    • SWFLASH_CAB_SECURE_URI

      public static final URI SWFLASH_CAB_SECURE_URI
      The HTTPS URI to the swflash.cab file.
    • SWFLASH_CAB_URI_VERSION_PARAMETER

      public static final String SWFLASH_CAB_URI_VERSION_PARAMETER
      The URI parameter specifying the version of the swflash.cab file to retrieve.
      See Also:
  • Constructor Details

    • WebFlashDepictor

      public WebFlashDepictor()
      Default constructor using the XHTML <object> element.
  • Method Details

    • getSWFlashCabURI

      public static URI getSWFlashCabURI(String version, boolean secure)
      Returns A URI appropriate for accessing the swflash.cab file at an optionally secure location with the given version.
      Parameters:
      version - The version of the file to retrieve.
      secure - Whether a secure URI should be retrieved.
      Returns:
      A URI to the swflash.cab file.
    • depictBody

      protected void depictBody() throws IOException
      Description copied from class: AbstractWebComponentDepictor
      Depicts the body of the component.

      This version depicts the children of the component.

      This version increases and decreases the indention level before and after depicting the children, respectively.

      Overrides:
      depictBody in class AbstractWebComponentDepictor<C extends Flash>
      Throws:
      IOException - if there is an error updating the depiction.
      See Also: