This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
thinkgeo.mapsuite.core.xmlgeoserializationformatter [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.core.xmlgeoserializationformatter [2017/03/16 21:59] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ThinkGeo.MapSuite.Core.XmlGeoSerializationFormatter ====== | ====== ThinkGeo.MapSuite.Core.XmlGeoSerializationFormatter ====== | ||
| + | {{section>upgrade_map_suite_to_10.0}} | ||
| - | |||
| - | <!-- Class --> | ||
| This class formats a GeoObjectModel into XML. | This class formats a GeoObjectModel into XML. | ||
| ===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | + | *System.Object |
| - | **[[ThinkGeo.MapSuite.Core.GeoSerializationFormatter]] | + | *ThinkGeo.MapSuite.Core.GeoSerializationFormatter |
| - | ***[[ThinkGeo.MapSuite.Core.XmlGeoSerializationFormatter]] | + | ***ThinkGeo.MapSuite.Core.XmlGeoSerializationFormatter** |
| ===== Members Summary ===== | ===== Members Summary ===== | ||
| ==== Public Constructors ==== | ==== Public Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} XmlGeoSerializationFormatter() ** |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#XmlGeoSerializationFormatter()|XmlGeoSerializationFormatter]] | | | Creates an instance of GeoSerializationFormatter. | | + | |
| + | * //Creates an instance of GeoSerializationFormatter.// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | == Parameters == | ||
| + | <div newline></div> | ||
| ==== Protected Constructors ==== | ==== Protected Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | |||
| ==== Public Methods ==== | ==== Public Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} Save(GeoObjectModel,Stream) ** |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Load(Stream)|Load]] | Stream | [[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|GeoSerializationFormatter]] | Load a stream into a GeoObjectModel. | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Save(GeoObjectModel, Stream)|Save]] | [[ThinkGeo.MapSuite.Core.GeoObjectModel|GeoObjectModel]], Stream | [[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|GeoSerializationFormatter]] | Save serialized data into a stream. | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
| - | ==== Protected Methods ==== | + | * //N/A// |
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | * //N/A// |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#LoadCore(Stream)|LoadCore]] | Stream | [[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|GeoSerializationFormatter]](overriden) | Load a stream that contains XML into a GeoObjectModel. | | + | |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#SaveCore(GeoObjectModel, Stream)|SaveCore]] | [[ThinkGeo.MapSuite.Core.GeoObjectModel|GeoObjectModel]], Stream | [[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|GeoSerializationFormatter]](overriden) | Format a GeoObjectModel into XML, and save the XML into a stream. | | + | |
| - | ==== Public Properties ==== | + | == Return Value == |
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:Void |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#Encoding|Encoding]] | Encoding | [[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|GeoSerializationFormatter]] | set or get the readEncoding. | | + | * Description:N/A |
| - | ==== Protected Properties ==== | + | == Parameters == |
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * //model// |
| + | * Type:[[ThinkGeo.MapSuite.Core.GeoObjectModel|GeoObjectModel]] | ||
| + | * Description:N/A | ||
| - | ==== Public Events ==== | + | * //stream// |
| - | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | * Type:Stream |
| + | * Description:N/A | ||
| - | ===== Public Constructors ===== | + | <div newline></div> |
| - | ==== XmlGeoSerializationFormatter() ==== | + | ** {{wiki:PublicMethod.gif|}} Load(Stream) ** |
| - | Creates an instance of GeoSerializationFormatter. | + | |
| - | === Parameters === | + | |
| - | ^ Name ^ Type ^ Description ^ | + | |
| - | [[#Public Constructors|Go Back]] | + | * //N/A// |
| - | ===== Protected Constructors ===== | + | == Remarks == |
| - | ===== Public Methods ===== | + | * //N/A// |
| - | ==== Equals(Object) ==== | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Boolean<!-- System.Boolean --> | | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoObjectModel|GeoObjectModel]] |
| - | | obj | Object<!-- System.Object --> | | | + | * Description:N/A |
| - | <!-- System.Object --> | + | == Parameters == |
| - | [[#Public Methods|Go Back]] | + | * //stream// |
| - | ==== GetHashCode() ==== | + | * Type:Stream |
| - | === Return Value === | + | * Description:N/A |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Int32<!-- System.Int32 --> | | | + | |
| - | === Parameters === | + | <div newline></div> |
| - | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
| - | <!-- System.Object --> | + | * //N/A// |
| - | [[#Public Methods|Go Back]] | + | == Remarks == |
| - | ==== GetType() ==== | + | * //N/A// |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Type<!-- System.Type --> | | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:String |
| + | * Description:N/A | ||
| - | <!-- System.Object --> | + | == Parameters == |
| - | [[#Public Methods|Go Back]] | + | <div newline></div> |
| - | ==== Load(Stream) ==== | + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** |
| - | Load a stream into a GeoObjectModel. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | [[ThinkGeo.MapSuite.Core.GeoObjectModel|GeoObjectModel]]<!-- ThinkGeo.MapSuite.Core.GeoObjectModel --> | The GeoObjectModel recreated from the stream. | | + | |
| - | === Parameters === | + | * //N/A// |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| - | | stream | Stream<!-- System.IO.Stream --> | The Stream to load from. | | + | * //N/A// |
| - | <!-- ThinkGeo.MapSuite.Core.GeoSerializationFormatter --> | + | == Return Value == |
| - | [[#Public Methods|Go Back]] | + | * Type:Boolean |
| - | ==== Save(GeoObjectModel, Stream) ==== | + | * Description:N/A |
| - | Save serialized data into a stream. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | * //obj// |
| - | | model | [[ThinkGeo.MapSuite.Core.GeoObjectModel|GeoObjectModel]]<!-- ThinkGeo.MapSuite.Core.GeoObjectModel --> | The GeoObjectModel to create serialized data for. | | + | * Type:Object |
| - | | stream | Stream<!-- System.IO.Stream --> | The Stream to save serialized data into. | | + | * Description:N/A |
| - | <!-- ThinkGeo.MapSuite.Core.GeoSerializationFormatter --> | + | <div newline></div> |
| - | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
| - | ==== ToString() ==== | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | String<!-- System.String --> | | | + | |
| - | === Parameters === | + | * //N/A// |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| + | * //N/A// | ||
| - | <!-- System.Object --> | + | == Return Value == |
| - | [[#Public Methods|Go Back]] | + | * Type:Int32 |
| - | ===== Protected Methods ===== | + | * Description:N/A |
| - | ==== Finalize() ==== | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
| + | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
| - | <!-- System.Object --> | + | * //N/A// |
| - | [[#Protected Methods|Go Back]] | + | == Remarks == |
| - | ==== LoadCore(Stream) ==== | + | * //N/A// |
| - | Load a stream that contains XML into a GeoObjectModel. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | [[ThinkGeo.MapSuite.Core.GeoObjectModel|GeoObjectModel]]<!-- ThinkGeo.MapSuite.Core.GeoObjectModel --> | The GeoObjectModel recreated from the stream. | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:Type |
| - | | stream | Stream<!-- System.IO.Stream --> | The Stream that contains XML. | | + | * Description:N/A |
| - | <!-- ThinkGeo.MapSuite.Core.GeoSerializationFormatter(overriden) --> | + | == Parameters == |
| - | [[#Protected Methods|Go Back]] | + | <div newline></div> |
| - | ==== MemberwiseClone() ==== | + | ==== Protected Methods ==== |
| - | === Return Value === | + | ** {{wiki:ProtectedMethod.gif|}} SaveCore(GeoObjectModel,Stream) ** |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Object<!-- System.Object --> | | | + | |
| - | === Parameters === | + | * //Format a GeoObjectModel into XML, and save the XML into a stream.// |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| + | * //N/A// | ||
| - | <!-- System.Object --> | + | == Return Value == |
| - | [[#Protected Methods|Go Back]] | + | * Type:Void |
| - | ==== SaveCore(GeoObjectModel, Stream) ==== | + | * Description:N/A |
| - | Format a GeoObjectModel into XML, and save the XML into a stream. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | * //model// |
| - | | model | [[ThinkGeo.MapSuite.Core.GeoObjectModel|GeoObjectModel]]<!-- ThinkGeo.MapSuite.Core.GeoObjectModel --> | The GeoObjectModel to create XML for. | | + | * Type:[[ThinkGeo.MapSuite.Core.GeoObjectModel|GeoObjectModel]] |
| - | | stream | Stream<!-- System.IO.Stream --> | The Stream to save XML into. | | + | * Description:The GeoObjectModel to create XML for. |
| - | <!-- ThinkGeo.MapSuite.Core.GeoSerializationFormatter(overriden) --> | + | * //stream// |
| - | [[#Protected Methods|Go Back]] | + | * Type:Stream |
| - | ===== Public Properties ===== | + | * Description:The Stream to save XML into. |
| - | ==== Encoding ==== | + | |
| - | set or get the readEncoding. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ | + | |
| - | | Encoding<!-- System.Text.Encoding --> | | + | |
| - | <!-- ThinkGeo.MapSuite.Core.GeoSerializationFormatter --> | + | <div newline></div> |
| - | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} LoadCore(Stream) ** |
| - | ===== Protected Properties ===== | + | |
| - | ===== Public Events ===== | + | * //Load a stream that contains XML into a GeoObjectModel.// |
| - | __NOTOC__ | + | == Remarks == |
| - | [[Category:MapSuiteCore]] | + | * //N/A// |
| - | [[Category:ThinkGeo.MapSuite.Core]] | + | |
| - | [[Category:UpdateDocumentation]] | + | == Return Value == |
| + | * Type:[[ThinkGeo.MapSuite.Core.GeoObjectModel|GeoObjectModel]] | ||
| + | * Description:The GeoObjectModel recreated from the stream. | ||
| + | |||
| + | == Parameters == | ||
| + | * //stream// | ||
| + | * Type:Stream | ||
| + | * Description:The Stream that contains XML. | ||
| + | |||
| + | <div newline></div> | ||
| + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Void | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | <div newline></div> | ||
| + | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Object | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | <div newline></div> | ||
| + | ==== Public Properties ==== | ||
| + | ** {{wiki:PublicProperty.gif|}} Encoding ** | ||
| + | |||
| + | N/A | ||
| + | == Remarks == | ||
| + | N/A | ||
| + | == Return Value == | ||
| + | * Type:Encoding | ||
| + | |||
| + | ==== Protected Properties ==== | ||
| + | ==== Public Events ==== | ||