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.
This class has been deprecated. The GML decoders and encoders in the 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.
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:AbstractFeatureCollectionTypeILcdGML3FeatureCollection
gml:AbstractFeatureTypeILcdGML3AbstractFeatureCollection
gml:AbstractFeatureTypeILcdXMLElement
gml:AbstractFeatureTypeILcdGML3AbstractFeature
gml:SurfacePropertyTypeILcdGML3SurfaceProperty
gml:SurfacePatchArrayPropertyTypeILcdGML3SurfacePatchArrayProperty
gml:SurfaceArrayPropertyTypeILcdGML3SurfaceArrayProperty
gml:SurfaceTypeILcdGML3Surface
gml:StringOrRefTypeILcdGML3StringOrRef
gml:RingPropertyTypeILcdGML3RingProperty
gml:RingTypeILcdGML3Ring
gml:ReferenceTypeILcdGML3Reference
gml:PolygonPatchTypeILcdGML3PolygonPatch
gml:PolygonTypeILcdGML3Polygon
gml:PointPropertyTypeILcdGML3PointProperty
gml:PointArrayPropertyTypeILcdGML3PointArrayProperty
gml:PointTypeILcdGML3Point
gml:MultiSurfacePropertyTypeILcdGML3MultiSurfaceProperty
gml:MultiSurfaceTypeILcdGML3MultiSurface
gml:MultiPolygonPropertyTypeILcdGML3MultiSurfaceProperty
gml:MultiPolygonTypeILcdGML3MultiSurface
gml:MultiPointPropertyTypeILcdGML3MultiPointProperty
gml:MultiPointTypeILcdGML3MultiPoint
gml:MultiGeometryPropertyTypeILcdGML3MultiGeometryProperty
gml:MultiGeometryTypeILcdGML3MultiGeometry
gml:MultiCurvePropertyTypeILcdGML3MultiCurveProperty
gml:MultiCurveTypeILcdGML3MultiCurve
gml:MultiLineStringPropertyTypeILcdGML3MultiCurveProperty
gml:MultiLineStringTypeILcdGML3MultiCurve
gml:MeasureListTypeILcdGML3MeasureList
gml:MeasureTypeILcdGML3Measure
gml:LocationPropertyTypeILcdGML3LocationProperty
gml:LinearRingPropertyTypeILcdGML3LinearRingProperty
gml:LinearRingTypeILcdGML3LinearRing
gml:LineStringTypeILcdGML3LineString
gml:GeometryPropertyTypeILcdGML3GeometryProperty
gml:GeometryArrayPropertyTypeILcdGML3GeometryArrayProperty
gml:GeometricPrimitivePropertyTypeILcdGML3GeometricPrimitiveProperty
gml:FeaturePropertyTypeILcdGML3FeatureProperty
gml:FeatureArrayPropertyTypeILcdGML3FeatureArrayProperty
gml:EnvelopeTypeILcdGML3Envelope
gml:DirectPositionListTypeILcdGML3DirectPositionList
gml:DirectPositionTypeILcdGML3DirectPosition
gml:CurveSegmentArrayPropertyTypeILcdGML3CurveSegmentArrayProperty
gml:CurvePropertyTypeILcdGML3CurveProperty
gml:CurveArrayPropertyTypeILcdGML3CurveArrayProperty
gml:CurveTypeILcdGML3Curve
gml:CoordinatesTypeILcdGML3Coordinates
gml:CodeListTypeILcdGML3CodeList
gml:CodeTypeILcdGML3Code
gml:BoundingShapeTypeILcdGML3BoundingShape
gml:AssociationTypeILcdGML3Association
gml:ArrayAssociationTypeILcdGML3ArrayAssociation
gml:AbstractRingPropertyTypeILcdGML3AbstractRingProperty
gml:AbstractMetaDataTypeILcdGML3AbstractMetaData
gml:AbstractGeometryTypeILcdGML3AbstractGeometry
gml:AbstractGMLTypeILcdGML3AbstractGML
gml:AbstractCurveSegmentTypeILcdGML3AbstractCurveSegment
gml:PointTypeILcdPoint
gml:PolygonTypeILcdPolygon
gml:LineStringTypeILcdPolyline
gml:SurfaceTypeILcdComplexPolygon
gml:MultiPointTypeILcdPolypoint
gml:MultiGeometryTypeILcdShapeList
gml:CurveTypeILcdArc
gml:CurveTypeILcdCircle
gml:LinearRingTypeILcdPolygon
gml:AbstractRingPropertyTypeILcdPolygon
gml:CurveSegmentArrayPropertyTypeILcdArc
gml:CurveSegmentArrayPropertyTypeILcdCircle
gml:PointPropertyTypeILcdPoint
gml:SurfacePropertyTypeILcdPolygon
gml:CurvePropertyTypeILcdPolyline
gml:SurfacePropertyTypeILcdComplexPolygon
gml:MultiPointPropertyTypeILcdPolypoint
gml:MultiGeometryPropertyTypeILcdShapeList
gml:CurvePropertyTypeILcdArc
gml:CurvePropertyTypeILcdCircle
gml:AbstractFeaturedTypeILcdFeatured
gml:GeometryArrayPropertyTypeILcdShapeList
gml:PolygonPatchTypeILcdComplexPolygon
gml:SurfacePatchArrayPropertyTypeILcdComplexPolygon
gml:CircleByCenterPointTypeILcdCircle
gml:ArcByCenterPointTypeILcdArc
gml:DirectPositionListTypeILcdPointList
gml:DirectPositionTypeILcdPoint
gml:EnvelopeTypeILcdBounds
gml:BoundingShapeTypeILcdBounded
gml:AbstractFeatureCollectionTypeILcdModel
gml:FeatureArrayPropertyTypeILcdModel
gml:AbstractFeatureTypeILcdShape
xml:anyURIURL
xml:anyURIURI
xml:timeDate
xml:dateDate
xml:dateTimeDate
xml:stringCharacter
xml:doubleDouble
xml:floatFloat
xml:longLong
xml:integerInteger
xml:booleanBoolean
xml:stringString
  • Constructor Details

    • TLcdGML3ElementAdapterProvider

      public TLcdGML3ElementAdapterProvider(ILcdXMLSchemaProvider aSchemaProvider, ILcdXMLElementNameProvider aElementNameProvider)
      Deprecated.
      Constructs a new TLcdGML3ElementAdapterProvider, that will use the given ILcdXMLElementNameProvider and ILcdXMLSchemaProvider.
      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 - if aAdapter == null || aJavaClass == null.
    • getAdapterForType

      public ILcdXMLElementAdapter getAdapterForType(TLcdXMLName aTypeName, Object aObject, boolean aRecursiveSearch)
      Deprecated.
      Description copied from interface: ILcdXMLTypedElementAdapterProvider
      Returns a 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.

      Specified by:
      getAdapterForType in interface ILcdXMLTypedElementAdapterProvider
      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 the ILcdXMLElementAdapter that is most suitable to handle the object, specified by the given name/object stack, substitution group and object.

      Specified by:
      getAdapterForObject in interface ILcdXMLElementAdapterProvider
      Parameters:
      aParentElementNameStack - the XML name stack, containing all XML names from the root element up to the parent element name
      aParentObjectStack - the XML object stack, containing all XML objects from the root element up to the parent element
      aSubstitutionGroup - 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.