Examples of writeCloseTag()


Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeCloseTag()

      }

      writer.writeCloseTag();
    }

    writer.writeCloseTag();
    writer.flush();
  }
}
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeCloseTag()

    final AttributeList rootAttrs = new AttributeList();
    rootAttrs.addNamespaceDeclaration("data", StaticDataFactoryModule.NAMESPACE);
    xmlWriter.writeTag(StaticDataFactoryModule.NAMESPACE, "direct-static-datasource", rootAttrs, XmlWriterSupport.OPEN);

    xmlWriter.writeCloseTag();
    xmlWriter.close();
    return fileName;
  }
}
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeCloseTag()

    {
      final String queryName = queryNames[i];
      final String query = staticDataFactory.getQuery(queryName);
      xmlWriter.writeTag(StaticDataFactoryModule.NAMESPACE, "query", "name", queryName, XmlWriterSupport.OPEN);
      xmlWriter.writeTextNormalized(query, false);
      xmlWriter.writeCloseTag();
    }
    xmlWriter.writeCloseTag();
    xmlWriter.close();
    return fileName;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeCloseTag()

      final String query = staticDataFactory.getQuery(queryName);
      xmlWriter.writeTag(StaticDataFactoryModule.NAMESPACE, "query", "name", queryName, XmlWriterSupport.OPEN);
      xmlWriter.writeTextNormalized(query, false);
      xmlWriter.writeCloseTag();
    }
    xmlWriter.writeCloseTag();
    xmlWriter.close();
    return fileName;
  }
}
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeCloseTag()

    writer.writeTag(BundleNamespaces.CONTENT, "content", rootAttributes, XmlWriterSupport.OPEN);

    writer.writeComment(" The content.xml file remains intentionally empty. This file can be used to ");
    writer.writeComment(" inject global templates later. ");

    writer.writeCloseTag();
    writer.close();
    return contentFileState.getFileName();


  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeCloseTag()

    writer.writeTag(BundleNamespaces.SETTINGS, "settings", rootAttributes, XmlWriterSupport.OPEN);

    writeConfiguration(state, writer);
    writeRuntimeInformation(state, writer);

    writer.writeCloseTag();
    writer.close();

    return "settings.xml";
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeCloseTag()

    writeRootBand(ReportDescriptionWriter.WATERMARK_TAG, getReport().getWatermark());
    writeGroups();
    writeRootBand(ReportDescriptionWriter.ITEMBAND_TAG, getReport().getItemBand());
    writeRootBand(ReportDescriptionWriter.NO_DATA_BAND_TAG, getReport().getNoDataBand());

    writer.writeCloseTag();
  }

  private void writeSubReports(final RootLevelBand band)
      throws IOException, ReportWriterException
  {
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeCloseTag()

    if (band instanceof RootLevelBand)
    {
      writeSubReports((RootLevelBand) band);
    }

    writer.writeCloseTag();
  }

  private void writeStyleInfo(final Element band)
      throws IOException, ReportWriterException
  {
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeCloseTag()

      writer.writeTag(ExtParserModule.NAMESPACE, AbstractXMLDefinitionWriter.STYLE_TAG, XmlWriterSupport.OPEN);

      final StyleWriter styleWriter =
          new StyleWriter(getReportWriter(), band.getStyle(), writer);
      styleWriter.write();
      writer.writeCloseTag();
    }


    final Map styleExpressions = band.getStyleExpressions();
    final Iterator styleExpressionsIt = styleExpressions.entrySet().iterator();
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeCloseTag()

    writer.writeTag(ExtParserModule.NAMESPACE, ReportDescriptionWriter.ELEMENT_TAG, attList, XmlWriterSupport.OPEN);

    writeStyleInfo(element);
    writeDataSourceForElement(element);

    writer.writeCloseTag();
  }

  /**
   * Writes the datasource- or template-tag for an given element.
   *
 
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.