// now add channel parameters
ChannelParameter[] chanParms = chanDef.getParameters();
for( int i=0; i<chanParms.length; i++ )
{
AttributesImpl parmAttrs = new AttributesImpl();
ChannelParameter parm = (ChannelParameter)chanParms[i];
parmAttrs.addAttribute("","name","name","CDATA",parm.getName());
parmAttrs.addAttribute("","value","value","CDATA",parm.getValue());
startElement("",PARAMETER,PARAMETER,parmAttrs);
endElement("",PARAMETER,PARAMETER);
}