/// <summary>
        /// Deserializes an XML file with Valve Printhead Type properties then stores those properties into the input Valve PrintheadType.
        /// </summary>
        /// <param name="xml"></param>
        /// <param name="printheadTypeViewModel"></param>
        public override void DeserializePrintheadType(XmlReader xmlReader, PrintheadTypeViewModel printheadTypeViewModel)
        {
            CustomPrintheadTypeViewModel customPrintheadTypeViewModel = (CustomPrintheadTypeViewModel)printheadTypeViewModel;

            //Reading this XML is unnecessary until Custom Printhead Type is implemented.
            //For now, reading this XML while it has no child elements would actually break the reader.

            /*
             * while (xmlReader.Read())
             * {
             *  //Skip through newlines (this program's XML Writer uses newlines).
             *  if ((xmlReader.Name != "\n") && (!String.IsNullOrWhiteSpace(xmlReader.Name)))
             *  {
             *      //End method if the end of "CustomPrintheadType" element is reached.
             *      if ((xmlReader.Name == "CustomPrintheadType") && (xmlReader.NodeType == XmlNodeType.EndElement))
             *      {
             *          return;
             *      }
             *
             *      switch (xmlReader.Name)
             *      {
             *          default:
             *              base.ReportXMLReaderError(xmlReader);
             *              break;
             *      }
             *  }
             * }
             */
        }
        /// <summary>
        /// Writes Custom Printhead Type properties into XML.
        /// </summary>
        /// <param name="printheadTypeViewModel"></param>
        /// <returns></returns>
        public override void SerializePrintheadType(XmlWriter xmlWriter, PrintheadTypeViewModel printheadTypeViewModel)
        {
            if (printheadTypeViewModel != null)
            {
                CustomPrintheadTypeViewModel customPrintheadTypeViewModel = (CustomPrintheadTypeViewModel)printheadTypeViewModel;

                //Outmost element should be "CustomPrintheadType".
                xmlWriter.WriteStartElement("CustomPrintheadType");

                //Close outmost element "CustomPrintheadType".
                xmlWriter.WriteEndElement();
            }
        }