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 |
addXmlProperty(XmlProperty item)
Adds a property to the property collection.
|
Collection<XmlProperty> |
getProperties()
Returns a collection of XmlProperty.
|
void |
setProperties(Collection<XmlProperty> items)
Sets the collection of properties.
|
static String |
toLog(XmlProperties data)
Creates a compact string representation for the log.
|
public XmlProperties()
public XmlProperties(XmlProperty p)
p - initial elementpublic Collection<XmlProperty> getProperties()
public void setProperties(Collection<XmlProperty> items)
items - new property collectionpublic void addXmlProperty(XmlProperty item)
item - the XmlProperty to addpublic static String toLog(XmlProperties data)
data - XmlChannel to create the string representation forCopyright © 2012. All Rights Reserved.