Package com.luciad.lucy.addons.drawing.format.xml
package com.luciad.lucy.addons.drawing.format.xml
This packages provides utilities related to XML marshalling and unmarshalling.
Overview of available unmarshallers and marshallers
Base support
The TLcyDrawingFormat
provides built-in support for unmarshalling and marshalling the
following XML Schema types to Java classes:
XML Schema type | Java class |
---|---|
{http://www.opengis.net/gml/3.2}BoundingShapeType | com.luciad.shape.ILcdBounds |
{http://www.opengis.net/gml/3.2}EnvelopeType | com.luciad.shape.ILcdBounds |
{http://www.opengis.net/gml/3.2}PointPropertyType | com.luciad.shape.ILcdPoint |
{http://www.opengis.net/gml/3.2}PointType | com.luciad.shape.ILcdPoint |
{http://www.opengis.net/gml/3.2}DirectPositionType | com.luciad.shape.ILcdPoint |
{http://www.luciad.com/resources/drawing/1.0}ModelType | com.luciad.model.ILcdModel |
{http://www.luciad.com/resources/drawing/1.0}FeaturedDescriptorType | ILcdModelDescriptor |
{http://www.luciad.com/resources/drawing/1.0}StyleRepositoryType | com.luciad.lucy.addons.drawing.format.TLcyDrawingStyleRepository |
{http://www.luciad.com/resources/drawing/1.0}MemberType | java.lang.Object |
{http://www.luciad.com/resources/drawing/1.0}PointPropertyType | com.luciad.shape.ILcdPoint |
{http://www.opengis.net/sld}FeatureTypeStyle | com.luciad.ogc.sld.model.TLcdSLDFeatureTypeStyle |
{http://www.w3.org/2001/XMLSchema}boolean | java.lang.Boolean |
{http://www.w3.org/2001/XMLSchema}string | java.lang.String |
{http://www.w3.org/2001/XMLSchema}byte | java.lang.Byte |
{http://www.w3.org/2001/XMLSchema}short | java.lang.Short |
{http://www.w3.org/2001/XMLSchema}integer | java.lang.Integer |
{http://www.w3.org/2001/XMLSchema}long | java.lang.Long |
{http://www.w3.org/2001/XMLSchema}float | java.lang.Float |
{http://www.w3.org/2001/XMLSchema}double | java.lang.Double |
{http://www.w3.org/2001/XMLSchema}string | java.lang.Character |
Additionally, there is a marshaller provided for marshalling ILcdShape/ILcdDataObject implementations to
{http://www.luciad.com/resources/drawing/1.0}SLDDomainObjectType
.
Domain object support
The default domain object supplier, TLcySLDDomainObjectSupplier, adds support for the mapping of{http://www.luciad.com/resources/drawing/1.0}SLDDomainObjectType
to
com.luciad.lucy.addons.drawing.format.TLcySLDDomainObject
and vice versa.
Shape support
All shape supplier classes provided by the TLcyDrawingFormat add support for the following mappings:- Geometry property type (defined in the Drawing XML Schema) to corresponding ILcdShape class or interface
- Geometry type (defined in the GML 3.2 or Drawing XML Schema) to corresponding ILcdShape class or interface
The table below shows how the Java ILcdShape implementations, supported by default by TLcyDrawingFormat
,
are mapped on XML geometry property types:
ILcdArc | {http://www.luciad.com/resources/drawing/1.0}ArcPropertyType |
ILcdArcBand | {http://www.luciad.com/resources/drawing/1.0}ArcBandPropertyType |
ILcdBounds | {http://www.luciad.com/resources/drawing/1.0}BoundsPropertyType |
TLcdLonLatHeightBuffer | {http://www.luciad.com/resources/drawing/1.0}Buffer3DPropertyType |
ILcdVariableWidthBuffer | {http://www.luciad.com/resources/drawing/1.0}VariableWidthBufferPropertyType |
ILcdGeoBuffer | {http://www.luciad.com/resources/drawing/1.0}GeoBufferPropertyType |
ILcdCircle | {http://www.luciad.com/resources/drawing/1.0}CirclePropertyType |
TLcyDome | {http://www.luciad.com/resources/drawing/1.0}DomePropertyType |
ILcdEllipse | {http://www.luciad.com/resources/drawing/1.0}EllipsePropertyType |
TLcyMeridianShape | {http://www.luciad.com/resources/drawing/1.0}MeridianPropertyType |
TLcyNorthArrowPointShape | {http://www.luciad.com/resources/drawing/1.0}NorthArrowPropertyType |
TLcyParallelShape | {http://www.luciad.com/resources/drawing/1.0}ParallelPropertyType |
ILcdPoint | {http://www.luciad.com/resources/drawing/1.0}PointPropertyType |
ILcdPolygon | {http://www.luciad.com/resources/drawing/1.0}PolygonPropertyType |
ILcdPolyline | {http://www.luciad.com/resources/drawing/1.0}PolylinePropertyType |
TLcdLonLatHeightSphere | {http://www.luciad.com/resources/drawing/1.0}SpherePropertyType |
ILcdText | {http://www.luciad.com/resources/drawing/1.0}TextPropertyType |
- Since:
- 8.2
-
ClassDescriptionThis class groups a number of methods to extract information from the context during xml marshalling and unmarshalling.