org.geotools.filter.capability
Class SpatialCapabiltiesImpl

Object
  extended by 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
SpatialCapabiltiesImpl()
           
SpatialCapabiltiesImpl(Collection<GeometryOperand> geometryOperands, SpatialOperators spatialOperators)
           
SpatialCapabiltiesImpl(GeometryOperand[] geometryOperands, SpatialOperators spatialOperators)
           
SpatialCapabiltiesImpl(SpatialCapabilities copy)
           
 
Method Summary
 void addAll(SpatialCapabilities copy)
          Add additional SpatialOperators.
 boolean equals(Object obj)
           
 Collection<GeometryOperand> getGeometryOperands()
          Supported geometry operands.
 SpatialOperatorsImpl getSpatialOperators()
          Supported spatial operators.
 int hashCode()
           
 void setGeometryOperands(Collection<GeometryOperand> geometryOperands)
           
 void setSpatialOperators(SpatialOperatorsImpl spatialOperators)
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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: SpatialCapabilities
Supported geometry operands.

 <xsd:element name="GeometryOperands" type="ogc:GeometryOperandsType"/>
 

Specified by:
getGeometryOperands in interface SpatialCapabilities

setSpatialOperators

public void setSpatialOperators(SpatialOperatorsImpl spatialOperators)

getSpatialOperators

public SpatialOperatorsImpl getSpatialOperators()
Description copied from interface: SpatialCapabilities
Supported spatial operators.

 <xsd:element name="SpatialOperators" type="ogc:SpatialOperatorsType"/>
 

Specified by:
getSpatialOperators in interface SpatialCapabilities

addAll

public void addAll(SpatialCapabilities copy)
Add additional SpatialOperators.

Parameters:
copy - Copy these additional SpatialCapabilities

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 1996-2014 Geotools. All Rights Reserved.