Please enable JavaScript to view this site.

Altova MapForce 2020 Professional Edition

The following table lists the data types supported as function return types and parameter types when you create custom .mff files that adapt your Java, C#, and C++ libraries to MapForce. The table lists both native and non-native data types. Note that, if you need support for non-native data types such as Altova date, time and duration types, your custom Java and C# libraries must include a reference to Altova libraries. In case of C++, Altova libraries must always be imported. For information about how to generate the Altova libraries, see Code Generator.

 

XML Schema Type

Java Type

C# Type

C++ Type

anyAtomicType

String

string

string_type

anySimpleType

String

string

string_type

anyURI

String

string

string_type

base64Binary

byte[]

byte[]

altova::mapforce::blob

boolean

boolean

bool

bool

byte

int

int

int

date

com.altova.types.DateTime

Altova.Types.DateTime

altova::DateTime

dateTime

com.altova.types.DateTime

Altova.Types.DateTime

altova::DateTime

dayTimeDuration

com.altova.types.Duration

Altova.Types.Duration

altova::Duration

decimal

java.math.BigDecimal

decimal

double

double

double

double

double

duration

com.altova.types.Duration

Altova.Types.Duration

altova::Duration

ENTITIES

String

string

string_type

ENTITY

String

string

string_type

float

double

double

double

gDay

com.altova.types.DateTime

Altova.Types.DateTime

altova::DateTime

gMonth

com.altova.types.DateTime

Altova.Types.DateTime

altova::DateTime

gMonthDay

com.altova.types.DateTime

Altova.Types.DateTime

altova::DateTime

gYear

com.altova.types.DateTime

Altova.Types.DateTime

altova::DateTime

gYearMonth

com.altova.types.DateTime

Altova.Types.DateTime

altova::DateTime

hexBinary

byte[]

byte[]

altova::mapforce::blob

ID

String

string

string_type

IDREF

String

string

string_type

IDREFS

String

string

string_type

int

int

int

int

integer

java.math.BigInteger

decimal

__int64

language

String

string

string_type

long

long

long

__int64

Name

String

string

string_type

NCName

String

string

string_type

negativeInteger

java.math.BigInteger

decimal

__int64

NMTOKEN

String

string

string_type

NMTOKENS

String

string

string_type

nonNegativeInteger

java.math.BigInteger

decimal

unsigned __int64

nonPositiveInteger

java.math.BigInteger

decimal

__int64

normalizedString

String

string

string_type

NOTATION

String

string

string_type

positiveInteger

java.math.BigInteger

decimal

unsigned __int64

QName

javax.xml.namespace.QName

Altova.Types.QName

altova::QName

short

int

int

int

string

String

string

string_type

time

com.altova.types.DateTime

Altova.Types.DateTime

altova::DateTime

token

String

string

string_type

unsignedByte

long

ulong

unsigned __int64

unsignedInt

long

ulong

unsigned __int64

unsignedLong

java.math.BigInteger

ulong

unsigned __int64

unsignedShort

long

ulong

unsigned __int64

untypedAtomic

String

string

string_type

yearMonthDuration

com.altova.types.Duration

Altova.Types.Duration

altova::Duration

© 2019 Altova GmbH