Tabnine Logo
ReportConfiguration.getOutputWriter
Code IndexAdd Tabnine to your IDE (free)

How to use
getOutputWriter
method
in
org.milyn.event.report.ReportConfiguration

Best Java code snippets using org.milyn.event.report.ReportConfiguration.getOutputWriter (Showing top 12 results out of 315)

origin: org.milyn/milyn-smooks-all

public Writer getOutputWriter() {
  return reportConfiguration.getOutputWriter();
}
origin: org.virtuslab/milyn-smooks-core

public Writer getOutputWriter() {
  return reportConfiguration.getOutputWriter();
}
origin: smooks/smooks

public Writer getOutputWriter() {
  return reportConfiguration.getOutputWriter();
}
origin: org.milyn/milyn-smooks-core

public Writer getOutputWriter() {
  return reportConfiguration.getOutputWriter();
}
origin: org.milyn/milyn-smooks-all

@SuppressWarnings("unchecked")
public void applyTemplate(Report report) throws IOException {
  FreeMarkerTemplate template;
  System.out.println();
  System.out.println("****************************************************************************************");
  System.out.println("  HTML REPORT GENERATOR IN USE!!!");
  System.out.println("  Please disable in Production mode.  This feature is a major performance drain!!");
  System.out.println("****************************************************************************************");
  System.out.println();
  if(report instanceof DOMReport) {
    template = new FreeMarkerTemplate("html/template-dom.html", HtmlReportGenerator.class);
  } else {
    template = new FreeMarkerTemplate("html/template-sax.html", HtmlReportGenerator.class);
  }
  Writer writer = getReportConfiguration().getOutputWriter();
  Map templateModel = new HashMap();
  templateModel.put("report", report);
  templateModel.put("htmlEscape", new HtmlEscape());
  writer.write(template.apply(templateModel));
}
origin: org.virtuslab/milyn-smooks-core

public void applyTemplate(Report report) throws IOException {
  FreeMarkerTemplate template;
  System.out.println();
  System.out.println("****************************************************************************************");
  System.out.println("  HTML REPORT GENERATOR IN USE!!!");
  System.out.println("  Please disable in Production mode.  This feature is a major performance drain!!");
  System.out.println("****************************************************************************************");
  System.out.println();
  if(report instanceof DOMReport) {
    template = new FreeMarkerTemplate("html/template-dom.html", HtmlReportGenerator.class);
  } else {
    template = new FreeMarkerTemplate("html/template-sax.html", HtmlReportGenerator.class);
  }
  Writer writer = getReportConfiguration().getOutputWriter();
  Map templateModel = new HashMap();
  templateModel.put("report", report);
  templateModel.put("htmlEscape", new HtmlEscape());
  writer.write(template.apply(templateModel));
}
origin: smooks/smooks

@SuppressWarnings("unchecked")
public void applyTemplate(Report report) throws IOException {
  FreeMarkerTemplate template;
  System.out.println();
  System.out.println("****************************************************************************************");
  System.out.println("  HTML REPORT GENERATOR IN USE!!!");
  System.out.println("  Please disable in Production mode.  This feature is a major performance drain!!");
  System.out.println("****************************************************************************************");
  System.out.println();
  if(report instanceof DOMReport) {
    template = new FreeMarkerTemplate("html/template-dom.html", HtmlReportGenerator.class);
  } else {
    template = new FreeMarkerTemplate("html/template-sax.html", HtmlReportGenerator.class);
  }
  Writer writer = getReportConfiguration().getOutputWriter();
  Map templateModel = new HashMap();
  templateModel.put("report", report);
  templateModel.put("htmlEscape", new HtmlEscape());
  writer.write(template.apply(templateModel));
}
origin: org.milyn/milyn-smooks-core

@SuppressWarnings("unchecked")
public void applyTemplate(Report report) throws IOException {
  FreeMarkerTemplate template;
  System.out.println();
  System.out.println("****************************************************************************************");
  System.out.println("  HTML REPORT GENERATOR IN USE!!!");
  System.out.println("  Please disable in Production mode.  This feature is a major performance drain!!");
  System.out.println("****************************************************************************************");
  System.out.println();
  if(report instanceof DOMReport) {
    template = new FreeMarkerTemplate("html/template-dom.html", HtmlReportGenerator.class);
  } else {
    template = new FreeMarkerTemplate("html/template-sax.html", HtmlReportGenerator.class);
  }
  Writer writer = getReportConfiguration().getOutputWriter();
  Map templateModel = new HashMap();
  templateModel.put("report", report);
  templateModel.put("htmlEscape", new HtmlEscape());
  writer.write(template.apply(templateModel));
}
origin: org.milyn/milyn-smooks-core

  applyTemplate(report);
} finally {
  Writer writer = reportConfiguration.getOutputWriter();
  try {
    writer.flush();
origin: org.milyn/milyn-smooks-all

  applyTemplate(report);
} finally {
  Writer writer = reportConfiguration.getOutputWriter();
  try {
    writer.flush();
origin: smooks/smooks

  applyTemplate(report);
} finally {
  Writer writer = reportConfiguration.getOutputWriter();
  try {
    writer.flush();
origin: org.virtuslab/milyn-smooks-core

  applyTemplate(report);
} finally {
  Writer writer = reportConfiguration.getOutputWriter();
  try {
    writer.flush();
org.milyn.event.reportReportConfigurationgetOutputWriter

Popular methods of ReportConfiguration

  • <init>
  • autoCloseWriter
  • getFilterEvents
  • setTempOutDir
  • showDefaultAppliedResources

Popular in Java

  • Updating database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • getSystemService (Context)
  • requestLocationUpdates (LocationManager)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Path (java.nio.file)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • JFrame (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now