code: function XName(name) {
          if (TypeUtils.isNullOrUndefined(name)) {
              throw "Name cannot be (null) or (undefined)!";
          }
          name = ('' + name).trim();
          var ns = null;
          var ln = name;
          if (ln.indexOf(':') > -1) {
              var parts = ln.split(':');
              if (2 !== parts.length) {
                  throw "Cannot have more than one separator!";
              }
              ns = parts[0].trim();
              ln = parts[1].trim();
          }
          if ('' === ln) {
              throw "Local name cannot be empty!";
          }
          if (null !== ns) {
              ns = ns.trim();
              if ('' === ns) {
                  ns = null;
              }
          }
          this._namespace = ns;
          this._localName = ln;
      }
docs: Initializes a new instance of that class.
  
  @param {string} name The full name.
  
  @throws Name is invalid.