org.apache.camel.view
Class GraphGeneratorSupport

java.lang.Object
  extended by org.apache.camel.view.GraphSupport
      extended by org.apache.camel.view.GraphGeneratorSupport
Direct Known Subclasses:
RouteDotGenerator, XmlGraphGenerator

public abstract class GraphGeneratorSupport
extends GraphSupport

Version:
$Revision: 18258 $

Field Summary
protected  int clusterCounter
           
protected  String dir
           
protected  String extension
           
 
Fields inherited from class org.apache.camel.view.GraphSupport
log, nodeMap
 
Constructor Summary
protected GraphGeneratorSupport(String dir, String extension)
           
 
Method Summary
 void drawRoutes(CamelContext context)
           
protected abstract  void generateFile(PrintWriter writer, Map<String,List<RouteDefinition>> map)
           
 String getRoutesText(CamelContext context)
           
 
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
 

Field Detail

dir

protected String dir

clusterCounter

protected int clusterCounter

extension

protected String extension
Constructor Detail

GraphGeneratorSupport

protected GraphGeneratorSupport(String dir,
                                String extension)
Method Detail

getRoutesText

public String getRoutesText(CamelContext context)
                     throws IOException
Throws:
IOException

drawRoutes

public void drawRoutes(CamelContext context)
                throws IOException
Throws:
IOException

generateFile

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


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.