Package org.geotools.filter.capability
Class SpatialCapabiltiesImpl
- Object
-
- SpatialCapabiltiesImpl
-
- All Implemented Interfaces:
SpatialCapabilities
public class SpatialCapabiltiesImpl extends Object implements SpatialCapabilities
Implementation of the SpatialCapabilities interface.This class is "null safe" in that component classes will be created as needed if if they were not provided during construction.
- Author:
- Justin Deoliveira, The Open Planning Project
-
-
Constructor Summary
Constructors Constructor Description SpatialCapabiltiesImpl()SpatialCapabiltiesImpl(Collection<GeometryOperand> geometryOperands, SpatialOperators spatialOperators)SpatialCapabiltiesImpl(GeometryOperand[] geometryOperands, SpatialOperators spatialOperators)SpatialCapabiltiesImpl(SpatialCapabilities copy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAll(SpatialCapabilities copy)Add additional SpatialOperators.booleanequals(Object obj)Collection<GeometryOperand>getGeometryOperands()Supported geometry operands.SpatialOperatorsImplgetSpatialOperators()Supported spatial operators.inthashCode()voidsetGeometryOperands(Collection<GeometryOperand> geometryOperands)voidsetSpatialOperators(SpatialOperatorsImpl spatialOperators)
-
-
-
Constructor Detail
-
SpatialCapabiltiesImpl
public SpatialCapabiltiesImpl()
-
SpatialCapabiltiesImpl
public SpatialCapabiltiesImpl(Collection<GeometryOperand> geometryOperands, SpatialOperators spatialOperators)
-
SpatialCapabiltiesImpl
public SpatialCapabiltiesImpl(GeometryOperand[] geometryOperands, SpatialOperators spatialOperators)
-
SpatialCapabiltiesImpl
public SpatialCapabiltiesImpl(SpatialCapabilities copy)
-
-
Method Detail
-
setGeometryOperands
public void setGeometryOperands(Collection<GeometryOperand> geometryOperands)
-
getGeometryOperands
public Collection<GeometryOperand> getGeometryOperands()
Description copied from interface:SpatialCapabilitiesSupported geometry operands.<xsd:element name="GeometryOperands" type="ogc:GeometryOperandsType"/>
- Specified by:
getGeometryOperandsin interfaceSpatialCapabilities
-
setSpatialOperators
public void setSpatialOperators(SpatialOperatorsImpl spatialOperators)
-
getSpatialOperators
public SpatialOperatorsImpl getSpatialOperators()
Description copied from interface:SpatialCapabilitiesSupported spatial operators.<xsd:element name="SpatialOperators" type="ogc:SpatialOperatorsType"/>
- Specified by:
getSpatialOperatorsin interfaceSpatialCapabilities
-
addAll
public void addAll(SpatialCapabilities copy)
Add additional SpatialOperators.- Parameters:
copy- Copy these additional SpatialCapabilities
-
-