Altova MapForce 2025 Enterprise Edition

This object represents a complex or simple type. It is used to generate a class in the target language. There is one additional type per library that represents the document, which has all possible root elements as members.

 

Anonymous types have an empty LocalName.

 

Property

Type

Description

CodeName

string

Name for generated code (derived from local name or parent declaration)

LocalName

string

Original name in the schema

Namespace

Namespace

Namespace containing this type

Attributes

Member collection

Attributes contained in this type*

Elements

Member collection

Child elements contained in this type

IsSimpleType

boolean

True for simple types, false for complex types

IsDerived

boolean

True if this type is derived from another type, which is also represented by a Type object

IsDerivedByExtension

boolean

True if this type is derived by extension

IsDerivedByRestriction

boolean

True if this type is derived by restriction

IsDerivedByUnion

boolean

True if this type is derived by union

IsDerivedByList

boolean

True if this type is derived by list

BaseType

Type

The base type of this type (if IsDerived is true)

IsDocumentRootType

boolean

True if this type represents the document itself

Library

Library

Library containing this type

IsFinal

boolean

True if declared as final in the schema

IsMixed

boolean

True if this type can have mixed content

IsAbstract

boolean

True if this type is declared as abstract

IsGlobal

boolean

True if this type is declared globally in the schema

IsAnonymous

boolean

True if this type is declared locally in an element

 

For simple types only:

 

Property

Type

Description

IsNativeBound

boolean

True if native type binding exists

NativeBinding

NativeBinding

Native binding for this type

Facets

Facets

Facets of this type

Whitespace

string

Shortcut to the Whitespace facet

 

* Complex types with text content (these are types with mixed content and complexType with simpleContent) have an additional unnamed attribute member that represents the text content.

© 2018-2024 Altova GmbH