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

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

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

origin: smooks/smooks

private void mapNodeEvents(VisitSequence visitSequence, ReportNode reportNode, MessageNode messageNode) {
  List<ExecutionEvent> events = reportNode.getElementProcessingEvents();
  for (ExecutionEvent event : events) {
    if (event instanceof ElementVisitEvent) {
      ElementVisitEvent visitEvent = (ElementVisitEvent) event;
      if (visitEvent.getSequence() == visitSequence) {
        ReportInfoNode reportInfoNode = new ReportInfoNode();
        ContentHandlerConfigMap configMapping = ((ElementVisitEvent) event).getConfigMapping();
        messageNode.addExecInfoNode(reportInfoNode);
        reportInfoNode.setNodeId(reportInfoNodeCounter);
        reportInfoNode.setSummary(configMapping.getContentHandler().getClass().getSimpleName() + ": " + visitEvent.getReportSummary());
        reportInfoNode.setDetail(visitEvent.getReportDetail());
        reportInfoNode.setResourceXML(configMapping.getResourceConfig().toXML());
        reportInfoNode.setContextState(visitEvent.getExecutionContextState());
        reportInfoNodeCounter++;
      }
    }
  }
}
origin: org.virtuslab/milyn-smooks-core

private void mapNodeEvents(VisitSequence visitSequence, ReportNode reportNode, MessageNode messageNode) {
  List<ExecutionEvent> events = reportNode.getElementProcessingEvents();
  for (ExecutionEvent event : events) {
    if (event instanceof ElementVisitEvent) {
      ElementVisitEvent visitEvent = (ElementVisitEvent) event;
      if (visitEvent.getSequence() == visitSequence) {
        ReportInfoNode reportInfoNode = new ReportInfoNode();
        ContentHandlerConfigMap configMapping = ((ElementVisitEvent) event).getConfigMapping();
        messageNode.addExecInfoNode(reportInfoNode);
        reportInfoNode.setNodeId(reportInfoNodeCounter);
        reportInfoNode.setSummary(configMapping.getContentHandler().getClass().getSimpleName() + ": " + visitEvent.getReportSummary());
        reportInfoNode.setDetail(visitEvent.getReportDetail());
        reportInfoNode.setResourceXML(configMapping.getResourceConfig().toXML());
        reportInfoNode.setContextState(visitEvent.getExecutionContextState());
        reportInfoNodeCounter++;
      }
    }
  }
}
origin: org.milyn/milyn-smooks-core

private void mapNodeEvents(VisitSequence visitSequence, ReportNode reportNode, MessageNode messageNode) {
  List<ExecutionEvent> events = reportNode.getElementProcessingEvents();
  for (ExecutionEvent event : events) {
    if (event instanceof ElementVisitEvent) {
      ElementVisitEvent visitEvent = (ElementVisitEvent) event;
      if (visitEvent.getSequence() == visitSequence) {
        ReportInfoNode reportInfoNode = new ReportInfoNode();
        ContentHandlerConfigMap configMapping = ((ElementVisitEvent) event).getConfigMapping();
        messageNode.addExecInfoNode(reportInfoNode);
        reportInfoNode.setNodeId(reportInfoNodeCounter);
        reportInfoNode.setSummary(configMapping.getContentHandler().getClass().getSimpleName() + ": " + visitEvent.getReportSummary());
        reportInfoNode.setDetail(visitEvent.getReportDetail());
        reportInfoNode.setResourceXML(configMapping.getResourceConfig().toXML());
        reportInfoNode.setContextState(visitEvent.getExecutionContextState());
        reportInfoNodeCounter++;
      }
    }
  }
}
origin: org.milyn/milyn-smooks-all

private void mapNodeEvents(VisitSequence visitSequence, ReportNode reportNode, MessageNode messageNode) {
  List<ExecutionEvent> events = reportNode.getElementProcessingEvents();
  for (ExecutionEvent event : events) {
    if (event instanceof ElementVisitEvent) {
      ElementVisitEvent visitEvent = (ElementVisitEvent) event;
      if (visitEvent.getSequence() == visitSequence) {
        ReportInfoNode reportInfoNode = new ReportInfoNode();
        ContentHandlerConfigMap configMapping = ((ElementVisitEvent) event).getConfigMapping();
        messageNode.addExecInfoNode(reportInfoNode);
        reportInfoNode.setNodeId(reportInfoNodeCounter);
        reportInfoNode.setSummary(configMapping.getContentHandler().getClass().getSimpleName() + ": " + visitEvent.getReportSummary());
        reportInfoNode.setDetail(visitEvent.getReportDetail());
        reportInfoNode.setResourceXML(configMapping.getResourceConfig().toXML());
        reportInfoNode.setContextState(visitEvent.getExecutionContextState());
        reportInfoNodeCounter++;
      }
    }
  }
}
org.milyn.event.typesElementVisitEventgetReportDetail

Popular methods of ElementVisitEvent

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

Popular in Java

  • Finding current android device location
  • getResourceAsStream (ClassLoader)
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JFileChooser (javax.swing)
  • 21 Best IntelliJ 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