th.co.edge.jseq.svg
Class SVGGenerator

java.lang.Object
  extended by th.co.edge.jseq.svg.SVGGenerator

public class SVGGenerator
extends java.lang.Object

A SVGGenerator is used to create a sequence diagram in SVG format.


Constructor Summary
SVGGenerator()
          Creates a new SVGGenerator.
 
Method Summary
 org.w3c.dom.Document createSVGDocument(ActivationList activationList)
          Returns a new XML Document representing an ActivationList as an SVG document.
 Diagram generate(ActivationList activationList)
          Returns a new SVG sequence diagram based on the given ActivationList, representing the root activations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGGenerator

public SVGGenerator()
             throws javax.xml.parsers.ParserConfigurationException
Creates a new SVGGenerator.

Throws:
javax.xml.parsers.ParserConfigurationException - if there is an error in the XML parser configuration (should normally not occur)
Method Detail

generate

public Diagram generate(ActivationList activationList)
Returns a new SVG sequence diagram based on the given ActivationList, representing the root activations.

Parameters:
activationList - the root activations to use to generate the diagram
Returns:
an SVG TextDiagram that can be written to file as XML

createSVGDocument

public org.w3c.dom.Document createSVGDocument(ActivationList activationList)
Returns a new XML Document representing an ActivationList as an SVG document.

Parameters:
activationList - the root activations to use to generate this diagram
Returns:
an XML Document representing activationList as an SVG document


Copyright © 2008 Edge Software, Co., Ltd.. All Rights Reserved.