001: /*
002: * GeoTools - OpenSource mapping toolkit
003: * http://geotools.org
004: * (C) 2002-2006, GeoTools Project Managment Committee (PMC)
005: *
006: * This library is free software; you can redistribute it and/or
007: * modify it under the terms of the GNU Lesser General Public
008: * License as published by the Free Software Foundation;
009: * version 2.1 of the License.
010: *
011: * This library is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * Lesser General Public License for more details.
015: */
016: package org.geotools.gml3.bindings;
017:
018: import org.picocontainer.MutablePicoContainer;
019: import sun.java2d.loops.SurfaceType;
020: import org.geotools.gml2.bindings.GMLCoordTypeBinding;
021: import org.geotools.gml2.bindings.GMLCoordinatesTypeBinding;
022: import org.geotools.xml.BindingConfiguration;
023:
024: /**
025: * Binding configuration for the http://www.opengis.net/gml schema.
026: *
027: * @generated
028: */
029: public final class GMLBindingConfiguration implements
030: BindingConfiguration {
031: /**
032: * @generated modifiable
033: */
034: public void configure(MutablePicoContainer container) {
035: //Types
036: container.registerComponentImplementation(
037: GML.AbstractFeatureType,
038: AbstractFeatureTypeBinding.class);
039: container.registerComponentImplementation(
040: GML.AbstractFeatureCollectionType,
041: AbstractFeatureCollectionTypeBinding.class);
042: container.registerComponentImplementation(
043: GML.AbstractGeometryType,
044: AbstractGeometryTypeBinding.class);
045: container.registerComponentImplementation(
046: GML.AbstractRingPropertyType,
047: AbstractRingPropertyTypeBinding.class);
048: container.registerComponentImplementation(
049: GML.BoundingShapeType, BoundingShapeTypeBinding.class);
050: //container.registerComponentImplementation(GML.COORDINATESTYPE,CoordinatesTypeBinding.class);
051: container.registerComponentImplementation(GML.CoordinatesType,
052: GMLCoordinatesTypeBinding.class);
053: //container.registerComponentImplementation(GML.COORDTYPE,CoordTypeBinding.class);
054: container.registerComponentImplementation(GML.CoordType,
055: GMLCoordTypeBinding.class);
056: container.registerComponentImplementation(
057: GML.CurveArrayPropertyType,
058: CurveArrayPropertyTypeBinding.class);
059: container.registerComponentImplementation(GML.CurveType,
060: CurveTypeBinding.class);
061: container.registerComponentImplementation(
062: GML.CurvePropertyType, CurvePropertyTypeBinding.class);
063: container.registerComponentImplementation(
064: GML.CurveSegmentArrayPropertyType,
065: CurveSegmentArrayPropertyTypeBinding.class);
066: container.registerComponentImplementation(
067: GML.DirectPositionListType,
068: DirectPositionListTypeBinding.class);
069: container
070: .registerComponentImplementation(
071: GML.DirectPositionType,
072: DirectPositionTypeBinding.class);
073: container.registerComponentImplementation(GML.doubleList,
074: DoubleListBinding.class);
075: container.registerComponentImplementation(GML.EnvelopeType,
076: EnvelopeTypeBinding.class);
077: container.registerComponentImplementation(
078: GML.FeatureArrayPropertyType,
079: FeatureArrayPropertyTypeBinding.class);
080: container.registerComponentImplementation(
081: GML.FeaturePropertyType,
082: FeaturePropertyTypeBinding.class);
083: container.registerComponentImplementation(
084: GML.GeometryPropertyType,
085: GeometryPropertyTypeBinding.class);
086: container.registerComponentImplementation(GML.integerList,
087: IntegerListBinding.class);
088: container.registerComponentImplementation(
089: GML.LinearRingPropertyType,
090: LinearRingPropertyTypeBinding.class);
091: container.registerComponentImplementation(GML.LinearRingType,
092: LinearRingTypeBinding.class);
093: container.registerComponentImplementation(
094: GML.LineStringPropertyType,
095: LineStringPropertyTypeBinding.class);
096: container.registerComponentImplementation(
097: GML.LineStringSegmentType,
098: LineStringSegmentTypeBinding.class);
099: container.registerComponentImplementation(GML.LineStringType,
100: LineStringTypeBinding.class);
101: container.registerComponentImplementation(
102: GML.LocationPropertyType,
103: LocationPropertyTypeBinding.class);
104:
105: container.registerComponentImplementation(GML.MeasureType,
106: MeasureTypeBinding.class);
107: container.registerComponentImplementation(GML.MultiCurveType,
108: MultiCurveTypeBinding.class);
109: container.registerComponentImplementation(
110: GML.MultiCurvePropertyType,
111: MultiCurvePropertyTypeBinding.class);
112: container.registerComponentImplementation(
113: GML.MultiLineStringPropertyType,
114: MultiLineStringPropertyTypeBinding.class);
115: container.registerComponentImplementation(
116: GML.MultiLineStringType,
117: MultiLineStringTypeBinding.class);
118: container.registerComponentImplementation(
119: GML.MultiPointPropertyType,
120: MultiPointPropertyTypeBinding.class);
121: container.registerComponentImplementation(GML.MultiPointType,
122: MultiPointTypeBinding.class);
123: container.registerComponentImplementation(
124: GML.MultiPolygonPropertyType,
125: MultiPolygonPropertyTypeBinding.class);
126: container.registerComponentImplementation(GML.MultiPolygonType,
127: MultiPolygonTypeBinding.class);
128: container.registerComponentImplementation(GML.MultiSurfaceType,
129: MultiSurfaceTypeBinding.class);
130: container.registerComponentImplementation(
131: GML.MultiSurfacePropertyType,
132: MultiSurfacePropertyTypeBinding.class);
133: container.registerComponentImplementation(
134: GML.PointArrayPropertyType,
135: PointArrayPropertyTypeBinding.class);
136: container.registerComponentImplementation(
137: GML.PointPropertyType, PointPropertyTypeBinding.class);
138: container.registerComponentImplementation(GML.PointType,
139: PointTypeBinding.class);
140: container.registerComponentImplementation(
141: GML.PolygonPropertyType,
142: PolygonPropertyTypeBinding.class);
143: container.registerComponentImplementation(GML.PolygonType,
144: PolygonTypeBinding.class);
145: container.registerComponentImplementation(
146: GML.SurfaceArrayPropertyType,
147: SurfaceArrayPropertyTypeBinding.class);
148: container.registerComponentImplementation(
149: GML.SurfacePropertyType,
150: SurfacePropertyTypeBinding.class);
151: }
152: }
|