Réserver une Démo
Pré. Proc.

SchemaProfile Class

The interface representing the technology governing the naming and design rules on which the schema is built.

SchemaProfile Methods

Method

Description

See also

AddExportFormat(string description)

void

Notes: Use this function to add entries that are offered by the Schema Composer when the user clicks on the Generate button.

Parameters:

  • description: describes the export format provided by the Add-In

SetCapability(string name,boolean enabled)

void

Notes: Use this function to enable/disable capabilities.

Parameters:

  • name: name of the capability
  • enabled: True or False

Capabilities:

'allowCardinality' - allows/denies restrictions to cardinality

'allowRootElement' - allows/denies setting root element

'allowPropByRef' - allows/denies By Reference restriction

'allowRedefine' - allows/denies ability to redefine an element

SetProperty(string name,
string value)

void

Notes: Sets properties displayed in the Schema Composer.

Parameters:

  • name: property name
  • value: property value

Properties:

'Namespace' - Target namespace for XML schema

'Namespace Prefix' - Namespace prefix for XML schema

'Qualifier' - string qualifier that prepends schema type names