com.luciad.format.gml3.*
packages are replaced by new decoders and encoders in the
packages com.luciad.format.gml2.xml
, com.luciad.format.gml31.xml
and
com.luciad.format.gml32.xml
.@Deprecated public class TLcdGML3ElementAdapterProvider extends Object implementsILcdXMLTypedElementAdapterProvider
ILcdXMLTypedElementAdapter
adapters for creating an XML view on GML
and other LuciadLightspeed models.
The following XML types are currently supported (each type is shown with the interface that is
expected by its adapter:
Element | Required interface | Notes |
---|---|---|
gml:AbstractFeatureCollectionType | ILcdGML3FeatureCollection | |
gml:AbstractFeatureType | ILcdGML3AbstractFeatureCollection | |
gml:AbstractFeatureType | ILcdXMLElement | |
gml:AbstractFeatureType | ILcdGML3AbstractFeature | |
gml:SurfacePropertyType | ILcdGML3SurfaceProperty | |
gml:SurfacePatchArrayPropertyType | ILcdGML3SurfacePatchArrayProperty | |
gml:SurfaceArrayPropertyType | ILcdGML3SurfaceArrayProperty | |
gml:SurfaceType | ILcdGML3Surface | |
gml:StringOrRefType | ILcdGML3StringOrRef | |
gml:RingPropertyType | ILcdGML3RingProperty | |
gml:RingType | ILcdGML3Ring | |
gml:ReferenceType | ILcdGML3Reference | |
gml:PolygonPatchType | ILcdGML3PolygonPatch | |
gml:PolygonType | ILcdGML3Polygon | |
gml:PointPropertyType | ILcdGML3PointProperty | |
gml:PointArrayPropertyType | ILcdGML3PointArrayProperty | |
gml:PointType | ILcdGML3Point | |
gml:MultiSurfacePropertyType | ILcdGML3MultiSurfaceProperty | |
gml:MultiSurfaceType | ILcdGML3MultiSurface | |
gml:MultiPolygonPropertyType | ILcdGML3MultiSurfaceProperty | |
gml:MultiPolygonType | ILcdGML3MultiSurface | |
gml:MultiPointPropertyType | ILcdGML3MultiPointProperty | |
gml:MultiPointType | ILcdGML3MultiPoint | |
gml:MultiGeometryPropertyType | ILcdGML3MultiGeometryProperty | |
gml:MultiGeometryType | ILcdGML3MultiGeometry | |
gml:MultiCurvePropertyType | ILcdGML3MultiCurveProperty | |
gml:MultiCurveType | ILcdGML3MultiCurve | |
gml:MultiLineStringPropertyType | ILcdGML3MultiCurveProperty | |
gml:MultiLineStringType | ILcdGML3MultiCurve | |
gml:MeasureListType | ILcdGML3MeasureList | |
gml:MeasureType | ILcdGML3Measure | |
gml:LocationPropertyType | ILcdGML3LocationProperty | |
gml:LinearRingPropertyType | ILcdGML3LinearRingProperty | |
gml:LinearRingType | ILcdGML3LinearRing | |
gml:LineStringType | ILcdGML3LineString | |
gml:GeometryPropertyType | ILcdGML3GeometryProperty | |
gml:GeometryArrayPropertyType | ILcdGML3GeometryArrayProperty | |
gml:GeometricPrimitivePropertyType | ILcdGML3GeometricPrimitiveProperty | |
gml:FeaturePropertyType | ILcdGML3FeatureProperty | |
gml:FeatureArrayPropertyType | ILcdGML3FeatureArrayProperty | |
gml:EnvelopeType | ILcdGML3Envelope | |
gml:DirectPositionListType | ILcdGML3DirectPositionList | |
gml:DirectPositionType | ILcdGML3DirectPosition | |
gml:CurveSegmentArrayPropertyType | ILcdGML3CurveSegmentArrayProperty | |
gml:CurvePropertyType | ILcdGML3CurveProperty | |
gml:CurveArrayPropertyType | ILcdGML3CurveArrayProperty | |
gml:CurveType | ILcdGML3Curve | |
gml:CoordinatesType | ILcdGML3Coordinates | |
gml:CodeListType | ILcdGML3CodeList | |
gml:CodeType | ILcdGML3Code | |
gml:BoundingShapeType | ILcdGML3BoundingShape | |
gml:AssociationType | ILcdGML3Association | |
gml:ArrayAssociationType | ILcdGML3ArrayAssociation | |
gml:AbstractRingPropertyType | ILcdGML3AbstractRingProperty | |
gml:AbstractMetaDataType | ILcdGML3AbstractMetaData | |
gml:AbstractGeometryType | ILcdGML3AbstractGeometry | |
gml:AbstractGMLType | ILcdGML3AbstractGML | |
gml:AbstractCurveSegmentType | ILcdGML3AbstractCurveSegment | |
gml:PointType | ILcdPoint | |
gml:PolygonType | ILcdPolygon | |
gml:LineStringType | ILcdPolyline | |
gml:SurfaceType | ILcdComplexPolygon | |
gml:MultiPointType | ILcdPolypoint | |
gml:MultiGeometryType | ILcdShapeList | |
gml:CurveType | ILcdArc | |
gml:CurveType | ILcdCircle | |
gml:LinearRingType | ILcdPolygon | |
gml:AbstractRingPropertyType | ILcdPolygon | |
gml:CurveSegmentArrayPropertyType | ILcdArc | |
gml:CurveSegmentArrayPropertyType | ILcdCircle | |
gml:PointPropertyType | ILcdPoint | |
gml:SurfacePropertyType | ILcdPolygon | |
gml:CurvePropertyType | ILcdPolyline | |
gml:SurfacePropertyType | ILcdComplexPolygon | |
gml:MultiPointPropertyType | ILcdPolypoint | |
gml:MultiGeometryPropertyType | ILcdShapeList | |
gml:CurvePropertyType | ILcdArc | |
gml:CurvePropertyType | ILcdCircle | |
gml:AbstractFeaturedType | ILcdFeatured | |
gml:GeometryArrayPropertyType | ILcdShapeList | |
gml:PolygonPatchType | ILcdComplexPolygon | |
gml:SurfacePatchArrayPropertyType | ILcdComplexPolygon | |
gml:CircleByCenterPointType | ILcdCircle | |
gml:ArcByCenterPointType | ILcdArc | |
gml:DirectPositionListType | ILcdPointList | |
gml:DirectPositionType | ILcdPoint | |
gml:EnvelopeType | ILcdBounds | |
gml:BoundingShapeType | ILcdBounded | |
gml:AbstractFeatureCollectionType | ILcdModel | |
gml:FeatureArrayPropertyType | ILcdModel | |
gml:AbstractFeatureType | ILcdShape | |
xml:anyURI | URL | |
xml:anyURI | URI | |
xml:time | Date | |
xml:date | Date | |
xml:dateTime | Date | |
xml:string | Character | |
xml:double | Double | |
xml:float | Float | |
xml:long | Long | |
xml:integer | Integer | |
xml:boolean | Boolean | |
xml:string | String |
Constructor and Description |
---|
TLcdGML3ElementAdapterProvider(ILcdXMLSchemaProvider aSchemaProvider,
ILcdXMLElementNameProvider aElementNameProvider)
Deprecated.
Constructs a new
TLcdGML3ElementAdapterProvider , that will use the given
ILcdXMLElementNameProvider and ILcdXMLSchemaProvider . |
TLcdGML3ElementAdapterProvider(ILcdXMLSchemaProvider aSchemaProvider,
ILcdXMLElementNameProvider aElementNameProvider,
ILcdXMLTypedElementAdapterProvider aElementAdapterProvider)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ILcdXMLElementAdapter |
getAdapterForObject(ILcdXMLNameStack aParentElementNameStack,
ILcdXMLObjectStack aParentObjectStack,
TLcdXMLName aSubstitutionGroup,
Object aObject)
Deprecated.
Returns the
ILcdXMLElementAdapter that is most suitable to handle the object,
specified by the given name/object stack, substitution group and object. |
ILcdXMLElementAdapter |
getAdapterForType(TLcdXMLName aTypeName,
Object aObject,
boolean aRecursiveSearch)
Deprecated.
Returns a
ILcdXMLElementAdapter for the given XML name and Java object. |
void |
registerElementAdapter(TLcdXMLName aXMLTypeName,
Class aJavaClass,
ILcdXMLElementAdapter aElementAdapter)
Deprecated.
Registers an element adapter for the given XML type and java class.
|
void |
registerElementAdapter(TLcdXMLName aTypeName,
TLcdXMLName[] aElementNameStack,
Class aJavaClass,
ILcdXMLElementAdapter aAdapter)
Deprecated.
Registers the given adapter for the anonymous XML type, identified by the element name stack,
and, if the element name stack is contained within a named type, the name of that type.
|
public TLcdGML3ElementAdapterProvider(ILcdXMLSchemaProvider aSchemaProvider, ILcdXMLElementNameProvider aElementNameProvider)
TLcdGML3ElementAdapterProvider
, that will use the given
ILcdXMLElementNameProvider
and ILcdXMLSchemaProvider
.aSchemaProvider
- the schema provider to be used by the adapters in this provider.aElementNameProvider
- the element name provider to be used by the adapters in this provider.public TLcdGML3ElementAdapterProvider(ILcdXMLSchemaProvider aSchemaProvider, ILcdXMLElementNameProvider aElementNameProvider, ILcdXMLTypedElementAdapterProvider aElementAdapterProvider)
public void registerElementAdapter(TLcdXMLName aXMLTypeName, Class aJavaClass, ILcdXMLElementAdapter aElementAdapter)
aXMLTypeName
- the XML type name for which to register the element adapter.aJavaClass
- the Java class for which to register the element adapter.aElementAdapter
- the element adapter to be registered.public void registerElementAdapter(TLcdXMLName aTypeName, TLcdXMLName[] aElementNameStack, Class aJavaClass, ILcdXMLElementAdapter aAdapter)
aTypeName
- The XML type name from which the specified element name stack is part of.aElementNameStack
- The element name stack, identifying the XML type within the provided XML type.aAdapter
- the adapter to be registered.NullPointerException
- if aAdapter == null || aJavaClass == null
.public ILcdXMLElementAdapter getAdapterForType(TLcdXMLName aTypeName, Object aObject, boolean aRecursiveSearch)
ILcdXMLTypedElementAdapterProvider
ILcdXMLElementAdapter
for the given XML name and Java object.
If no reader is available for the XML given type, and aSearchRecursive == true
,
the provider will recursively look at the XML base types of the given type, until a base
type is found for which a reader is available.
getAdapterForType
in interface ILcdXMLTypedElementAdapterProvider
public ILcdXMLElementAdapter getAdapterForObject(ILcdXMLNameStack aParentElementNameStack, ILcdXMLObjectStack aParentObjectStack, TLcdXMLName aSubstitutionGroup, Object aObject)
ILcdXMLElementAdapterProvider
ILcdXMLElementAdapter
that is most suitable to handle the object,
specified by the given name/object stack, substitution group and object.
getAdapterForObject
in interface ILcdXMLElementAdapterProvider
aParentElementNameStack
- the XML name stack, containing all XML names from the root
element up to the parent element nameaParentObjectStack
- the XML object stack, containing all XML objects from the root
element up to the parent elementaSubstitutionGroup
- the substitution group the element belongs to,
if there is one (null
otherwise).aObject
- the element for which to return an adapter.