Package org.pentaho.reporting.libraries.xmlns.parser

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


          {
            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

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

  {
    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


    if ("runtime".equals(tagName))
    {
      // todo: In later versions, check the declared runtime so that we can be sure that all elements are found
      return new IgnoreAnyChildReadHandler();
    }
    return null;
  }
View Full Code Here

    {
      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

    if ("basic-key".equals(tagName))
    {
      final String name = atts.getValue(getUri(), "name");
      if (ElementStyleKeys.isLegacyKey(name))
      {
        return new IgnoreAnyChildReadHandler();
      }
      return handleBasicObject(atts);
    }
    else if ("compound-key".equals(tagName))
    {
      final String name = atts.getValue(getUri(), "name");
      if (ElementStyleKeys.isLegacyKey(name))
      {
        return new IgnoreAnyChildReadHandler();
      }
      return handleCompoundObject(atts);
    }
    return null;
  }
View Full Code Here

    if ("data".equals(tagName))
    {
      if (columnCount >= types.length)
      {
        return new IgnoreAnyChildReadHandler();
      }

      final InlineTableDataReadHandler dataReadHandler = new InlineTableDataReadHandler(types[columnCount]);
      columnCount += 1;
      data.add(dataReadHandler);
View Full Code Here

            throw new ParseException("Parsing the specified local-copy failed", getLocator());
          }
        }
      }

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

      if (parseDataDefinition(primaryFile) == false)
      {
        final String fallbackFile = atts.getValue(getUri(), "local-copy");
        if (fallbackFile != null)
        {
          if (parseDataDefinition(fallbackFile) == false)
          {
            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

          {
            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

TOP

Related Classes of org.pentaho.reporting.libraries.xmlns.parser.IgnoreAnyChildReadHandler

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.