congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ElementVisitEvent.evalReportCondition
Code IndexAdd Tabnine to your IDE (free)

How to use
evalReportCondition
method
in
org.milyn.event.types.ElementVisitEvent

Best Java code snippets using org.milyn.event.types.ElementVisitEvent.evalReportCondition (Showing top 4 results out of 315)

origin: smooks/smooks

private void initReport(ExecutionContext executionContext) {
  ContentHandler handler = configMapping.getContentHandler();
  if (getSequence() == VisitSequence.BEFORE) {
    VisitBeforeReport reportAnnotation = handler.getClass().getAnnotation(VisitBeforeReport.class);
    if (reportAnnotation != null && evalReportCondition(reportAnnotation.condition())) {
      applyReportTemplates(reportAnnotation.summary(), reportAnnotation.detailTemplate(), handler.getClass(), executionContext);
    }
  } else {
    VisitAfterReport reportAnnotation = handler.getClass().getAnnotation(VisitAfterReport.class);
    if (reportAnnotation != null && evalReportCondition(reportAnnotation.condition())) {
      applyReportTemplates(reportAnnotation.summary(), reportAnnotation.detailTemplate(), handler.getClass(), executionContext);
    }
  }
  if (reportDetail == null) {
    // No template ...
    reportDetail = executionContextState;
  }
}
origin: org.milyn/milyn-smooks-all

private void initReport(ExecutionContext executionContext) {
  ContentHandler handler = configMapping.getContentHandler();
  if (getSequence() == VisitSequence.BEFORE) {
    VisitBeforeReport reportAnnotation = handler.getClass().getAnnotation(VisitBeforeReport.class);
    if (reportAnnotation != null && evalReportCondition(reportAnnotation.condition())) {
      applyReportTemplates(reportAnnotation.summary(), reportAnnotation.detailTemplate(), handler.getClass(), executionContext);
    }
  } else {
    VisitAfterReport reportAnnotation = handler.getClass().getAnnotation(VisitAfterReport.class);
    if (reportAnnotation != null && evalReportCondition(reportAnnotation.condition())) {
      applyReportTemplates(reportAnnotation.summary(), reportAnnotation.detailTemplate(), handler.getClass(), executionContext);
    }
  }
  if (reportDetail == null) {
    // No template ...
    reportDetail = executionContextState;
  }
}
origin: org.milyn/milyn-smooks-core

private void initReport(ExecutionContext executionContext) {
  ContentHandler handler = configMapping.getContentHandler();
  if (getSequence() == VisitSequence.BEFORE) {
    VisitBeforeReport reportAnnotation = handler.getClass().getAnnotation(VisitBeforeReport.class);
    if (reportAnnotation != null && evalReportCondition(reportAnnotation.condition())) {
      applyReportTemplates(reportAnnotation.summary(), reportAnnotation.detailTemplate(), handler.getClass(), executionContext);
    }
  } else {
    VisitAfterReport reportAnnotation = handler.getClass().getAnnotation(VisitAfterReport.class);
    if (reportAnnotation != null && evalReportCondition(reportAnnotation.condition())) {
      applyReportTemplates(reportAnnotation.summary(), reportAnnotation.detailTemplate(), handler.getClass(), executionContext);
    }
  }
  if (reportDetail == null) {
    // No template ...
    reportDetail = executionContextState;
  }
}
origin: org.virtuslab/milyn-smooks-core

private void initReport(ExecutionContext executionContext) {
  ContentHandler handler = configMapping.getContentHandler();
  if (getSequence() == VisitSequence.BEFORE) {
    VisitBeforeReport reportAnnotation = handler.getClass().getAnnotation(VisitBeforeReport.class);
    if (reportAnnotation != null && evalReportCondition(reportAnnotation.condition())) {
      applyReportTemplates(reportAnnotation.summary(), reportAnnotation.detailTemplate(), handler.getClass(), executionContext);
    }
  } else {
    VisitAfterReport reportAnnotation = handler.getClass().getAnnotation(VisitAfterReport.class);
    if (reportAnnotation != null && evalReportCondition(reportAnnotation.condition())) {
      applyReportTemplates(reportAnnotation.summary(), reportAnnotation.detailTemplate(), handler.getClass(), executionContext);
    }
  }
  if (reportDetail == null) {
    // No template ...
    reportDetail = executionContextState;
  }
}
org.milyn.event.typesElementVisitEventevalReportCondition

Popular methods of ElementVisitEvent

  • <init>
  • applyReportTemplates
  • getConfigMapping
  • getExecutionContextState
  • getReportDetail
  • getReportSummary
  • getResourceConfig
  • getSequence
  • initReport

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setContentView (Activity)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JPanel (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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