Download as PDF

Interfaces

Interfaces serve, in the module system, for the type-safe definition of object references in the XML schema and for the definition of the type methods to be implemented. For example, a module can be built for a basic web page and make it possible, with an interface, to display user-defined content. Developers could now display their own contents by binding themselves to the interface and implementing the necessary methods.

Create

For interface definition, the creation of a container is necessary. The creation can be performed on the module data object using the context menu. It is then possible to create interfaces using the context menu and deleted them again if necessary.

Configuration

An interface is uniquely identified by its name and is also used with its name within a schema. The configuration of one or more features is necessary however for the module export or import. The definition of methods is purely for information purposes. It should always be performed however. Interface implementations should be carried out according to this definition.

Use

In order to use an interface within a schema, the interface can be dragged and dropped into the type definition of an element or attribute. Interface implementations are performed in the respective schema. You will find further information here.