The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

UML::Sequence::JavaSeq - for use with genericseq.pl script, works on compiled Java programs

SYNOPSIS

    genericseq.pl UML::Sequence::JavaSeq Hello.methods Hello > Hello.xml
    seq2svg.pl Hello.xml > Hello.svg

OR

    genericseq.pl UML::Sequence::JavaSeq Hello.methods Hello | seq2svg.pl > Hello.svg

DESCRIPTION

This file depends on UML::Sequence::SimpleSeq and a Java tool called Seq.java. The later produces an outline of the calls to methods named in Hello.methods. The former provides methods UML::Sequence needs to produce an xml sequence. Look in the provided Hello.methods to see what options you have for controlling output.

For this class to work, you must have Seq.class (and its friends) and tools.jar (the one containing the the jpda) in your class path. Your jpda must be happy. (The jpda is the Java Platform Debugger Architecture. It ships with java 1.3.)

grab_outline_text

Call this method through the class name with the method file, the class you want to sequence, and any arguments that class's main method needs. Returns an outline you can pass to UML::Sequence::SimpleSeq->grab_methods and to the UML::Sequence constructor.