User Tools

Site Tools


thinkgeo.mapsuite.core.xmlgeoserializationformatter

This is an old revision of the document!


ThinkGeo.MapSuite.Core.XmlGeoSerializationFormatter

<!– Class –> This class formats a GeoObjectModel into XML.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodXmlGeoSerializationFormatter Creates an instance of GeoSerializationFormatter.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodLoad Stream GeoSerializationFormatter Load a stream into a GeoObjectModel.
Public MethodSave GeoObjectModel, Stream GeoSerializationFormatter Save serialized data into a stream.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodLoadCore Stream GeoSerializationFormatter(overriden) Load a stream that contains XML into a GeoObjectModel.
Protected MethodMemberwiseClone Object
Protected MethodSaveCore GeoObjectModel, Stream GeoSerializationFormatter(overriden) Format a GeoObjectModel into XML, and save the XML into a stream.

Public Properties

Name Return DeclaringType Summary
Public PropertyEncoding Encoding GeoSerializationFormatter set or get the readEncoding.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

XmlGeoSerializationFormatter()

Creates an instance of GeoSerializationFormatter.

Parameters

Name Type Description

Go Back

Protected Constructors

Public Methods

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Load(Stream)

Load a stream into a GeoObjectModel.

Return Value

Return Type Description
GeoObjectModel<!– ThinkGeo.MapSuite.Core.GeoObjectModel –> The GeoObjectModel recreated from the stream.

Parameters

Name Type Description
stream Stream<!– System.IO.Stream –> The Stream to load from.

<!– ThinkGeo.MapSuite.Core.GeoSerializationFormatter –> Go Back

Save(GeoObjectModel, Stream)

Save serialized data into a stream.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
model GeoObjectModel<!– ThinkGeo.MapSuite.Core.GeoObjectModel –> The GeoObjectModel to create serialized data for.
stream Stream<!– System.IO.Stream –> The Stream to save serialized data into.

<!– ThinkGeo.MapSuite.Core.GeoSerializationFormatter –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

LoadCore(Stream)

Load a stream that contains XML into a GeoObjectModel.

Return Value

Return Type Description
GeoObjectModel<!– ThinkGeo.MapSuite.Core.GeoObjectModel –> The GeoObjectModel recreated from the stream.

Parameters

Name Type Description
stream Stream<!– System.IO.Stream –> The Stream that contains XML.

<!– ThinkGeo.MapSuite.Core.GeoSerializationFormatter(overriden) –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

SaveCore(GeoObjectModel, Stream)

Format a GeoObjectModel into XML, and save the XML into a stream.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
model GeoObjectModel<!– ThinkGeo.MapSuite.Core.GeoObjectModel –> The GeoObjectModel to create XML for.
stream Stream<!– System.IO.Stream –> The Stream to save XML into.

<!– ThinkGeo.MapSuite.Core.GeoSerializationFormatter(overriden) –> Go Back

Public Properties

Encoding

set or get the readEncoding.

Return Value

Return Type
Encoding<!– System.Text.Encoding –>

<!– ThinkGeo.MapSuite.Core.GeoSerializationFormatter –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.core.xmlgeoserializationformatter.1440040130.txt.gz · Last modified: 2015/09/17 10:43 (external edit)