Examples of IgnoreAnyChildReadHandler


Examples of org.pentaho.reporting.libraries.xmlns.parser.IgnoreAnyChildReadHandler

    {
      return null;
    }
    else if ("data-factory".equals(tagName))
    {
      return new IgnoreAnyChildReadHandler();
    }
    else if ("reportheader".equals(tagName))
    {
      return new ReportHeaderReadHandler(report.getReportHeader());
    }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.parser.IgnoreAnyChildReadHandler

      return new EmptyCellReadHandler(table, row, column);
    }
    if ("covered-cell".equals(tagName))
    {
      column += 1;
      return new IgnoreAnyChildReadHandler();
    }
    return null;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.parser.IgnoreAnyChildReadHandler

        parametersReadHandler = new SubReportParametersReadHandler();
        return parametersReadHandler;
      }
      if ("padding".equals(tagName))
      {
        return new IgnoreAnyChildReadHandler();
      }
    }
    return super.getHandlerForChild(uri, tagName, atts);
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.parser.IgnoreAnyChildReadHandler

    {
      return new PropertiesDataSetBulkReadHandler();
    }
    if ("property".equals(tagName))
    {
      return new IgnoreAnyChildReadHandler();
    }
    if ("padding".equals(tagName))
    {
      return new IgnoreAnyChildReadHandler();
    }
    return null;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.parser.IgnoreAnyChildReadHandler

    {
      return null;
    }
    if ("padding".equals(tagName))
    {
      return new IgnoreAnyChildReadHandler();
    }
    if ("property".equals(tagName))
    {

      final String type = atts.getValue(uri, "name");
      if ("name".equals(type))
      {
        nameReadHandler = new PropertyReadHandler();
        return nameReadHandler;
      }
      if ("groupFields".equals(type))
      {
        groupFieldsReadHandler = new PropertyArrayReadHandler(String.class);
        return groupFieldsReadHandler;
      }
      return new IgnoreAnyChildReadHandler();
    }
    if ("child".equals(tagName))
    {
      final String type = atts.getValue(uri, "type");
      if ("org.pentaho.reportdesigner.crm.report.model.ReportGroup".equals(type))
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.parser.IgnoreAnyChildReadHandler

        return readHandler;
      }
    }
    if ("padding".equals(tagName))
    {
      return new IgnoreAnyChildReadHandler();
    }
    if ("property".equals(tagName))
    {
      return new IgnoreAnyChildReadHandler();
    }
    return null;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.parser.IgnoreAnyChildReadHandler

          {
            throw new ParseException("Parsing the specified local-copy failed", getLocator());
          }
        }
      }
      return new IgnoreAnyChildReadHandler();
    }
    if ("styles".equals(tagName))
    {
      final String primaryFile = atts.getValue(getUri(), "ref");
      if (primaryFile == null)
      {
        throw new ParseException("Required attribute 'ref' is not specified", getLocator());
      }

      if (parseStyles(primaryFile) == false)
      {
        final String fallbackFile = atts.getValue(getUri(), "local-copy");
        if (fallbackFile != null)
        {
          if (parseStyles(fallbackFile) == false)
          {
            throw new ParseException("Parsing the specified local-copy failed", getLocator());
          }
        }
      }
      return new IgnoreAnyChildReadHandler();
    }
    if ("layout".equals(tagName))
    {
      final String primaryFile = atts.getValue(getUri(), "ref");
      if (primaryFile == null)
      {
        throw new ParseException("Required attribute 'ref' is not specified", getLocator());
      }

      if (parseLayout(primaryFile) == false)
      {
        final String fallbackFile = atts.getValue(getUri(), "local-copy");
        if (fallbackFile != null)
        {
          if (parseLayout(fallbackFile) == false)
          {
            throw new ParseException("Parsing the specified local-copy failed", getLocator());
          }
        }
      }
      return new IgnoreAnyChildReadHandler();
    }
    return null;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.parser.IgnoreAnyChildReadHandler

  {
    if (isSameNamespace(uri))
    {
      if ("padding".equals(tagName))
      {
        return new IgnoreAnyChildReadHandler();
      }
      if ("importParameter".equals(tagName))
      {
        final SubReportParameterReadHandler readHandler = new SubReportParameterReadHandler();
        importParameters.add(readHandler);
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.parser.IgnoreAnyChildReadHandler

    {
      return null;
    }
    if ("padding".equals(tagName))
    {
      return new IgnoreAnyChildReadHandler();
    }
    if ("horizontalLinealModel".equals(tagName))
    {
      horizontalLinealReadHandler = new LinealModelReadHandler();
      return horizontalLinealReadHandler;
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.parser.IgnoreAnyChildReadHandler

      parametersReadHandler = new SubReportParametersReadHandler();
      return parametersReadHandler;
    }
    if ("reportConfiguration".equals(tagName))
    {
      return new IgnoreAnyChildReadHandler();
    }
    if ("padding".equals(tagName))
    {
      return new IgnoreAnyChildReadHandler();
    }
    if ("horizontalLinealModel".equals(tagName))
    {
      horizontalLinealReadHandler = new LinealModelReadHandler();
      return horizontalLinealReadHandler;
    }
    if ("pageDefinition".equals(tagName))
    {
      return new IgnoreAnyChildReadHandler();
    }


    if ("child".equals(tagName))
    {
      final String type = atts.getValue(uri, "type");
      if ("org.pentaho.reportdesigner.crm.report.model.dataset.DataSetsReportElement".equals(type))
      {
        dataSetReadHandler = new DataSetsReadHandler();
        return dataSetReadHandler;
      }

      if ("org.pentaho.reportdesigner.crm.report.model.ReportFunctionsElement".equals(type))
      {
        return new ReportFunctionsReadHandler();
      }

      if ("org.pentaho.reportdesigner.crm.report.model.BandToplevelPageReportElement".equals(type) ||
          "org.pentaho.reportdesigner.crm.report.model.BandToplevelReportElement".equals(type) ||
          "org.pentaho.reportdesigner.crm.report.model.BandToplevelItemReportElement".equals(type))
      {
        final String bandtype = atts.getValue(uri, "bandToplevelType");
        if ("PAGE_HEADER".equals(bandtype))
        {
          pageHeaderHandler = new BandTopLevelElementReadHandler(new PageHeader(), bandtype);
          return pageHeaderHandler;
        }
        if ("PAGE_FOOTER".equals(bandtype))
        {
          pageFooterHandler = new BandTopLevelElementReadHandler(new PageFooter(), bandtype);
          return pageFooterHandler;
        }
        if ("WATERMARK".equals(bandtype))
        {
          watermarkHandler = new BandTopLevelElementReadHandler(new Watermark(), bandtype);
          return watermarkHandler;
        }
        if ("NO_DATA_BAND".equals(bandtype))
        {
          noDataBandHandler = new BandTopLevelElementReadHandler(new NoDataBand(), bandtype);
          return noDataBandHandler;
        }
        if ("ITEM_BAND".equals(bandtype))
        {
          itemBandHandler = new BandTopLevelElementReadHandler(new ItemBand(), bandtype);
          return itemBandHandler;
        }
        if ("REPORT_FOOTER".equals(bandtype))
        {
          reportFooterHandler = new BandTopLevelElementReadHandler(new ReportFooter(), bandtype);
          return reportFooterHandler;
        }
        if ("REPORT_HEADER".equals(bandtype))
        {
          reportHeaderHandler = new BandTopLevelElementReadHandler(new ReportHeader(), bandtype);
          return reportHeaderHandler;
        }
      }

      if ("org.pentaho.reportdesigner.crm.report.model.ReportGroups".equals(type))
      {
        return new ReportGroupsReadHandler();
      }
      else if ("org.pentaho.reportdesigner.crm.report.model.SubReportDataElement".equals(type))
      {
        return new IgnoreAnyChildReadHandler();
      }
    }

    return super.getHandlerForChild(uri, tagName, atts);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.