org.mule.tools.visualizer.processor
Class TagProcessor

java.lang.Object
  extended byorg.mule.tools.visualizer.processor.TagProcessor
Direct Known Subclasses:
AgentProcessor, ConnectionStrategyProcessor, ConnectorProcessor, DescriptorProcessor, EndpointIdentifiersProcessor, EndpointsProcessor, ExceptionStrategyProcessor, InboundFilterProcessor, InboundRoutersProcessor, MuleConfigProcessor, MuleModelProcessor, OutboundFilterProcessor, OutBoundRouterEndpointsHandler, OutBoundRoutersProcessor, ResponseRouterProcessor, ShortestNotationHandler, TransformerProcessor

public abstract class TagProcessor
extends Object


Constructor Summary
TagProcessor(GraphEnvironment env)
           
 
Method Summary
static void addEdge(com.oy.shared.lm.graph.Graph graph, com.oy.shared.lm.graph.GraphNode src, com.oy.shared.lm.graph.GraphNode dest, String caption, boolean twoway)
           
static void addRelation(com.oy.shared.lm.graph.Graph graph, com.oy.shared.lm.graph.GraphNode src, com.oy.shared.lm.graph.GraphNode dest, String caption)
           
protected  void appendAttribute(org.jdom.Element e, String name, StringBuffer caption)
           
static void appendDescription(org.jdom.Element e, StringBuffer caption)
           
protected  void appendProfiles(org.jdom.Element descriptor, StringBuffer caption)
           
static void appendProperties(org.jdom.Element element, StringBuffer caption)
           
static GraphEnvironment getEnvironment()
           
protected static boolean ignoreAttribute(String name)
           
 boolean isTwoWay(org.jdom.Element e)
           
protected static String lookupPropertyTemplate(String template)
           
abstract  void process(com.oy.shared.lm.graph.Graph graph, org.jdom.Element currentElement, com.oy.shared.lm.graph.GraphNode parent)
           
protected static void setEnvironment(GraphEnvironment environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagProcessor

public TagProcessor(GraphEnvironment env)
Method Detail

process

public abstract void process(com.oy.shared.lm.graph.Graph graph,
                             org.jdom.Element currentElement,
                             com.oy.shared.lm.graph.GraphNode parent)

appendProperties

public static void appendProperties(org.jdom.Element element,
                                    StringBuffer caption)

ignoreAttribute

protected static boolean ignoreAttribute(String name)

appendDescription

public static void appendDescription(org.jdom.Element e,
                                     StringBuffer caption)

appendProfiles

protected void appendProfiles(org.jdom.Element descriptor,
                              StringBuffer caption)

appendAttribute

protected void appendAttribute(org.jdom.Element e,
                               String name,
                               StringBuffer caption)

addEdge

public static void addEdge(com.oy.shared.lm.graph.Graph graph,
                           com.oy.shared.lm.graph.GraphNode src,
                           com.oy.shared.lm.graph.GraphNode dest,
                           String caption,
                           boolean twoway)

addRelation

public static void addRelation(com.oy.shared.lm.graph.Graph graph,
                               com.oy.shared.lm.graph.GraphNode src,
                               com.oy.shared.lm.graph.GraphNode dest,
                               String caption)

isTwoWay

public boolean isTwoWay(org.jdom.Element e)

lookupPropertyTemplate

protected static String lookupPropertyTemplate(String template)

setEnvironment

protected static void setEnvironment(GraphEnvironment environment)

getEnvironment

public static GraphEnvironment getEnvironment()


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.