The NextCatalog class implements catalog chaining.
Inheritance: RelativeEntry, IEntityRule, IUriRule
コード例 #1
0
        /// <summary>
        /// Adds a rule which will cause resolution to chain to another catalog
        /// if no match can be found in this one.
        /// </summary>
        /// <param name="catalog">The URI of the catalog to chain to.</param>
        /// <param name="xmlbase">The optional xml:base URI</param>
        /// <returns>The constructed <see cref="NextCatalogEntry"/> instance.</returns>
        public NextCatalogEntry AddNextCatalog(String catalog, String xmlbase)
        {
            NextCatalogEntry result = new NextCatalogEntry(this, catalog, xmlbase);

            rules.Add(result);
            return(result);
        }
コード例 #2
0
        /// <summary>
        /// Adds a rule which will cause resolution to chain to another catalog
        /// if no match can be found in this one.
        /// </summary>
        /// <param name="catalog">The URI of the catalog to chain to.</param>
        /// <param name="xmlbase">The optional xml:base URI</param>
        /// <returns>The constructed <see cref="NextCatalogEntry"/> instance.</returns>
        public NextCatalogEntry AddNextCatalog(String catalog, String xmlbase)
        {
            NextCatalogEntry	result = new NextCatalogEntry (this, catalog, xmlbase);

            rules.Add (result);
            return (result);
        }