public class XmlLogs extends Object
Constructor and Description |
---|
XmlLogs()
Creates a new instance of XmlLogs.
|
XmlLogs(XmlLog c)
Creates a new instance of XmlLogs with one initial log.
|
Modifier and Type | Method and Description |
---|---|
void |
addXmlLog(XmlLog item)
Adds a log to the log collection.
|
Collection<XmlLog> |
getLogs()
Returns a collection of XmlLog.
|
void |
setLogs(Collection<XmlLog> items)
Sets the collection of logs.
|
static String |
toLog(XmlLogs data)
Creates a compact string representation for the log.
|
public XmlLogs()
public XmlLogs(XmlLog c)
c
- initial elementpublic Collection<XmlLog> getLogs()
public void setLogs(Collection<XmlLog> items)
items
- new log collectionpublic void addXmlLog(XmlLog item)
item
- the XmlLog to addCopyright © 2010-2014 Michigan State University. All Rights Reserved.