net.sf.statcvs.pages.xml

Class CommitListXml


public class CommitListXml
extends Object

This is a mere copy of the CommitListFormatter class with dfew minor changes done Class for formatting a list of commits as XML.
Version:
$Id: CommitListXml.java,v 1.4 2008/04/02 11:52:02 benoitx Exp $
Authors:
Anja Jentzsch
Richard Cyganiak (richard@cyganiak.de)

Constructor Summary

CommitListXml(List commits, List tags, boolean withPermalinks)
Creates a new instance for the list of commits.
CommitListXml(List commit, List tags, int max, boolean withPermalinks)
Creates a new instance for the list of commits.

Method Summary

Element
renderCommitList(List commitList)

Constructor Details

CommitListXml

public CommitListXml(List commits,
                     List tags,
                     boolean withPermalinks)
Creates a new instance for the list of commits.

CommitListXml

public CommitListXml(List commit,
                     List tags,
                     int max,
                     boolean withPermalinks)
Creates a new instance for the list of commits.
Parameters:
max - maximum number of commits for the log; if there are more, only the most recent will be used

Method Details

renderCommitList

public Element renderCommitList(List commitList)