Table of Contents

Class S411FeatureXmlSource

Namespace
EncDotNet.S100.Datasets.S411
Assembly
EncDotNet.S100.Datasets.S411.dll

Exposes an S411Dataset's source GML to the vector portrayal pipeline. The dataset's original XML is passed through unchanged so that the official S-411 portrayal-catalogue stylesheets — which target the ice:IceDataSet / ice:IceFeatureMember / ice:<class> shape — can match against it directly. No projection into the framework's neutral <Dataset><Features> shape is performed.

public sealed class S411FeatureXmlSource : IFeatureXmlSource
Inheritance
S411FeatureXmlSource
Implements
Inherited Members

Constructors

S411FeatureXmlSource(S411Dataset)

Initializes a new S411FeatureXmlSource wrapping the given dataset.

public S411FeatureXmlSource(S411Dataset dataset)

Parameters

dataset S411Dataset

Properties

FeatureTypesPresent

Returns the feature type codes present in the dataset, used to select applicable portrayal rules before running any XSLT transforms.

public IReadOnlyList<string> FeatureTypesPresent { get; }

Property Value

IReadOnlyList<string>

Methods

GetFeatureXml(CancellationToken)

Returns an XmlReader positioned at the start of the S-100 FeatureXML document. The caller owns the reader and will dispose it.

public XmlReader GetFeatureXml(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Signals that the render has been cancelled. Implementations project FeatureXML from already-in-memory dataset state, so the work is CPU-bound rather than I/O-bound; the token lets a long projection be abandoned cooperatively (the method remains synchronous).

Returns

XmlReader