function JSJaCPacket(name) {
  /**
   * @private
   */
  this.name = name;

  if (typeof(JSJACPACKET_USE_XMLNS) != 'undefined' && JSJACPACKET_USE_XMLNS)
    /**
     * @private
     */
    this.doc = XmlDocument.create(name, NS_CLIENT);
  else
    /**
     * @private
     */
    this.doc = XmlDocument.create(name,'');
}
/**
 * Creates a new packet with given root tag name (for internal use)
 * @class Somewhat abstract base class for all kinds of specialised packets
 * @param {String} name The root tag name of the packet
 * (i.e. one of 'message', 'iq' or 'presence')
 */
Creates a new packet with given root tag name (for internal use)
@class Somewhat abstract base class for all kinds of specialised packets
@param {String} name The root tag name of the packet
Creates a new packet with given root tag name ( for internal use ) @class Somewhat abstract base class for all kinds of specialised packets @param { String } name The root tag name of the packet
function JSJaCPacket(name) {
  this.name = name;
  if (typeof(JSJACPACKET_USE_XMLNS) != 'undefined' && JSJACPACKET_USE_XMLNS)
    this.doc = XmlDocument.create(name, NS_CLIENT);
  else
    this.doc = XmlDocument.create(name,'');
}
function JSJaCPacket ( name ) { this . name = name ; if ( typeof ( JSJACPACKET_USE_XMLNS ) != 'undefined' && JSJACPACKET_USE_XMLNS ) this . doc = XmlDocument . create ( name , NS_CLIENT ) ; else this . doc = XmlDocument . create ( name , '' ) ; }
Creates a new packet with given root tag name (for internal use)
 @class Somewhat abstract base class for all kinds of specialised packets
 @param {String} name The root tag name of the packet
 (i.e.
Creates a new packet with given root tag name ( for internal use ) @class Somewhat abstract base class for all kinds of specialised packets @param { String } name The root tag name of the packet ( i . e .
/**
   * @private
   */ /**
     * @private
     */ /**
     * @private
     */