Package net.sf.jasperreports.engine

Examples of net.sf.jasperreports.engine.JRGenericPrintElement


  public boolean isToExport(JRPrintElement element)
  {
    boolean isToExport = true;
    if (element instanceof JRGenericPrintElement)
    {
      JRGenericPrintElement genericElement = (JRGenericPrintElement) element;
      GenericElementHtmlHandler handler = (GenericElementHtmlHandler) //FIXMENOW html handler???
      GenericElementHandlerEnviroment.getHandler(
          genericElement.getGenericType(), JRHtmlExporter.HTML_EXPORTER_KEY);
      if (handler == null || !handler.toExport(genericElement))
      {
        isToExport = false;
      }
    }
View Full Code Here


   */
  public boolean isToExport(JRPrintElement element)
  {
    if (element instanceof JRGenericPrintElement)
    {
      JRGenericPrintElement genericElement = (JRGenericPrintElement) element;
      GenericElementHtmlHandler handler = (GenericElementHtmlHandler)
      GenericElementHandlerEnviroment.getHandler(
          genericElement.getGenericType(), JRHtmlExporter.HTML_EXPORTER_KEY);
      if (handler == null || !handler.toExport(genericElement))
      {
        return false;
      }
    }
View Full Code Here

  }

  protected void resolveElement(JRPrintElement element, byte evaluation)
      throws JRException
  {
    JRGenericPrintElement genericElement = (JRGenericPrintElement) element;
    evaluateElement(evaluation);
    copy(genericElement);
  }
View Full Code Here

    for (ListIterator it = elements.listIterator(); it.hasNext();)
    {
      JRPrintElement element = (JRPrintElement) it.next();
      if (element instanceof JRGenericPrintElement)
      {
        JRGenericPrintElement genericElement =
          (JRGenericPrintElement) element;
        GenericElementTransformer handler =
            (GenericElementTransformer) GenericElementHandlerEnviroment.getHandler(
            genericElement.getGenericType(), transformerExportKey);
        if (handler != null && handler.toExport(genericElement))
        {
          JRPrintElement transformed = handler.transformElement(
              context, genericElement);
         
View Full Code Here

public class JRGenericPrintElementParameterFactory extends JRBaseFactory
{

  public Object createObject(Attributes attributes) throws Exception
  {
    JRGenericPrintElement element = (JRGenericPrintElement) digester.peek();
    String name = attributes.getValue(JRXmlConstants.ATTRIBUTE_name);
    return new Parameter(element, name);
  }
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.JRGenericPrintElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.