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.filter.v1_0;
017:
018: import org.picocontainer.MutablePicoContainer;
019: import org.geotools.xml.BindingConfiguration;
020:
021: /**
022: * Binding configuration for the http://www.opengis.net/ogc schema.
023: *
024: * @generated
025: */
026: public final class OGCBindingConfiguration implements
027: BindingConfiguration {
028: /**
029: * @generated modifiable
030: */
031: public void configure(MutablePicoContainer container) {
032: //expr.xsd
033: container.registerComponentImplementation(OGC.Add,
034: OGCAddBinding.class);
035: container.registerComponentImplementation(
036: OGC.BinaryOperatorType,
037: OGCBinaryOperatorTypeBinding.class);
038: container.registerComponentImplementation(OGC.Div,
039: OGCDivBinding.class);
040: container.registerComponentImplementation(OGC.ExpressionType,
041: OGCExpressionTypeBinding.class);
042: container.registerComponentImplementation(OGC.FunctionType,
043: OGCFunctionTypeBinding.class);
044: container.registerComponentImplementation(OGC.LiteralType,
045: OGCLiteralTypeBinding.class);
046: container.registerComponentImplementation(OGC.Mul,
047: OGCMulBinding.class);
048: container.registerComponentImplementation(OGC.PropertyNameType,
049: OGCPropertyNameTypeBinding.class);
050: container.registerComponentImplementation(OGC.Sub,
051: OGCSubBinding.class);
052:
053: //filter.xsd
054: container.registerComponentImplementation(OGC.And,
055: OGCAndBinding.class);
056: container.registerComponentImplementation(OGC.BBOXType,
057: OGCBBOXTypeBinding.class);
058: container.registerComponentImplementation(OGC.Beyond,
059: OGCBeyondBinding.class);
060: container.registerComponentImplementation(
061: OGC.BinaryComparisonOpType,
062: OGCBinaryComparisonOpTypeBinding.class);
063: container.registerComponentImplementation(
064: OGC.BinaryLogicOpType,
065: OGCBinaryLogicOpTypeBinding.class);
066: container.registerComponentImplementation(
067: OGC.BinarySpatialOpType,
068: OGCBinarySpatialOpTypeBinding.class);
069: container.registerComponentImplementation(OGC.Contains,
070: OGCContainsBinding.class);
071: container.registerComponentImplementation(OGC.Crosses,
072: OGCCrossesBinding.class);
073: container.registerComponentImplementation(OGC.Disjoint,
074: OGCDisjointBinding.class);
075: //container.registerComponentImplementation(OGC.COMPARISONOPSTYPE,OGCComparisonOpsTypeBinding.class);
076: container.registerComponentImplementation(
077: OGC.DistanceBufferType,
078: OGCDistanceBufferTypeBinding.class);
079: container.registerComponentImplementation(OGC.DistanceType,
080: OGCDistanceTypeBinding.class);
081: container.registerComponentImplementation(OGC.DWithin,
082: OGCDWithinBinding.class);
083: container.registerComponentImplementation(OGC.Equals,
084: OGCEqualsBinding.class);
085: container.registerComponentImplementation(OGC.FeatureIdType,
086: OGCFeatureIdTypeBinding.class);
087: container.registerComponentImplementation(OGC.FilterType,
088: OGCFilterTypeBinding.class);
089: //container.registerComponentImplementation(OGC.LOGICOPSTYPE,OGCLogicOpsTypeBinding.class);
090: container.registerComponentImplementation(OGC.Intersects,
091: OGCIntersectsBinding.class);
092: container.registerComponentImplementation(
093: OGC.LowerBoundaryType,
094: OGCLowerBoundaryTypeBinding.class);
095: container.registerComponentImplementation(OGC.Not,
096: OGCNotBinding.class);
097: container.registerComponentImplementation(OGC.Or,
098: OGCOrBinding.class);
099: container.registerComponentImplementation(
100: OGC.PropertyIsBetweenType,
101: OGCPropertyIsBetweenTypeBinding.class);
102: container.registerComponentImplementation(
103: OGC.PropertyIsEqualTo,
104: OGCPropertyIsEqualToBinding.class);
105: container.registerComponentImplementation(
106: OGC.PropertyIsGreaterThan,
107: OGCPropertyIsGreaterThanBinding.class);
108: container.registerComponentImplementation(
109: OGC.PropertyIsGreaterThanOrEqualTo,
110: OGCPropertyIsGreaterThanOrEqualToBinding.class);
111: container.registerComponentImplementation(
112: OGC.PropertyIsLessThan,
113: OGCPropertyIsLessThanBinding.class);
114: container.registerComponentImplementation(
115: OGC.PropertyIsLessThanOrEqualTo,
116: OGCPropertyIsLessThanOrEqualToBinding.class);
117: container.registerComponentImplementation(
118: OGC.PropertyIsLikeType,
119: OGCPropertyIsLikeTypeBinding.class);
120: container.registerComponentImplementation(
121: OGC.PropertyIsNullType,
122: OGCPropertyIsNullTypeBinding.class);
123: container.registerComponentImplementation(
124: OGC.PropertyIsNotEqualTo,
125: OGCPropertyIsNotEqualToBinding.class);
126: container.registerComponentImplementation(OGC.Overlaps,
127: OGCOverlapsBinding.class);
128: container.registerComponentImplementation(OGC.Touches,
129: OGCTouchesBinding.class);
130: //container.registerComponentImplementation(OGC.SPATIALOPSTYPE,OGCSpatialOpsTypeBinding.class);
131: //container.registerComponentImplementation(OGC.UnaryLogicOpType,
132: // OGCUnaryLogicOpTypeBinding.class);
133: container.registerComponentImplementation(
134: OGC.UpperBoundaryType,
135: OGCUpperBoundaryTypeBinding.class);
136: container.registerComponentImplementation(OGC.Within,
137: OGCWithinBinding.class);
138: }
139: }
|