_write(encoder) {
    encoder.writeTypeRef(YXmlElementRefID);
    encoder.writeKey(this.nodeName);
  }
Transform the properties of this type to binary and write it to an
BinaryEncoder.

This is called when this Item is sent to a remote peer.

@param {UpdateEncoderV1 | UpdateEncoderV2} encoder The encoder to write data to.