Class S128FeatureXmlSource
Projects an S128Dataset into the S-100 Part 9 FeatureXML neutral form consumed by the bundled S-128 XSLT portrayal rules.
public sealed class S128FeatureXmlSource : GmlFeatureXmlSource<S128Feature>, IFeatureXmlSource
- Inheritance
-
S128FeatureXmlSource
- Implements
- Inherited Members
Remarks
Extends the base GML projection with xlink references on features,
recursive nested complex attributes, and an InformationTypes
section.
Constructors
S128FeatureXmlSource(S128Dataset)
Initializes a new S128FeatureXmlSource wrapping the given dataset.
public S128FeatureXmlSource(S128Dataset dataset)
Parameters
datasetS128Dataset
Methods
BuildComplexAttributeElement(IS100ComplexAttribute)
Builds an XML element for a complex attribute. Override for specs that support nested complex attributes (e.g. S-128).
protected override XElement BuildComplexAttributeElement(IS100ComplexAttribute complex)
Parameters
complexIS100ComplexAttribute
Returns
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(S128Feature, 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(S128Feature feature, XElement featureElement)
Parameters
featureS128FeaturefeatureElementXElement