org.apache.camel.view
Class XmlGraphGenerator

java.lang.Object
  extended by org.apache.camel.view.GraphSupport
      extended by org.apache.camel.view.GraphGeneratorSupport
          extended by org.apache.camel.view.XmlGraphGenerator

public class XmlGraphGenerator
extends GraphGeneratorSupport

Version:

Field Summary
 
Fields inherited from class org.apache.camel.view.GraphGeneratorSupport
clusterCounter, dir, extension
 
Fields inherited from class org.apache.camel.view.GraphSupport
log, nodeMap
 
Constructor Summary
XmlGraphGenerator(String dir)
           
 
Method Summary
protected  void generateFile(PrintWriter writer, Map<String,List<RouteDefinition>> map)
           
protected  void printNode(PrintWriter writer, NodeData data)
           
protected  NodeData printNode(PrintWriter writer, NodeData fromData, ProcessorDefinition node)
           
protected  void printRoute(PrintWriter writer, RouteDefinition route, NodeData nodeData)
           
protected  void printRoutes(PrintWriter writer, Map<String,List<RouteDefinition>> map)
           
protected  void printRoutes(PrintWriter writer, String group, List<RouteDefinition> routes)
           
 
Methods inherited from class org.apache.camel.view.GraphGeneratorSupport
drawRoutes, getRoutesText
 
Methods inherited from class org.apache.camel.view.GraphSupport
addRouteToMap, createRouteGroupMap, getImagePrefix, getLabel, getLabel, getNodeData, isMulticastNode, isPipeline, setImagePrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlGraphGenerator

public XmlGraphGenerator(String dir)
Method Detail

generateFile

protected void generateFile(PrintWriter writer,
                            Map<String,List<RouteDefinition>> map)
Specified by:
generateFile in class GraphGeneratorSupport

printRoutes

protected void printRoutes(PrintWriter writer,
                           Map<String,List<RouteDefinition>> map)

printRoutes

protected void printRoutes(PrintWriter writer,
                           String group,
                           List<RouteDefinition> routes)

printRoute

protected void printRoute(PrintWriter writer,
                          RouteDefinition route,
                          NodeData nodeData)

printNode

protected NodeData printNode(PrintWriter writer,
                             NodeData fromData,
                             ProcessorDefinition node)

printNode

protected void printNode(PrintWriter writer,
                         NodeData data)


Apache CAMEL