public class XmlProperties extends Object
| Constructor and Description |
|---|
XmlProperties()
Creates a new instance of XmlProperties.
|
XmlProperties(XmlProperty p)
Creates a new instance of XmlProperties with one initial property.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(XmlProperty item)
Adds a property to the property collection.
|
boolean |
equals(Object o) |
Collection<XmlProperty> |
getProperties()
Returns a collection of Property.
|
int |
hashCode() |
void |
setProperties(Collection<XmlProperty> items)
Sets the collection of properties.
|
static String |
toLogger(XmlProperties data)
Creates a compact string representation for the log.
|
public XmlProperties()
public XmlProperties(XmlProperty p)
c - initial elementpublic Collection<XmlProperty> getProperties()
public void setProperties(Collection<XmlProperty> items)
items - new property collectionpublic void addProperty(XmlProperty item)
item - the Property to addpublic static String toLogger(XmlProperties data)
data - XmlChannel to create the string representation forCopyright © 2010-2014 Michigan State University. All Rights Reserved.