org.apache.maven.scm.command.changelog
Class ChangeLogSet

java.lang.Object
  extended byorg.apache.maven.scm.command.changelog.ChangeLogSet

public class ChangeLogSet
extends java.lang.Object

Version:
$Id: ChangeLogSet.java 383898 2006-03-07 14:21:09Z evenisse $
Author:
Emmanuel Venisse

Field Summary
static java.lang.String DEFAULT_ENCODING
           
 
Constructor Summary
ChangeLogSet(java.util.Date startDate, java.util.Date endDate)
          Initializes a new instance of this class.
ChangeLogSet(java.util.List entries, java.util.Date startDate, java.util.Date endDate)
          Initializes a new instance of this class.
 
Method Summary
 java.util.List getChangeSets()
          Returns the collection of changeSet.
 java.util.Date getEndDate()
          Returns the end date for this set.
 java.util.Date getStartDate()
          Returns the start date.
 void setChangeSets(java.util.List changeSets)
           
 java.lang.String toXML()
          Creates an XML representation of this change log set with a default encoding (ISO-8859-1).
 java.lang.String toXML(java.lang.String encoding)
          Creates an XML representation of this change log set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ENCODING

public static final java.lang.String DEFAULT_ENCODING
See Also:
Constant Field Values
Constructor Detail

ChangeLogSet

public ChangeLogSet(java.util.Date startDate,
                    java.util.Date endDate)
Initializes a new instance of this class.

Parameters:
startDate - the start date/tag for this set.
endDate - the end date/tag for this set, or null if this set goes to the present time.

ChangeLogSet

public ChangeLogSet(java.util.List entries,
                    java.util.Date startDate,
                    java.util.Date endDate)
Initializes a new instance of this class.

Parameters:
entries - collection of ChangeSet objects for this set.
startDate - the start date/tag for this set.
endDate - the end date/tag for this set, or null if this set goes to the present time.
Method Detail

getStartDate

public java.util.Date getStartDate()
Returns the start date.

Returns:
the start date.

getEndDate

public java.util.Date getEndDate()
Returns the end date for this set.

Returns:
the end date for this set, or null if this set goes to the present time.

getChangeSets

public java.util.List getChangeSets()
Returns the collection of changeSet.

Returns:
the collection of ChangeSet objects for this set.

setChangeSets

public void setChangeSets(java.util.List changeSets)

toXML

public java.lang.String toXML()
Creates an XML representation of this change log set with a default encoding (ISO-8859-1).


toXML

public java.lang.String toXML(java.lang.String encoding)
Creates an XML representation of this change log set.



Copyright © 2003-2006 Apache Software Foundation. All Rights Reserved.