/// <summary>
        /// Handles the Component element child elements
        /// </summary>
        /// <param name="parent">
        /// The parent IComponentMutableObject object
        /// </param>
        /// <param name="localName">
        /// The name of the current XML element
        /// </param>
        /// <returns>
        /// The <see cref="StructureReaderBaseV20.ElementActions"/>.
        /// </returns>
        private ElementActions HandleChildElements(IMetadataAttributeMutableObject parent, object localName)
        {
            if (NameTableCache.IsElement(localName, ElementNameTable.TextFormat))
            {
                parent.Representation = new RepresentationMutableCore { TextFormat = HandleTextFormat(this.Attributes) };

                //// TextFormatType has only attributes so we do not expect anything else.
                return ElementActions.Empty;
            }
            
            if (ElementNameTable.MetadataAttribute.Is(localName))
            {
                IMetadataAttributeMutableObject attribute = new MetadataAttributeMutableCore();
                ParseAttributes(attribute, this.Attributes);
                parent.MetadataAttributes.Add(attribute);
                return this.AddAnnotableAction(attribute, this.HandleChildElements, DoNothing);
            }

            return null;
        }
        /// <summary>
        /// Handles the child elements.
        /// </summary>
        /// <param name="parent">The parent.</param>
        /// <param name="elementLocalName">Name of the element local.</param>
        /// <returns>The <see cref="StructureReaderBaseV20.ElementActions"/>.</returns>
        private ElementActions HandleChildElements(IReportStructureMutableObject parent, object elementLocalName)
        {
            if (ElementNameTable.MetadataAttribute.Is(elementLocalName))
            {
                IMetadataAttributeMutableObject attribute = new MetadataAttributeMutableCore();
                ParseAttributes(attribute, this.Attributes);
                parent.MetadataAttributes.Add(attribute);
                return this.AddAnnotableAction(attribute, this.HandleChildElements, DoNothing);
            }

            return null;
        }