Package org.pentaho.reporting.engine.classic.core.modules.parser.bundle.layout

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.bundle.layout.ElementReadHandler


      {
        return contentReadHandler;
      }
      else
      {
        final ElementReadHandler readHandler =
            (ElementReadHandler) BandedRootElementReadHandlerFactory.getInstance().getHandler(uri, tagName);
        if (readHandler != null)
        {
          this.subReportReadHandler.add(readHandler);
        }
View Full Code Here


  protected void doneParsing() throws SAXException
  {
    element = (AbstractRootLevelBand) contentReadHandler.getElement();
    for (int i = 0; i < subReportReadHandler.size(); i++)
    {
      final ElementReadHandler handler = (ElementReadHandler) subReportReadHandler.get(i);
      final Object o = handler.getObject();
      if (o instanceof SubReport)
      {
        element.addSubReport((SubReport) o);
      }
    }
View Full Code Here

                                              final String tagName,
                                              final Attributes atts) throws SAXException
  {

    final ElementReadHandlerFactory factory = ElementReadHandlerFactory.getInstance();
    final ElementReadHandler handler = (ElementReadHandler) factory.getHandler(uri, tagName);
    if (handler != null)
    {
      elementHandlers.add(handler);
      return handler;
    }
View Full Code Here

      {
        return contentReadHandler;
      }
      else
      {
        final ElementReadHandler readHandler =
            BundleElementRegistry.getInstance().getReadHandler(uri, tagName, getLocator());
        if (readHandler != null)
        {
          this.subReportReadHandler.add(readHandler);
        }
View Full Code Here

  protected void doneParsing() throws SAXException
  {
    element = (AbstractRootLevelBand) contentReadHandler.getElement();
    for (int i = 0; i < subReportReadHandler.size(); i++)
    {
      final ElementReadHandler handler = subReportReadHandler.get(i);
      final Object o = handler.getObject();
      if (o instanceof SubReport)
      {
        element.addSubReport((SubReport) o);
      }
    }
View Full Code Here

  protected XmlReadHandler getHandlerForChild(final String uri,
                                              final String tagName,
                                              final Attributes atts) throws SAXException
  {

    final ElementReadHandler handler = BundleElementRegistry.getInstance().getReadHandler(uri, tagName, getLocator());
    if (handler != null)
    {
      elementHandlers.add(handler);
      return handler;
    }
View Full Code Here

    super.doneParsing();

    final Band band = getElement();
    for (int i = 0; i < elementHandlers.size(); i++)
    {
      final ElementReadHandler readHandler = elementHandlers.get(i);
      band.addElement(readHandler.getElement());
    }
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.modules.parser.bundle.layout.ElementReadHandler

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.