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.
|
| 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.
|
XmlProperties |
getXmlProperties()
Getter for channel's XmlProperties.
|
XmlTags |
getXmlTags()
Getter for the channel's XmlTags.
|
void |
setName(String name)
Setter for channel name.
|
void |
setOwner(String owner)
Setter for channel owner.
|
void |
setXmlProperties(XmlProperties properties)
Setter for channel's XmlProperties.
|
void |
setXmlTags(XmlTags tags)
Setter for the channel's XmlTags.
|
static String |
toLog(XmlChannel data)
Creates a compact string representation for the log.
|
public XmlChannel()
public XmlChannel(String name)
name - channel namepublic String getName()
public void setName(String name)
name - the value to setpublic String getOwner()
public void setOwner(String owner)
owner - public XmlProperties getXmlProperties()
public void setXmlProperties(XmlProperties properties)
properties - XmlPropertiespublic void addXmlProperty(XmlProperty property)
property - single XmlPropertypublic XmlTags getXmlTags()
public void setXmlTags(XmlTags tags)
tags - XmlTagspublic void addXmlTag(XmlTag tag)
tag - public static String toLog(XmlChannel data)
data - XmlChannel to create the string representation forCopyright © 2012. All Rights Reserved.