Jump to: navigation, search

Changes


XML Interface Toolkit

598 bytes added, 10:46, 11 February 2014
The XML interface toolkit provides mechanisms to import and export data in XML format. Arbitrary structured XML data is mapped to according {{UBIK}} objects and its properties by a mapping specified in a separate mapping configuration file. Both files have to be specified in the interface command file additional to the [[Interface_Manager#Configuration|default parameters]].
 
{{Attention|The XML document must use the correct encoding, e.g. UTF-8}}
== Parameters ==
== Mapping ==
The XML data is converted into according {{UBIK}} data (objects, property values,...) by applying a mapping between XML elements / attributes and {{UBIK}} [[MetaClasses]] / [[MetaProperties]].
 
=== Envelope ===
The default envelopes of the XML data is '''<UbikXMLData>''' but can be modified via the mapping configuration settings.
The mapping information must be enveloped by a XML tag '''<UbikXMLMap>'''.
 
== Classes ==
=== XMLDataInterface ===
* Process XML data and create or update {{UBIK}} objects
* Process mapping information and apply on XML / {{UBIK}} data
 
<source lang="csharp">
namespace UBIK.Interface.Module.XML
public class XMLDataInterface : UBIKStandardInterface, IUBIKImport, IUBIKExport
</source>
== See also ==
10,686
edits