Codota Logo
AbstractReportGenerator.mapNode
Code IndexAdd Codota to your IDE (free)

How to use
mapNode
method
in
org.milyn.event.report.AbstractReportGenerator

Best Java code snippets using org.milyn.event.report.AbstractReportGenerator.mapNode (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: smooks/smooks

private void mapMessageNodeVists(List<MessageNode> visits) throws IOException {
  if (!allNodes.isEmpty()) {
    mapNode(reportNodeStack.elementAt(0), visits);
  }
  // And clear everything...
  preProcessingEvents.clear();
  processingEvents.clear();
  reportNodeStack.clear();
  allNodes.clear();
}
origin: smooks/smooks

private void mapNode(ReportNode reportNode, List<MessageNode> visits) throws IOException {
  List<ReportNode> children;
  MessageNode messageNode;
  messageNode = new MessageNode();
  messageNode.setNodeId(messageNodeCounter);
  messageNode.setElementName(reportNode.getElementName());
  messageNode.setVisitBefore(true);
  messageNode.setDepth(reportNode.getDepth());
  mapNodeEvents(VisitSequence.BEFORE, reportNode, messageNode);
  visits.add(messageNode);
  messageNodeCounter++;
  children = reportNode.children;
  for (ReportNode child : children) {
    mapNode(child, visits);
  }
  messageNode = new MessageNode();
  messageNode.setNodeId(messageNodeCounter);
  messageNode.setElementName(reportNode.getElementName());
  messageNode.setVisitBefore(false);
  messageNode.setDepth(reportNode.getDepth());
  mapNodeEvents(VisitSequence.AFTER, reportNode, messageNode);
  visits.add(messageNode);
  messageNodeCounter++;
}
origin: org.milyn/milyn-smooks-all

private void mapNode(ReportNode reportNode, List<MessageNode> visits) throws IOException {
  List<ReportNode> children;
  MessageNode messageNode;
  messageNode = new MessageNode();
  messageNode.setNodeId(messageNodeCounter);
  messageNode.setElementName(reportNode.getElementName());
  messageNode.setVisitBefore(true);
  messageNode.setDepth(reportNode.getDepth());
  mapNodeEvents(VisitSequence.BEFORE, reportNode, messageNode);
  visits.add(messageNode);
  messageNodeCounter++;
  children = reportNode.children;
  for (ReportNode child : children) {
    mapNode(child, visits);
  }
  messageNode = new MessageNode();
  messageNode.setNodeId(messageNodeCounter);
  messageNode.setElementName(reportNode.getElementName());
  messageNode.setVisitBefore(false);
  messageNode.setDepth(reportNode.getDepth());
  mapNodeEvents(VisitSequence.AFTER, reportNode, messageNode);
  visits.add(messageNode);
  messageNodeCounter++;
}
origin: org.milyn/milyn-smooks-core

private void mapMessageNodeVists(List<MessageNode> visits) throws IOException {
  if (!allNodes.isEmpty()) {
    mapNode(reportNodeStack.elementAt(0), visits);
  }
  // And clear everything...
  preProcessingEvents.clear();
  processingEvents.clear();
  reportNodeStack.clear();
  allNodes.clear();
}
origin: org.milyn/milyn-smooks-core

private void mapNode(ReportNode reportNode, List<MessageNode> visits) throws IOException {
  List<ReportNode> children;
  MessageNode messageNode;
  messageNode = new MessageNode();
  messageNode.setNodeId(messageNodeCounter);
  messageNode.setElementName(reportNode.getElementName());
  messageNode.setVisitBefore(true);
  messageNode.setDepth(reportNode.getDepth());
  mapNodeEvents(VisitSequence.BEFORE, reportNode, messageNode);
  visits.add(messageNode);
  messageNodeCounter++;
  children = reportNode.children;
  for (ReportNode child : children) {
    mapNode(child, visits);
  }
  messageNode = new MessageNode();
  messageNode.setNodeId(messageNodeCounter);
  messageNode.setElementName(reportNode.getElementName());
  messageNode.setVisitBefore(false);
  messageNode.setDepth(reportNode.getDepth());
  mapNodeEvents(VisitSequence.AFTER, reportNode, messageNode);
  visits.add(messageNode);
  messageNodeCounter++;
}
origin: org.virtuslab/milyn-smooks-core

private void mapMessageNodeVists(List<MessageNode> visits) throws IOException {
  if (!allNodes.isEmpty()) {
    mapNode(reportNodeStack.elementAt(0), visits);
  }
  // And clear everything...
  preProcessingEvents.clear();
  processingEvents.clear();
  reportNodeStack.clear();
  allNodes.clear();
}
origin: org.virtuslab/milyn-smooks-core

private void mapNode(ReportNode reportNode, List<MessageNode> visits) throws IOException {
  List<ReportNode> children;
  MessageNode messageNode;
  messageNode = new MessageNode();
  messageNode.setNodeId(messageNodeCounter);
  messageNode.setElementName(reportNode.getElementName());
  messageNode.setVisitBefore(true);
  messageNode.setDepth(reportNode.getDepth());
  mapNodeEvents(VisitSequence.BEFORE, reportNode, messageNode);
  visits.add(messageNode);
  messageNodeCounter++;
  children = reportNode.children;
  for (ReportNode child : children) {
    mapNode(child, visits);
  }
  messageNode = new MessageNode();
  messageNode.setNodeId(messageNodeCounter);
  messageNode.setElementName(reportNode.getElementName());
  messageNode.setVisitBefore(false);
  messageNode.setDepth(reportNode.getDepth());
  mapNodeEvents(VisitSequence.AFTER, reportNode, messageNode);
  visits.add(messageNode);
  messageNodeCounter++;
}
origin: org.milyn/milyn-smooks-all

private void mapMessageNodeVists(List<MessageNode> visits) throws IOException {
  if (!allNodes.isEmpty()) {
    mapNode(reportNodeStack.elementAt(0), visits);
  }
  // And clear everything...
  preProcessingEvents.clear();
  processingEvents.clear();
  reportNodeStack.clear();
  allNodes.clear();
}
org.milyn.event.reportAbstractReportGeneratormapNode

Popular methods of AbstractReportGenerator

  • applyTemplate
  • getReportNode
  • ignoreEvent
  • mapConfigBuilderEvents
  • mapMessageNodeVists
  • mapNodeEvents
  • processFinishEvent
  • processLifecycleEvent
  • processNewElementEvent
  • setFilterEvents

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • JTextField (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now