Class S125FeatureXmlSource
Projects an S125Dataset into the S-100 Part 9 FeatureXML intermediate format consumed by the S-125 XSLT portrayal rules.
public sealed class S125FeatureXmlSource : GmlFeatureXmlSource<S125Feature>, IFeatureXmlSource
- Inheritance
-
S125FeatureXmlSource
- Implements
- Inherited Members
Remarks
Extends the base GML projection with information references on features
(e.g. AtoNStatus) and an InformationTypes section that the
bundled main.xsl resolves via
/Dataset/InformationTypes/*[@id=$ref].
Constructors
S125FeatureXmlSource(S125Dataset)
Initializes a new S125FeatureXmlSource.
public S125FeatureXmlSource(S125Dataset dataset)
Parameters
datasetS125Dataset
Methods
WriteDatasetExtensions(XElement)
Called after all features have been written to the root Dataset
element. Override to add spec-specific dataset-level elements such as
an InformationTypes section.
protected override void WriteDatasetExtensions(XElement root)
Parameters
rootXElement
WriteFeatureExtensions(S125Feature, XElement)
Called after attributes and complex attributes have been written to a feature element. Override to add spec-specific elements such as xlink references or information-type associations.
protected override void WriteFeatureExtensions(S125Feature feature, XElement featureElement)
Parameters
featureS125FeaturefeatureElementXElement