///////////////////////////////////////////////////////////////////////
        /// <summary>Creates a new feed</summary>
        /// <param name="uriBase">a uri, usually coming from
        /// <see cref="GBaseUriFactory"/></param>
        /// <param name="service">the GBaseService that this feed will be
        /// used with.</param>
        ///////////////////////////////////////////////////////////////////////
        public GBaseFeed(Uri uriBase, GBaseService service)
                : base(uriBase, service)
        {
            attributes = new GBaseAttributes(ExtensionElements);

            GBaseParse parse = new GBaseParse();
            this.NewAtomEntry += parse.FeedParserEventHandler;
            this.NewExtensionElement += parse.ExtensionElementEventHandler;
        }
        ///////////////////////////////////////////////////////////////////////
        /// <summary>Creates a new feed</summary>
        /// <param name="uriBase">a uri, usually coming from
        /// <see cref="GBaseUriFactory"/></param>
        /// <param name="service">the GBaseService that this feed will be
        /// used with.</param>
        ///////////////////////////////////////////////////////////////////////
        public GBaseFeed(Uri uriBase, GBaseService service)
            : base(uriBase, service)
        {
            attributes = new GBaseAttributes(ExtensionElements);

            GBaseParse parse = new GBaseParse();

            this.NewAtomEntry        += parse.FeedParserEventHandler;
            this.NewExtensionElement += parse.ExtensionElementEventHandler;
        }
        ///////////////////////////////////////////////////////////////////////
        /// <summary>Creates a new entry</summary>
        ///////////////////////////////////////////////////////////////////////
        public GBaseEntry() : base()
        {
            attributes         = new GBaseAttributes(ExtensionElements);
            itemTypeDefinition = new ItemTypeDefinition(ExtensionElements);

            // now add appcontrol
            AppControl app = new AppControl();

            AppControl acf = FindExtensionFactory(app.XmlName, app.XmlNameSpace) as AppControl;

            if (acf == null)
            {
                // create a default appControl element
                acf = new AppControl();
                this.AddExtension(acf);
            }
            // add the publishing priority element factory
            acf.ExtensionFactories.Add(new PublishingPriority());
        }
        ///////////////////////////////////////////////////////////////////////
        /// <summary>Creates a new entry</summary>
        ///////////////////////////////////////////////////////////////////////
        public GBaseEntry() : base()
        {
            attributes = new GBaseAttributes(ExtensionElements);
            itemTypeDefinition = new ItemTypeDefinition(ExtensionElements);

            // now add appcontrol
            AppControl app = new AppControl();

            AppControl acf = FindExtensionFactory(app.XmlName, app.XmlNameSpace) as AppControl;
            if (acf == null)
            {
                // create a default appControl element
                acf = new AppControl();
                this.AddExtension(acf);
            }
            // add the publishing priority element factory
            acf.ExtensionFactories.Add(new PublishingPriority());

        }