code: public void setParamElem(ElemWithParam ParamElem)
    {
      if (null == m_paramElems)
      {
        m_paramElems = new ElemWithParam[1];
        m_paramElems[0] = ParamElem;
      }
      else
      {
        // Expensive 1 at a time growth, but this is done at build time, so 
        // I think it's OK.
        int length = m_paramElems.length;
        ElemWithParam[] ewp = new ElemWithParam[length + 1];
        System.arraycopy(m_paramElems, 0, ewp, 0, length);
        m_paramElems = ewp;
        ewp[length] = ParamElem;
      }
    }
docs: Set a xsl:param element associated with this element.
  
  @param ParamElem xsl:param element to set.