public class XmlAttachments extends Object
Constructor and Description |
---|
XmlAttachments()
Creates a new instance of XmlAttachments.
|
XmlAttachments(XmlAttachment attachment)
Creates a new instance of XmlAttachments with one initial attachment.
|
Modifier and Type | Method and Description |
---|---|
void |
addXmlAttachment(XmlAttachment item)
Adds an attachment to the attachment collection.
|
boolean |
equals(Object o) |
Collection<XmlAttachment> |
getAttachments()
Returns a collection of XmlAttachment.
|
int |
hashCode() |
void |
setAttachments(Collection<XmlAttachment> items)
Sets the collection of attachments.
|
static String |
toLog(XmlAttachments data)
Creates a compact string representation for the log.
|
public XmlAttachments()
public XmlAttachments(XmlAttachment attachment)
attachment
- initial elementpublic Collection<XmlAttachment> getAttachments()
public void setAttachments(Collection<XmlAttachment> items)
items
- new attachment collectionpublic void addXmlAttachment(XmlAttachment item)
item
- the XmlAttachment to addpublic static String toLog(XmlAttachments data)
data
- XmlAttachments to create the string representation for logCopyright © 2010-2014 Michigan State University. All Rights Reserved.