net.sf.jasperreports.engine.util

## Class FlashUtils

- java.lang.Object
- - net.sf.jasperreports.engine.util.FlashUtils

-     public class FlashUtils
      extends java.lang.Object

  Utility methods related to Flash objects.
  Version:
    $Id: FlashUtils.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FlashUtils()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `encodeFlashVariable(java.lang.String text)` Encodes a text used as Flash variable.
    `static java.lang.String` | `getAllowScriptAccess(JRExporterContext context, JRGenericPrintElement element)` Determines the allowScriptAccess parameter for a Flash element.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FlashUtils

          public FlashUtils()

  - ### Method Detail

    - #### encodeFlashVariable

          public static java.lang.String encodeFlashVariable(java.lang.String text)

      Encodes a text used as Flash variable.
      Parameters:
        `text` - the text to encode
      Returns:
        the encoded text

    - #### getAllowScriptAccess

          public static java.lang.String getAllowScriptAccess(JRExporterContext context,
                                              JRGenericPrintElement element)

      Determines the allowScriptAccess parameter for a Flash element.
      Parameters:
        `context` -
        `element` -
      Returns:
        the value of the allowScriptAccess parameter to use for the element
      See Also:
        `FlashPrintElement.PROPERTY_ALLOW_SCRIPT_ACCESS`

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com