Package | Description |
---|---|
com.luciad.format.xml.bind.schema |
Provides an extension to the XML runtime binding framework
com.luciad.format.xml.bind for
XML Schema based documents. |
com.luciad.format.xml.bind.schema.dataobject |
Provides an extension on the XML Binding framework in
com.luciad.format.xml.bind and
com.luciad.format.xml.bind.schema that adds support for automatic binding of XML data to
a generic domain model, accessible via the ILcdDataObject interface. |
Modifier and Type | Method and Description |
---|---|
TLcdXMLSchemaTypeIdentifier |
TLcdXMLSchemaTypeIdentifier.Builder.build()
Creates a new identifier based on the previously added steps.
|
TLcdXMLSchemaTypeIdentifier |
TLcdXMLSchemaType.getIdentifier()
Returns the unique identifier of this schema type.
|
static TLcdXMLSchemaTypeIdentifier |
TLcdXMLSchemaTypeIdentifier.newGlobalTypeInstance(QName aTypeName)
Returns an instance of a
TLcdXMLSchemaTypeIdentifier representing the specified XML global schema type. |
static TLcdXMLSchemaTypeIdentifier |
TLcdXMLSchemaTypeIdentifier.newInstance(QName aTypeName,
QName[] aElementNames,
QName aAttributeName)
Returns an instance of a
TLcdXMLSchemaTypeIdentifier representing the specified XML schema type. |
static TLcdXMLSchemaTypeIdentifier |
TLcdXMLSchemaTypeIdentifier.newInstance(QName aTypeName,
QName aGroupName,
QName[] aElementNames,
QName aAttributeName,
int aUnionIndex)
Returns an instance of a
TLcdXMLSchemaTypeIdentifier representing the specified XML schema type. |
Modifier and Type | Method and Description |
---|---|
Set<TLcdXMLSchemaTypeIdentifier> |
TLcdXMLTypeUnmarshallerProvider.getDatatypeIdentifiers(Class<?> aClass)
Returns for the specified Java class a Set of all XSD Schema datatype identifiers for which a
schema type unmarshaller is registered.
|
Set<TLcdXMLSchemaTypeIdentifier> |
TLcdXMLTypeObjectFactoryProvider.getDatatypeIdentifiers(Class<?> aClass)
Returns for the specified Java class a Set of all XSD Schema type identifiers for which an
object factory is registered.
|
Set<TLcdXMLSchemaTypeIdentifier> |
TLcdXMLTypeMarshallerProvider.getDatatypeIdentifiers(Class<?> aClass)
Returns for the specified Java class a Set of all XSD Schema datatype identifiers for which a
schema type marshaller is registered.
|
Set<TLcdXMLSchemaTypeIdentifier> |
TLcdXMLTypeUnmarshallerProvider.getTypeIdentifiers(Class<?> aClass)
Returns for the specified Java class a Set of all XSD Schema type identifiers for which a
schema type unmarshaller is registered.
|
Set<TLcdXMLSchemaTypeIdentifier> |
TLcdXMLTypeObjectFactoryProvider.getTypeIdentifiers(Class<?> aClass)
Returns for the specified Java class a Set of all XSD Schema type identifiers for which an
object factory is registered.
|
Set<TLcdXMLSchemaTypeIdentifier> |
TLcdXMLTypeMarshallerProvider.getTypeIdentifiers(Class<?> aClass)
Returns for the specified Java class a set of all XSD Schema type identifiers for which a
schema type marshaller is registered.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
TLcdXMLSchemaBasedMapping.createObject(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aClass,
ILcdXMLDocumentContext aDocumentContext)
Creates a new object instance for the specified XML Schema type, of the specified class (or subclass).
|
Set<Class<?>> |
TLcdXMLTypeUnmarshallerProvider.getDatatypeClasses(TLcdXMLSchemaTypeIdentifier aTypeId)
Returns for the specified XSD Schema datatype identifier a set of all Java classes for which a
schema type unmarshaller is registered.
|
Set<Class<?>> |
TLcdXMLTypeObjectFactoryProvider.getDatatypeClasses(TLcdXMLSchemaTypeIdentifier aTypeId)
Returns for the specified XSD Schema type identifier a set of all Java classes for which an
object factory is registered.
|
Set<Class<?>> |
TLcdXMLTypeMarshallerProvider.getDatatypeClasses(TLcdXMLSchemaTypeIdentifier aTypeId)
Returns for the specified XSD Schema datatype identifier a set of all Java classes for which a
schema type marshaller is registered.
|
<T> ILcdXMLDatatypeMarshaller<? super T> |
TLcdXMLTypeMarshallerProvider.getDatatypeMarshaller(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass)
Returns the datatype formatter which is capable of formatting instances of the specified Java
class to lexical representations of the corresponding XML value of the specified XML datatype.
|
<T> ILcdXMLObjectFactory<T> |
TLcdXMLTypeObjectFactoryProvider.getDatatypeObjectFactory(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass)
Returns an
ILcdXMLObjectFactory which is capable of
creating Java instances assignable to the specified Java class
and corresponding to the specified XML Schema type. |
<T> ILcdXMLDatatypeUnmarshaller<? extends T> |
TLcdXMLTypeUnmarshallerProvider.getDatatypeUnmarshaller(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass)
Returns the datatype parser which is capable of parsing XML elements of the specified XML
Schema simple type to instances of the specified Java class.
|
Set<Class<?>> |
TLcdXMLTypeUnmarshallerProvider.getTypeClasses(TLcdXMLSchemaTypeIdentifier aTypeId)
Returns for the specified XSD Schema type identifier a set of all Java classes for which a
schema type unmarshaller is registered.
|
Set<Class<?>> |
TLcdXMLTypeObjectFactoryProvider.getTypeClasses(TLcdXMLSchemaTypeIdentifier aTypeId)
Returns for the specified XSD Schema type identifier a set of all Java classes for which an
object factory is registered.
|
Set<Class<?>> |
TLcdXMLTypeMarshallerProvider.getTypeClasses(TLcdXMLSchemaTypeIdentifier aTypeId)
Returns for the specified XSD Schema type identifier a set of all Java classes for which a
schema type marshaller is registered.
|
<T> ILcdXMLTypeMarshaller<? super T> |
TLcdXMLTypeMarshallerProvider.getTypeMarshaller(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass)
Returns the marshaller which is capable of marshalling instances of the specified Java class to
instances of an XML element of the specified XML Schema type.
|
<T> ILcdXMLTypeMarshaller<? super T> |
TLcdXMLTypeMarshallerProvider.getTypeMarshaller(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass,
boolean aAllowClassSubstitution)
Returns the marshaller which is capable of marshalling instances of the specified Java class to
instances of an XML element of the specified XML Schema type.
|
<T> ILcdXMLObjectFactory<T> |
TLcdXMLTypeObjectFactoryProvider.getTypeObjectFactory(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass)
Returns an
ILcdXMLObjectFactory that is capable of
creating instances of the specified Java class for the specified XML
Schema type. |
<T> ILcdXMLObjectFactory<? extends T> |
TLcdXMLTypeObjectFactoryProvider.getTypeObjectFactory(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass,
boolean aAllowClassSubstitution) |
<T> ILcdXMLTypeUnmarshaller<T> |
TLcdXMLTypeUnmarshallerProvider.getTypeUnmarshaller(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass)
Returns the unmarshaller which is capable of unmarshalling XML elements of the specified XML
Schema type to instances of the specified Java class.
|
<T> ILcdXMLTypeUnmarshaller<? super T> |
TLcdXMLTypeUnmarshallerProvider.getTypeUnmarshaller(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass,
boolean aAllowClassSubstitution)
Returns the unmarshaller which is capable of unmarshalling XML elements of the specified XML
Schema type to instances of the specified Java class.
|
static TLcdXMLSchemaTypeIdentifier.Builder |
TLcdXMLSchemaTypeIdentifier.newBuilder(TLcdXMLSchemaTypeIdentifier aParentTypeId)
Creates a new builder pre-configured with the steps of the given identifier.
|
<T> void |
TLcdXMLTypeMarshallerProvider.registerDatatypeMarshaller(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<? extends T> aJavaClass,
ILcdXMLDatatypeMarshaller<T> aMarshaller)
Registers an
ILcdXMLDatatypeFormatter which is capable of formatting instances of the
specified Java class to lexical representations of the corresponding XML value of the specified
XML datatype. |
<T> void |
TLcdXMLTypeObjectFactoryProvider.registerDatatypeObjectFactory(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass,
ILcdXMLObjectFactory<T> aSchemaObjectFactory)
Registers an
ILcdXMLObjectFactory which is capable of
creating Java instances assignable to the specified java class and corresponding to
the specified XML Schema data type. |
<T> void |
TLcdXMLTypeUnmarshallerProvider.registerDatatypeUnmarshaller(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass,
ILcdXMLDatatypeUnmarshaller<? extends T> aDatatypeUnmarshaller)
Registers an
ILcdXMLSchemaDatatypeUnmarshaller which is capable of parsing XML elements
of the specified XML Schema simple type to instances of the specified Java class. |
<T> void |
TLcdXMLTypeMarshallerProvider.registerTypeMarshaller(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<? extends T> aJavaClass,
ILcdXMLTypeMarshaller<T> aMarshaller)
Registers an
ILcdXMLTypeMarshaller which is capable of marshalling instances of a specified
Java class to instances of an XML element of the specified XML Schema type. |
<T> void |
TLcdXMLTypeObjectFactoryProvider.registerTypeObjectFactory(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass,
ILcdXMLObjectFactory<T> aSchemaObjectFactory)
Registers an
ILcdXMLSchemaObjectFactory which is capable of creating Java instances
of the specified class for the specified XML Schema type. |
<T> void |
TLcdXMLTypeUnmarshallerProvider.registerTypeUnmarshaller(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aJavaClass,
ILcdXMLTypeUnmarshaller<T> aUnmarshaller)
Registers an
ILcdXMLUnmarshaller which is capable of unmarshalling XML elements of the
specified XML Schema type to instances of the specified Java class. |
Constructor and Description |
---|
TLcdXMLSchemaType(TLcdXMLSchemaTypeIdentifier aIdentifier,
TLcdXMLSchemaType aBaseType)
Creates a new
TLcdXMLSchemaType object. |
TLcdXMLUnmarshallerAdapter(ILcdXMLTypeUnmarshaller<T> aTypeUnmarshaller,
TLcdXMLSchemaElement aSchemaElement,
TLcdXMLSchemaTypeIdentifier aSchemaTypeIdentifier,
Class<T> aClass,
TLcdXMLSchemaBasedDecoder aDecoder)
Creates a new
TLcdXMLUnmarshallerAdapter for the specified ILcdXMLTypeUnmarshaller . |
Modifier and Type | Method and Description |
---|---|
protected void |
TLcdXMLDataModelBuilder.buildType(TLcdDataTypeBuilder aTypeBuilder,
TLcdXMLSchemaTypeIdentifier aTypeId)
Builds the type for the given XML type identifier.
|
TLcdDataType |
TLcdXMLCompositeSchemaTypeMapping.getType(TLcdXMLSchemaTypeIdentifier aTypeId)
Returns the data type to which the given XML schema type is mapped.
|
TLcdDataType |
ILcdXMLSchemaTypeMapping.getType(TLcdXMLSchemaTypeIdentifier aTypeId)
Returns the
TLcdDataType that corresponds to the given
XML schema type identifier. |
protected TLcdDataTypeBuilder |
TLcdXMLDataModelBuilder.getTypeBuilder(TLcdDataModelBuilder aBuilder,
TLcdXMLSchemaTypeIdentifier aTypeId)
Returns the type builder for a given XML schema type.
|