The SchemeDefaults class provides a way to find out the URI associated with a particular type of coded data. An instance of SchemeDefaults exists for each supported release of FpML and is customised to return the appropriate URI for that version.
 /// <summary>
 /// Constructs a <b>DTDRelease</b> instance describing a DTD
 /// based release of a particular <see cref="HandCoded.Meta.Specification"/>.
 /// </summary>
 /// <param name="specification">The owning <see cref="HandCoded.Meta.Specification"/>.</param>
 /// <param name="version">The version identifier for this release.</param>
 /// <param name="publicId">The public name for the DTD.</param>
 /// <param name="systemId">The system name for the DTD.</param>
 /// <param name="rootElement">The normal root element.</param>
 /// <param name="schemeDefaults">Scheme default URI information.</param>
 /// <param name="schemeCollection">The SchemeCollection of this release.</param>
 public DTDRelease(HandCoded.Meta.Specification specification, string version,
                   string publicId, string systemId, string rootElement,
                   SchemeDefaults schemeDefaults, SchemeCollection schemeCollection)
     : base(specification, version, publicId, systemId, rootElement)
 {
     this.schemeDefaults   = schemeDefaults;
     this.schemeCollection = schemeCollection;
 }
 /// <summary>
 /// Constructs a <b>DTDRelease</b> instance describing a DTD
 /// based release of a particular <see cref="HandCoded.Meta.Specification"/>.
 /// </summary>
 /// <param name="specification">The owning <see cref="HandCoded.Meta.Specification"/>.</param>
 /// <param name="version">The version identifier for this release.</param>
 /// <param name="publicId">The public name for the DTD.</param>
 /// <param name="systemId">The system name for the DTD.</param>
 /// <param name="rootElement">The normal root element.</param>
 /// <param name="schemeDefaults">Scheme default URI information.</param>
 /// <param name="schemeCollection">The SchemeCollection of this release.</param>
 public DTDRelease(HandCoded.Meta.Specification specification, string version,
     string publicId, string systemId, string rootElement,
     SchemeDefaults schemeDefaults, SchemeCollection schemeCollection)
     : base(specification, version, publicId, systemId, rootElement)
 {
     this.schemeDefaults   = schemeDefaults;
     this.schemeCollection = schemeCollection;
 }
        /// <summary>
        /// Constructs a <b>SchemaRelease</b> instance describing a schema
        /// based release of a particular <see cref="HandCoded.Meta.Specification"/>.
        /// </summary>
        /// <param name="specification">The owning <see cref="HandCoded.Meta.Specification"/>.</param>
        /// <param name="version">The version identifier for this release.</param>
        /// <param name="namespaceUri">The namespace used to identify the schema.</param>
        /// <param name="schemaLocation">The default schema location.</param>
        /// <param name="preferredPrefix">The preferred prefix for the namespace.</param>
        /// <param name="alternatePrefix">The alternate prefix for the namespace.</param>
        /// <param name="rootElement">The normal root element.</param>
        /// <param name="schemeDefaults">Scheme default URI information.</param>
        /// <param name="schemeCollection">The SchemeCollection for this release.</param>
        public SchemaRelease(HandCoded.Meta.Specification specification, string version,
            string namespaceUri, string schemaLocation,	string preferredPrefix,
            string alternatePrefix, string rootElement, SchemeDefaults schemeDefaults,
            SchemeCollection schemeCollection)
            : base(specification, version, namespaceUri, schemaLocation,
				preferredPrefix, alternatePrefix, rootElement)
        {
            this.schemeDefaults   = schemeDefaults;
            this.schemeCollection = schemeCollection;
        }
