Class TLcdXMLBuiltInMappingLibrary
java.lang.Object
com.luciad.format.xml.bind.schema.TLcdXMLBuiltInMappingLibrary
- All Implemented Interfaces:
ILcdXMLSchemaBasedMappingLibrary
public class TLcdXMLBuiltInMappingLibrary
extends Object
implements ILcdXMLSchemaBasedMappingLibrary
Implementation of
ILcdXMLSchemaBasedMappingLibrary
for the XML base Schema (http://www.w3.org/2001/XMLSchema).
This mapping library will register both type and datatype object factories for all commonly used
XML Schema types.
The following data table provides an overview of how the XML datatypes are mapped on
Java classes. The decoder and encoder libraries provide datatype unmarshallers and datatype
marshallers for each of these types.
ENTITY |
java.lang.String |
ID |
java.lang.String |
IDREF |
java.lang.String |
NCName |
java.lang.String |
NMTOKEN |
java.lang.String |
NOTATION |
javax.xml.namespace.QName |
Name |
java.lang.String |
QName |
javax.xml.namespace.QName |
anyURI |
java.lang.String |
boolean |
java.lang.Boolean |
byte |
java.lang.Byte |
date |
javax.xml.datatype.XMLGregorianCalendar |
dateTime |
javax.xml.datatype.XMLGregorianCalendar |
decimal |
java.math.BigDecimal |
double |
java.lang.Double |
duration |
javax.xml.datatype.Duration |
float |
java.lang.Float |
hexBinary |
[B |
int |
java.lang.Integer |
integer |
java.lang.Long |
language |
java.lang.String |
long |
java.lang.Long |
negativeInteger |
java.lang.Long |
nonNegativeInteger |
java.lang.Long |
positiveInteger |
java.lang.Long |
nonPositiveInteger |
java.lang.Long |
normalizedString |
java.lang.String |
short |
java.lang.Short |
string |
java.lang.String |
time |
javax.xml.datatype.XMLGregorianCalendar |
token |
java.lang.String |
unsignedByte |
java.lang.Short |
unsignedInt |
java.lang.Long |
unsignedLong |
java.lang.Long |
unsignedShort |
java.lang.Integer |
- Since:
- 9.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureMapping
(TLcdXMLSchemaBasedMapping aMapping) Configures the specifiedTLcdXMLSchemaMapping
so that it can be used for creating, encoding and decoding XML documents.
-
Constructor Details
-
TLcdXMLBuiltInMappingLibrary
public TLcdXMLBuiltInMappingLibrary()
-
-
Method Details
-
configureMapping
Description copied from interface:ILcdXMLSchemaBasedMappingLibrary
Configures the specifiedTLcdXMLSchemaMapping
so that it can be used for creating, encoding and decoding XML documents.- Specified by:
configureMapping
in interfaceILcdXMLSchemaBasedMappingLibrary
- Parameters:
aMapping
- the mapping to be configured.
-