public class ChangesXML extends Object
Constructor and Description |
---|
ChangesXML(File xmlPath,
Log log)
Constructor that sets the changes.xml file and the logger.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthor()
Returns the current value of the author attribute.
|
String |
getAuthorEmail()
Returns the current value of the
authorEmail attribute. |
ChangesDocument |
getChangesDocument()
Returns the current value of the
changesDocument attribute. |
List<Release> |
getReleaseList()
Returns the current value of the
releaseList attribute. |
String |
getTitle()
Returns the current value of the
title attribute. |
void |
setAuthor(String author)
Sets the
author attribute. |
void |
setAuthorEmail(String authorEmail)
Sets the
authorEmail attribute. |
void |
setReleaseList(List<Release> releaseList)
Sets the
releaseList attribute. |
void |
setTitle(String title)
Sets the
title attribute. |
public ChangesXML(File xmlPath, Log log) throws ChangesXMLRuntimeException
xmlPath
- the changes.xml filelog
- the loggerChangesXMLRuntimeException
- if there was a fatal error while parsing the changes.xml filepublic void setAuthor(String author)
author
attribute.author
- the new value of the author
attributepublic String getAuthor()
public void setReleaseList(List<Release> releaseList)
releaseList
attribute.releaseList
- the new value of the releaseList
attributepublic List<Release> getReleaseList()
releaseList
attribute.releaseList
attributepublic void setTitle(String title)
title
attribute.title
- the new value of the title
attributepublic String getTitle()
title
attribute.title
attributepublic ChangesDocument getChangesDocument()
changesDocument
attribute.changesDocument
attributepublic String getAuthorEmail()
authorEmail
attribute.authorEmail
attributepublic void setAuthorEmail(String authorEmail)
authorEmail
attribute.authorEmail
- the new value of the authorEmail
attributeCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.