// append channel element iff subscribeId describes
// a transient channel, and not a regular layout channel
if ( null != subscribeId && !subscribeId.equals("") && mSubIdMap.containsKey(subscribeId))
{
IChannelDefinition chanDef = getChannelDefinition(subscribeId);
AttributesImpl channelAttrs = new AttributesImpl();
channelAttrs.addAttribute("","ID","ID","ID",subscribeId);
channelAttrs.addAttribute("","typeID","typeID","CDATA",
"" + chanDef.getTypeId());
channelAttrs.addAttribute("","hidden","hidden","CDATA","false");
channelAttrs.addAttribute("","editable","editable","CDATA",
CommonUtils.boolToStr(chanDef.isEditable()));
channelAttrs.addAttribute("","unremovable","unremovable","CDATA","true");
channelAttrs.addAttribute("","name","name","CDATA",chanDef.getName());
channelAttrs.addAttribute("","description","description","CDATA",
chanDef.getDescription());
channelAttrs.addAttribute("","title","title","CDATA",chanDef.getTitle());
channelAttrs.addAttribute("","class","class","CDATA",chanDef.getJavaClass());
channelAttrs.addAttribute("","chanID","chanID","CDATA",
"" + chanDef.getId());
channelAttrs.addAttribute("","fname","fname","CDATA",chanDef.getFName());
channelAttrs.addAttribute("","timeout","timeout","CDATA",
"" + chanDef.getTimeout());
channelAttrs.addAttribute("","hasHelp","hasHelp","CDATA",
CommonUtils.boolToStr(chanDef.hasHelp()));
channelAttrs.addAttribute("","hasAbout","hasAbout","CDATA",
CommonUtils.boolToStr(chanDef.hasAbout()));
startElement("",CHANNEL,CHANNEL,channelAttrs);
// now add channel parameters
Set<IChannelParameter> chanParms = chanDef.getParameters();
for( IChannelParameter parm : chanParms )
{
AttributesImpl parmAttrs = new AttributesImpl();
parmAttrs.addAttribute("","name","name","CDATA",parm.getName());
parmAttrs.addAttribute("","value","value","CDATA",parm.getValue());