Share via


SpatialFormatter<TReaderStream, TWriterStream> Class

Represents the base class for all Spatial Formats.

Inheritance Hierarchy

System.Object
  System.Spatial.SpatialFormatter<TReaderStream, TWriterStream>
    System.Spatial.GmlFormatter
    System.Spatial.WellKnownTextSqlFormatter

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

Syntax

'Declaration
Public MustInherit Class SpatialFormatter(Of TReaderStream, TWriterStream)
'Usage
Dim instance As SpatialFormatter(Of TReaderStream, TWriterStream)
public abstract class SpatialFormatter<TReaderStream, TWriterStream>
generic<typename TReaderStream, typename TWriterStream>
public ref class SpatialFormatter abstract
[<AbstractClassAttribute>]
type SpatialFormatter<'TReaderStream, 'TWriterStream> =  class end
JScript does not support generic types and methods.

Type Parameters

  • TReaderStream
    The type of reader to be read from.
  • TWriterStream
    The type of reader to be read from.

The SpatialFormatter<TReaderStream, TWriterStream> type exposes the following members.

Constructors

  Name Description
Protected method SpatialFormatter<TReaderStream, TWriterStream> Initializes a new instance of the <see cref="T:System.Spatial.SpatialFormatter`2" /> class.

Top

Methods

  Name Description
Public method CreateWriter Creates the writerStream.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MakeValidatingBuilder Creates the builder that will be called by the parser to build the new type.
Protected method MemberwiseClone (Inherited from Object.)
Public method Read<TResult>(TReaderStream) Parses the input, and produces the object.
Public method Read<TResult>(TReaderStream, SpatialPipeline) Parses the input, and produces the object.
Protected method ReadGeography Reads the Geography from the readerStream and call the appropriate pipeline methods.
Protected method ReadGeometry Reads the Geometry from the readerStream and call the appropriate pipeline methods.
Public method ToString (Inherited from Object.)
Public method Write Creates a valid format from the spatial object.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Spatial Namespace