Examples of CoverageNearestValueSelectionStrategyImpl


Examples of org.geoserver.wms.dimension.impl.CoverageNearestValueSelectionStrategyImpl

                return new MaxVisitor(sa);
            }
        } else if (delegateStrategy instanceof CoverageMinimumValueSelectionStrategyImpl) {
            return new MinVisitor(sa);
        } else if (delegateStrategy instanceof CoverageNearestValueSelectionStrategyImpl) {
            CoverageNearestValueSelectionStrategyImpl impl = (CoverageNearestValueSelectionStrategyImpl) delegateStrategy;
            Object targetValue = impl.getTargetValue();
            return new NearestVisitor(ff.property(sa), targetValue);
        } else {
            throw new ServiceException("Don't konw how to restrict the domain for strategy "
                    + delegateStrategy);
        }
View Full Code Here

Examples of org.geoserver.wms.dimension.impl.CoverageNearestValueSelectionStrategyImpl

*/
public class DefaultCoverageNearestValueSelectionStrategyFactory implements NearestValueStrategyFactory {

    @Override
    public DimensionDefaultValueSelectionStrategy createNearestValueStrategy(Object toMatch) {
       return new CoverageNearestValueSelectionStrategyImpl(toMatch);
    }
View Full Code Here

Examples of org.geoserver.wms.dimension.impl.CoverageNearestValueSelectionStrategyImpl

    }

    @Override
    public DimensionDefaultValueSelectionStrategy createNearestValueStrategy(Object toMatch,
            String fixedCapabilitiesValue) {
       return new CoverageNearestValueSelectionStrategyImpl(toMatch, fixedCapabilitiesValue);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.