Example #4
0
 /// <summary>
 /// Constructs a <b>SchemaRelease</b> instance describing a schema
 /// based release of a particular <see cref="HandCoded.Meta.Specification"/>.
 /// </summary>
 /// <param name="specification">The owning <see cref="HandCoded.Meta.Specification"/>.</param>
 /// <param name="version">The version identifier for this release.</param>
 /// <param name="namespaceUri">The namespace used to identify the schema.</param>
 /// <param name="schemaLocation">The default schema location.</param>
 /// <param name="preferredPrefix">The preferred prefix for the namespace.</param>
 /// <param name="alternatePrefix">The alternate prefix for the namespace.</param>
 /// <param name="rootElements">The possible root elements.</param>
 /// <param name="schemeDefaults">Scheme default URI information.</param>
 /// <param name="schemeCollection">The SchemeCollection for this release.</param>
 public SchemaRelease(HandCoded.Meta.Specification specification, string version,
                      string namespaceUri, string schemaLocation, string preferredPrefix,
                      string alternatePrefix, string [] rootElements, SchemeDefaults schemeDefaults,
                      SchemeCollection schemeCollection)
     : base(specification, version, namespaceUri, schemaLocation,
            preferredPrefix, alternatePrefix, rootElements)
 {
     this.schemeDefaults   = schemeDefaults;
     this.schemeCollection = schemeCollection;
 }
Example #5
0
 /// <summary>
 /// Constructs a <b>SchemaRelease</b> instance describing a schema
 /// based release of a particular <see cref="HandCoded.Meta.Specification"/>.
 /// </summary>
 /// <param name="specification">The owning <see cref="HandCoded.Meta.Specification"/>.</param>
 /// <param name="version">The version identifier for this release.</param>
 /// <param name="namespaceUri">The namespace used to identify the schema.</param>
 /// <param name="schemaLocation">The default schema location.</param>
 /// <param name="preferredPrefix">The preferred prefix for the namespace.</param>
 /// <param name="alternatePrefix">The alternate prefix for the namespace.</param>
 /// <param name="initialiser">The <see cref="HandCoded.Meta.InstanceInitialiser"/>.</param>
 /// <param name="recogniser">The <see cref="HandCoded.Meta.SchemaRecogniser"/>.</param>
 /// <param name="rootElement">The normal root element.</param>
 /// <param name="schemeDefaults">Scheme default URI information.</param>
 /// <param name="schemeCollection">The SchemeCollection for this release.</param>
 public SchemaRelease(HandCoded.Meta.Specification specification, string version,
                      string namespaceUri, string schemaLocation, string preferredPrefix,
                      string alternatePrefix, HandCoded.Meta.InstanceInitialiser initialiser,
                      HandCoded.Meta.SchemaRecogniser recogniser, string rootElement,
                      SchemeDefaults schemeDefaults, SchemeCollection schemeCollection)
     : base(specification, version, namespaceUri, schemaLocation,
            preferredPrefix, alternatePrefix, initialiser, recogniser, rootElement)
 {
     this.schemeDefaults   = schemeDefaults;
     this.schemeCollection = schemeCollection;
 }
        /// <summary>
        /// Constructs a <b>SchemaRelease</b> instance describing a schema
        /// based release of a particular <see cref="HandCoded.Meta.Specification"/>.
        /// </summary>
        /// <param name="specification">The owning <see cref="HandCoded.Meta.Specification"/>.</param>
        /// <param name="version">The version identifier for this release.</param>
        /// <param name="namespaceUri">The namespace used to identify the schema.</param>
        /// <param name="schemaLocation">The default schema location.</param>
        /// <param name="preferredPrefix">The preferred prefix for the namespace.</param>
        /// <param name="alternatePrefix">The alternate prefix for the namespace.</param>
        /// <param name="initialiser">The <see cref="HandCoded.Meta.InstanceInitialiser"/>.</param>
        /// <param name="recogniser">The <see cref="HandCoded.Meta.SchemaRecogniser"/>.</param>
        /// <param name="rootElements">The possible root elements.</param>
        /// <param name="schemeDefaults">Scheme default URI information.</param>
        /// <param name="schemeCollection">The SchemeCollection for this release.</param>
        public SchemaRelease(HandCoded.Meta.Specification specification, string version,
            string namespaceUri, string schemaLocation,	string preferredPrefix,
            string alternatePrefix, HandCoded.Meta.InstanceInitialiser initialiser,
            HandCoded.Meta.SchemaRecogniser recogniser, string [] rootElements,
            SchemeDefaults schemeDefaults, SchemeCollection schemeCollection)
            : base(specification, version, namespaceUri, schemaLocation,
				preferredPrefix, alternatePrefix, initialiser, recogniser, rootElements)
        {
            this.schemeDefaults   = schemeDefaults;
            this.schemeCollection = schemeCollection;
        }