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.gml2.bindings;
017:
018: import org.picocontainer.MutablePicoContainer;
019: import org.geotools.xml.BindingConfiguration;
020:
021: /**
022: * Binding configuration for the http://www.opengis.net/gml schema.
023: *
024: * @generated
025: */
026: public final class GMLBindingConfiguration implements
027: BindingConfiguration {
028: /**
029: * @generated modifiable
030: */
031: public void configure(MutablePicoContainer container) {
032: //geometry
033: container.registerComponentImplementation(
034: GML.ABSTRACTGEOMETRYCOLLECTIONBASETYPE,
035: GMLAbstractGeometryCollectionBaseTypeBinding.class);
036: container.registerComponentImplementation(
037: GML.ABSTRACTGEOMETRYTYPE,
038: GMLAbstractGeometryTypeBinding.class);
039: container.registerComponentImplementation(GML.BOXTYPE,
040: GMLBoxTypeBinding.class);
041: container.registerComponentImplementation(GML.COORDINATESTYPE,
042: GMLCoordinatesTypeBinding.class);
043: container.registerComponentImplementation(GML.COORDTYPE,
044: GMLCoordTypeBinding.class);
045: container.registerComponentImplementation(
046: GML.GEOMETRYASSOCIATIONTYPE,
047: GMLGeometryAssociationTypeBinding.class);
048: container.registerComponentImplementation(
049: GML.GEOMETRYCOLLECTIONTYPE,
050: GMLGeometryCollectionTypeBinding.class);
051: container.registerComponentImplementation(
052: GML.LINEARRINGMEMBERTYPE,
053: GMLLinearRingMemberTypeBinding.class);
054: container.registerComponentImplementation(GML.LINEARRINGTYPE,
055: GMLLinearRingTypeBinding.class);
056: container.registerComponentImplementation(
057: GML.LINESTRINGMEMBERTYPE,
058: GMLLineStringMemberTypeBinding.class);
059: container.registerComponentImplementation(GML.LINESTRINGTYPE,
060: GMLLineStringTypeBinding.class);
061: container.registerComponentImplementation(
062: GML.MULTILINESTRINGTYPE,
063: GMLMultiLineStringTypeBinding.class);
064: container.registerComponentImplementation(GML.MULTIPOINTTYPE,
065: GMLMultiPointTypeBinding.class);
066: container.registerComponentImplementation(GML.MULTIPOLYGONTYPE,
067: GMLMultiPolygonTypeBinding.class);
068: container.registerComponentImplementation(GML.POINTMEMBERTYPE,
069: GMLPointMemberTypeBinding.class);
070: container.registerComponentImplementation(GML.POINTTYPE,
071: GMLPointTypeBinding.class);
072: container.registerComponentImplementation(
073: GML.POLYGONMEMBERTYPE,
074: GMLPolygonMemberTypeBinding.class);
075: container.registerComponentImplementation(GML.POLYGONTYPE,
076: GMLPolygonTypeBinding.class);
077:
078: //feature
079: container.registerComponentImplementation(
080: GML.ABSTRACTFEATURECOLLECTIONBASETYPE,
081: GMLAbstractFeatureCollectionBaseTypeBinding.class);
082: container.registerComponentImplementation(
083: GML.ABSTRACTFEATURECOLLECTIONTYPE,
084: GMLAbstractFeatureCollectionTypeBinding.class);
085: container.registerComponentImplementation(
086: GML.ABSTRACTFEATURETYPE,
087: GMLAbstractFeatureTypeBinding.class);
088: container.registerComponentImplementation(
089: GML.BOUNDINGSHAPETYPE,
090: GMLBoundingShapeTypeBinding.class);
091: container.registerComponentImplementation(
092: GML.FEATUREASSOCIATIONTYPE,
093: GMLFeatureAssociationTypeBinding.class);
094: container.registerComponentImplementation(
095: GML.GEOMETRYPROPERTYTYPE,
096: GMLGeometryPropertyTypeBinding.class);
097: container.registerComponentImplementation(
098: GML.LINESTRINGPROPERTYTYPE,
099: GMLLineStringPropertyTypeBinding.class);
100: container.registerComponentImplementation(
101: GML.MULTIGEOMETRYPROPERTYTYPE,
102: GMLMultiGeometryPropertyTypeBinding.class);
103: container.registerComponentImplementation(
104: GML.MULTILINESTRINGPROPERTYTYPE,
105: GMLMultiLineStringPropertyTypeBinding.class);
106: container.registerComponentImplementation(
107: GML.MULTIPOINTPROPERTYTYPE,
108: GMLMultiPointPropertyTypeBinding.class);
109: container.registerComponentImplementation(
110: GML.MULTIPOLYGONPROPERTYTYPE,
111: GMLMultiPolygonPropertyTypeBinding.class);
112: container.registerComponentImplementation(GML.NULLTYPE,
113: GMLNullTypeBinding.class);
114: container.registerComponentImplementation(
115: GML.POINTPROPERTYTYPE,
116: GMLPointPropertyTypeBinding.class);
117: container.registerComponentImplementation(
118: GML.POLYGONPROPERTYTYPE,
119: GMLPolygonPropertyTypeBinding.class);
120: }
121: }
|