TXmlMap Class
Encapsulates the XML Maps in a file.
Syntax
Namespace: FlexCel.Core
public class TXmlMap
Methods
Name | Description |
---|---|
AddSchema | Adds a new schema to the xml map, and returns it so you can fill the data of the new schema. The returned schema is owned by this class and modifying it will modify the schema in the class. |
AddMap | Adds a new map to the xml map, and returns it so you can fill the data of the new map. The returned map is owned by this class and modifying it will modify the map in the class. |
GetSchema | Gets the schema at position index. (0 based). The schema returned is not a copy but the actual schema in the class, so modifying it will modify the schema in the class. |
GetMap | Gets the map at position index. (0 based). The map returned is not a copy but the actual map in the class, so modifying it will modify the map in the class. |
ClearSchemas | Erases all schemas in the class. |
ClearMap | Erases all maps in the class. |
Assign | Copies a different xml map to this instance, clearing any existing data in this instance. If map is null, then this method will clear everything. |
Clone | Returns a deep copy of this object. |
Equals | Returns true if both objects have the same data. |
GetHashCode | Returns the hashcode of the object. |
Properties
Name | Description |
---|---|
SelectionNamespaces | Ties the prefix to the actual namespace. This is used when writing xpath expressions at runtime against the XML instance structures, because the xpath expressions use namespace prefixes instead of the fully spelled out namespace. |
SchemaCount | Count of schemas in the class. |
MapCount | Count of maps in the class. |
IsEmpty | Returns true if this class has no schemas or maps. |