public class XmlChannel extends Object
| Constructor and Description |
|---|
XmlChannel()
Creates a new instance of XmlChannel
|
XmlChannel(String name)
Creates a new instance of XmlChannel.
|
XmlChannel(String name,
String owner)
Creates a new instance of XmlChannel.
|
XmlChannel(String name,
String owner,
List<XmlProperty> properties,
List<XmlTag> tags) |
| Modifier and Type | Method and Description |
|---|---|
void |
addXmlProperty(XmlProperty property)
Adds an XmlProperty to the channel.
|
void |
addXmlTag(XmlTag tag)
Adds an XmlTag to the collection.
|
String |
getName()
Getter for channel name.
|
String |
getOwner()
Getter for channel owner.
|
List<XmlProperty> |
getProperties() |
List<XmlTag> |
getTags() |
void |
setName(String name)
Setter for channel name.
|
void |
setOwner(String owner)
Setter for channel owner.
|
void |
setProperties(List<XmlProperty> properties) |
void |
setTags(List<XmlTag> tags) |
static String |
toLog(XmlChannel data)
Creates a compact string representation for the log.
|
public XmlChannel()
public XmlChannel(String name)
name - channel namepublic XmlChannel(String name, String owner)
name - channel nameowner - owner namepublic String getName()
public void setName(String name)
name - the value to setpublic String getOwner()
public void setOwner(String owner)
owner - - channel ownerpublic List<XmlProperty> getProperties()
public void setProperties(List<XmlProperty> properties)
public void addXmlProperty(XmlProperty property)
property - single XmlPropertypublic void addXmlTag(XmlTag tag)
tag - - tag to be added to channelpublic static String toLog(XmlChannel data)
data - XmlChannel to create the string representation forCopyright © 2016. All Rights Reserved.