C# 클래스 Mapsui.Providers.Wfs.Utilities.GeometryFactory

This class is the base class for geometry production. It provides some parsing routines for XML compliant to GML2/GML3.
상속: IDisposable
파일 보기 프로젝트 열기: pauldendulk/Mapsui 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
CoordinatesNode AlternativePathNodesCollection
FeatureNode IPathNode
FeatureReader System.Xml.XmlReader
FeatureTypeInfo WfsFeatureTypeInfo
GeomReader System.Xml.XmlReader
Geoms Collection
LabelNode IPathNode
ServiceExceptionNode AlternativePathNodesCollection
XmlReader System.Xml.XmlReader

공개 메소드들

메소드 설명
Dispose ( ) : void

This method closes the XmlReader member and the used HttpClientUtil instance.

보호된 메소드들

메소드 설명
CreateFeature ( Geometry geom, string labelField, string labelValue ) : IFeature

This method adds a label to the collection.

GeometryFactory ( HttpClientUtil httpClientUtil, WfsFeatureTypeInfo featureTypeInfo ) : System

Protected constructor for the abstract class.

GeometryFactory ( XmlReader xmlReader, WfsFeatureTypeInfo featureTypeInfo ) : System

Protected constructor for the abstract class.

GetSubReaderOf ( XmlReader reader, string labelValue ) : XmlReader

This method retrieves an XmlReader within a specified context.

GetSubReaderOf ( XmlReader reader, string labelValue, List pathNodes ) : XmlReader

This method retrieves an XmlReader within a specified context. Moreover it collects label values before or after a geometry could be found.

ParseCoordinates ( XmlReader reader ) : Collection

This method parses a coordinates or posList(from 'GetFeature' response).

비공개 메소드들

메소드 설명
CreateGeometries ( Features features ) : Collection

Abstract method - overwritten by derived classes for producing instances derived from Mapsui.Geometries.Geometry.

CreateReader ( HttpClientUtil httpClientUtil ) : void

This method initializes the XmlReader member.

InitializePathNodes ( ) : void

This method initializes path nodes needed by the derived classes.

InitializeSeparators ( ) : void

This method initializes separator variables for parsing coordinates. From GML specification: Coordinates can be included in a single string, but there is no facility for validating string content. The value of the 'cs' attribute is the separator for coordinate values, and the value of the 'ts' attribute gives the tuple separator (a single space by default); the default values may be changed to reflect local usage.

메소드 상세

CreateFeature() 보호된 메소드

This method adds a label to the collection.
protected CreateFeature ( Geometry geom, string labelField, string labelValue ) : IFeature
geom Geometry
labelField string
labelValue string
리턴 IFeature

Dispose() 공개 메소드

This method closes the XmlReader member and the used HttpClientUtil instance.
public Dispose ( ) : void
리턴 void

GeometryFactory() 보호된 메소드

Protected constructor for the abstract class.
protected GeometryFactory ( HttpClientUtil httpClientUtil, WfsFeatureTypeInfo featureTypeInfo ) : System
httpClientUtil HttpClientUtil A configured instance for performing web requests
featureTypeInfo WfsFeatureTypeInfo A instance providing metadata of the featuretype to query
리턴 System

GeometryFactory() 보호된 메소드

Protected constructor for the abstract class.
protected GeometryFactory ( XmlReader xmlReader, WfsFeatureTypeInfo featureTypeInfo ) : System
xmlReader System.Xml.XmlReader An XmlReader instance
featureTypeInfo WfsFeatureTypeInfo A instance providing metadata of the featuretype to query
리턴 System

GetSubReaderOf() 보호된 메소드

This method retrieves an XmlReader within a specified context.
protected GetSubReaderOf ( XmlReader reader, string labelValue ) : XmlReader
reader System.Xml.XmlReader An XmlReader instance that is the origin of a created sub-reader
labelValue string A string array for recording a found label value. Pass 'null' to ignore searching for label values
리턴 System.Xml.XmlReader

GetSubReaderOf() 보호된 메소드

This method retrieves an XmlReader within a specified context. Moreover it collects label values before or after a geometry could be found.
protected GetSubReaderOf ( XmlReader reader, string labelValue, List pathNodes ) : XmlReader
reader System.Xml.XmlReader An XmlReader instance that is the origin of a created sub-reader
labelValue string A string array for recording a found label value. Pass 'null' to ignore searching for label values
pathNodes List A list of instances defining the context of the retrieved reader
리턴 System.Xml.XmlReader

ParseCoordinates() 보호된 메소드

This method parses a coordinates or posList(from 'GetFeature' response).
protected ParseCoordinates ( XmlReader reader ) : Collection
reader System.Xml.XmlReader An XmlReader instance at the position of the coordinates to read
리턴 Collection

프로퍼티 상세

CoordinatesNode 보호되어 있는 프로퍼티

protected AlternativePathNodesCollection,Mapsui.Providers.Wfs.Utilities CoordinatesNode
리턴 AlternativePathNodesCollection

FeatureNode 보호되어 있는 프로퍼티

protected IPathNode FeatureNode
리턴 IPathNode

FeatureReader 보호되어 있는 프로퍼티

protected XmlReader,System.Xml FeatureReader
리턴 System.Xml.XmlReader

FeatureTypeInfo 보호되어 있는 프로퍼티

protected WfsFeatureTypeInfo,Mapsui.Providers.Wfs.Utilities FeatureTypeInfo
리턴 WfsFeatureTypeInfo

GeomReader 보호되어 있는 프로퍼티

protected XmlReader,System.Xml GeomReader
리턴 System.Xml.XmlReader

Geoms 보호되어 있는 프로퍼티

protected Collection Geoms
리턴 Collection

LabelNode 보호되어 있는 프로퍼티

protected IPathNode LabelNode
리턴 IPathNode

ServiceExceptionNode 보호되어 있는 프로퍼티

protected AlternativePathNodesCollection,Mapsui.Providers.Wfs.Utilities ServiceExceptionNode
리턴 AlternativePathNodesCollection

XmlReader 보호되어 있는 프로퍼티

protected XmlReader,System.Xml XmlReader
리턴 System.Xml.XmlReader