public class TLcdXMLSchemaBasedMappingUtil extends Object
Modifier and Type | Method and Description |
---|---|
static ILcdSelfDescribedFeatured |
createFeaturedObject(TLcdXMLSchemaBasedMapping aMapping,
TLcdXMLSchemaElement aSchemaElement)
Creates a new object instance for the specified XML Schema type, and implementing
com.luciad.util.ILcdSelfDescribedFeatured . |
static <T> T |
createObject(TLcdXMLSchemaBasedMapping aMapping,
TLcdXMLSchemaElement aSchemaElement,
Class<T> aClass)
Creates a new object instance for the specified XML Schema element, of the specified class (or subclass).
|
public static <T> T createObject(TLcdXMLSchemaBasedMapping aMapping, TLcdXMLSchemaElement aSchemaElement, Class<T> aClass)
createObject()
method of this factory.T
- the class the created object should be assignable to.aMapping
- the XML mapping from which to retrieve an XML object factory.aSchemaElement
- the XML element type for which to create an object.aClass
- the Java class the created object should be assignable to.public static ILcdSelfDescribedFeatured createFeaturedObject(TLcdXMLSchemaBasedMapping aMapping, TLcdXMLSchemaElement aSchemaElement)
com.luciad.util.ILcdSelfDescribedFeatured
.
This method will retrieve the object factory for the specified [XML Schema type, Java class] pair and call the
createObject()
method of this factory.aMapping
- the XML mapping from which to retrieve an XML object factory.aSchemaElement
- the XML Schema element for which to create an object.