Package com.luciad.format.gml3.adapter
Class TLcdGML3ElementAdapterProvider
java.lang.Object
com.luciad.format.gml3.adapter.TLcdGML3ElementAdapterProvider
- All Implemented Interfaces:
ILcdXMLElementAdapterProvider
,ILcdXMLTypedElementAdapterProvider
@Deprecated
public class TLcdGML3ElementAdapterProvider
extends Object
implements ILcdXMLTypedElementAdapterProvider
Deprecated.
Provides default
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 Summary
ConstructorDescriptionTLcdGML3ElementAdapterProvider
(ILcdXMLSchemaProvider aSchemaProvider, ILcdXMLElementNameProvider aElementNameProvider) Deprecated.Constructs a newTLcdGML3ElementAdapterProvider
, that will use the givenILcdXMLElementNameProvider
andILcdXMLSchemaProvider
.TLcdGML3ElementAdapterProvider
(ILcdXMLSchemaProvider aSchemaProvider, ILcdXMLElementNameProvider aElementNameProvider, ILcdXMLTypedElementAdapterProvider aElementAdapterProvider) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetAdapterForObject
(ILcdXMLNameStack aParentElementNameStack, ILcdXMLObjectStack aParentObjectStack, TLcdXMLName aSubstitutionGroup, Object aObject) Deprecated.Returns theILcdXMLElementAdapter
that is most suitable to handle the object, specified by the given name/object stack, substitution group and object.getAdapterForType
(TLcdXMLName aTypeName, Object aObject, boolean aRecursiveSearch) Deprecated.Returns aILcdXMLElementAdapter
for the given XML name and Java object.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.void
registerElementAdapter
(TLcdXMLName aXMLTypeName, Class aJavaClass, ILcdXMLElementAdapter aElementAdapter) Deprecated.Registers an element adapter for the given XML type and java class.
-
Constructor Details
-
TLcdGML3ElementAdapterProvider
public TLcdGML3ElementAdapterProvider(ILcdXMLSchemaProvider aSchemaProvider, ILcdXMLElementNameProvider aElementNameProvider) Deprecated.Constructs a newTLcdGML3ElementAdapterProvider
, that will use the givenILcdXMLElementNameProvider
andILcdXMLSchemaProvider
.- Parameters:
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.
-
TLcdGML3ElementAdapterProvider
public TLcdGML3ElementAdapterProvider(ILcdXMLSchemaProvider aSchemaProvider, ILcdXMLElementNameProvider aElementNameProvider, ILcdXMLTypedElementAdapterProvider aElementAdapterProvider) Deprecated.
-
-
Method Details
-
registerElementAdapter
public void registerElementAdapter(TLcdXMLName aXMLTypeName, Class aJavaClass, ILcdXMLElementAdapter aElementAdapter) Deprecated.Registers an element adapter for the given XML type and java class.- Parameters:
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.
-
registerElementAdapter
public 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.- Parameters:
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.- Throws:
NullPointerException
- ifaAdapter == null || aJavaClass == null
.
-
getAdapterForType
public ILcdXMLElementAdapter getAdapterForType(TLcdXMLName aTypeName, Object aObject, boolean aRecursiveSearch) Deprecated.Description copied from interface:ILcdXMLTypedElementAdapterProvider
Returns aILcdXMLElementAdapter
for the given XML name and Java object. If no reader is available for the XML given type, andaSearchRecursive == 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.- Specified by:
getAdapterForType
in interfaceILcdXMLTypedElementAdapterProvider
- Parameters:
aTypeName
-aObject
-aRecursiveSearch
-- Returns:
- a element adapter that can handle the given (XML Type, Java object) combination.
-
getAdapterForObject
public ILcdXMLElementAdapter getAdapterForObject(ILcdXMLNameStack aParentElementNameStack, ILcdXMLObjectStack aParentObjectStack, TLcdXMLName aSubstitutionGroup, Object aObject) Deprecated.Description copied from interface:ILcdXMLElementAdapterProvider
Returns theILcdXMLElementAdapter
that is most suitable to handle the object, specified by the given name/object stack, substitution group and object.- Specified by:
getAdapterForObject
in interfaceILcdXMLElementAdapterProvider
- Parameters:
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.- Returns:
- the element adapter that is most suitable to handle the specified object.
-
com.luciad.format.gml3.*
packages are replaced by new decoders and encoders in the packagescom.luciad.format.gml2.xml
,com.luciad.format.gml31.xml
andcom.luciad.format.gml32.xml
.