net.sf.jasperreports.engine.util
Class FlashUtils

java.lang.Object
  extended by net.sf.jasperreports.engine.util.FlashUtils

public class FlashUtils
extends java.lang.Object

Utility methods related to Flash objects.

Version:
$Id: FlashUtils.java 5050 2012-03-12 10:11:26Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Constructor Summary
FlashUtils()
           
 
Method Summary
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