Altova MapForce 2024 Enterprise Edition

La table ci-dessous recense les types de données pris en charge en tant que types de retour de fonction et types de paramètres lorsque vous créez des fichiers .mff personnalisées qui référence des biblitohèques Java, C# et C++. La table contient les types de données natifs et non-natifs. Si vous nécessitez une prise en charge pour des types de données non-natifs comme les types de date, heure et durée Altova, vos bibliothèques Java et C# personnalisées doivent inclure une référence aux bibliothèques Altova. Dans le cas de C++, les bibliothèques Altova doivent toujours être importées. Pour plus d'informations concernant la génération des bibliothèques Altova, voir Générateur de code.

 

Type de Schéma XML

Type Java

Type C#

Type C++

anyAtomicType

String

string

string_type

anySimpleType

String

string

string_type

anyURI

String

string

string_type

base64Binary

byte[]

byte[]

altova::mapforce::blob

booléen

booléen

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

Nom

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

heure

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

 

© 2018-2024 Altova GmbH