Package org.apache.sis.filter
Class DefaultFilterFactory.Features<G,T> 
- Type Parameters:
- G- base class of geometry objects. The implementation-neutral type is GeoAPI- Geometry, but this factory allows the use of other implementations such as JTS- Geometryor ESRI- Geometry.
- T- base class of temporal objects.
- All Implemented Interfaces:
- Factory
- Enclosing class:
- DefaultFilterFactory<R,- G, - T> 
public static class DefaultFilterFactory.Features<G,T> 
extends DefaultFilterFactory<AbstractFeature,G,T>  
A filter factory operating on 
AbstractFeature instances.- 
Nested Class SummaryNested classes/interfaces inherited from class DefaultFilterFactoryDefaultFilterFactory.Features<G,T> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<V> Expression<AbstractFeature,V> Creates an expression whose value is computed by retrieving the value indicated by a path in a resource.resourceId(String identifier) Creates a new predicate to identify an identifiable resource within a filter expression.Methods inherited from class DefaultFilterFactoryadd, after, and, and, anyInteracts, bbox, before, begins, begunBy, between, beyond, contains, crosses, disjoint, divide, during, endedBy, ends, equal, equals, forFeatures, function, function, function, greater, greaterOrEqual, intersects, isNil, isNull, less, lessOrEqual, like, like, literal, meets, metBy, multiply, not, notEqual, or, or, overlappedBy, overlaps, property, subtract, tcontains, tequals, touches, toverlaps, within, withinMethods inherited from class AbstractFactorygetVendor
- 
Constructor Details- 
FeaturesCreates a new factory operating onAbstractFeatureinstances. See the DefaultFilterFactory(Class, Class, WraparoundMethod) super-class constructor} for a list of valid class arguments.- Parameters:
- spatial- type of spatial objects, or- Object.classfor default.
- temporal- type of temporal objects, or- Object.classfor default.
- wraparound- the strategy to use for representing a region crossing the anti-meridian.
- See Also:
 
 
- 
- 
Method Details- 
resourceIdCreates a new predicate to identify an identifiable resource within a filter expression.- Specified by:
- resourceIdin class- DefaultFilterFactory<AbstractFeature,- G, - T> 
- Parameters:
- identifier- identifier of the resource that shall be selected by the predicate.
- Returns:
- the predicate.
 
- 
propertyCreates an expression whose value is computed by retrieving the value indicated by a path in a resource. If all characters in the path are Unicode identifier parts, then the XPath expression is simply a property name.The desired type of property values can be specified. For example if the property values should be numbers, then typecan beNumber.class. If property values can be of any type with no conversion desired, thentypeshould beObject.class.- Specified by:
- propertyin class- DefaultFilterFactory<AbstractFeature,- G, - T> 
- Type Parameters:
- V- the type of the values to be fetched (compile-time value of- type).
- Parameters:
- xpath- the path to the property whose value will be returned by the- apply(R)method.
- type- the type of the values to be fetched (run-time value of- <V>).
- Returns:
- an expression evaluating the referenced property value.
 
 
-