public class ContentTypeFilterDelegate extends SimpleFilterDelegate<List<ContentType>>
SimpleFilterDelegate.ComparisonPropertyOperation, SimpleFilterDelegate.FunctionOperation, SimpleFilterDelegate.LogicalPropertyOperation, SimpleFilterDelegate.SpatialPropertyOperation, SimpleFilterDelegate.TemporalPropertyOperation, SimpleFilterDelegate.XPathPropertyOperation
ESCAPE_CHAR, SINGLE_CHAR, WILDCARD_CHAR
Constructor and Description |
---|
ContentTypeFilterDelegate() |
Modifier and Type | Method and Description |
---|---|
List<ContentType> |
and(List<List<ContentType>> operands)
Logical "and" operation on a list of operands.
|
<S> List<ContentType> |
defaultOperation(Object property,
S literal,
Class<S> literalClass,
Enum operation) |
List<ContentType> |
or(List<List<ContentType>> operands)
Logical "or" operation on a list of operands.
|
List<ContentType> |
propertyIsEqualTo(String propertyName,
String literal,
boolean isCaseSensitive)
|
List<ContentType> |
propertyIsLike(String propertyName,
String pattern,
boolean isCaseSensitive)
Compares the value associated with a property to a regular expression pattern.
|
after, before, begins, beyond, comparisonOperation, contains, crosses, disjoint, during, dwithin, exclude, include, intersects, logicalOperation, nearestNeighbor, not, overlaps, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsFuzzy, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNull, relative, spatialOperation, temporalOperation, touches, within, xpathExists, xpathIsFuzzy, xpathIsLike, xpathOperation
public <S> List<ContentType> defaultOperation(Object property, S literal, Class<S> literalClass, Enum operation)
defaultOperation
in class SimpleFilterDelegate<List<ContentType>>
public List<ContentType> and(List<List<ContentType>> operands)
FilterDelegate
and
in class SimpleFilterDelegate<List<ContentType>>
operands
- list of operands to "and"public List<ContentType> or(List<List<ContentType>> operands)
FilterDelegate
or
in class SimpleFilterDelegate<List<ContentType>>
operands
- list of T to "or"public List<ContentType> propertyIsLike(String propertyName, String pattern, boolean isCaseSensitive)
FilterDelegate
Regular expression special characters are defined as WILDCARD_CHAR
, SINGLE_CHAR
, and ESCAPE_CHAR
.
propertyIsLike
in class SimpleFilterDelegate<List<ContentType>>
propertyName
- name of property to comparepattern
- regular expression pattern to matchisCaseSensitive
- case-sensitivity booleanpublic List<ContentType> propertyIsEqualTo(String propertyName, String literal, boolean isCaseSensitive)
FilterDelegate
propertyIsEqualTo
in class SimpleFilterDelegate<List<ContentType>>
propertyName
- name of property to compareliteral
- value to compareisCaseSensitive
- case-sensitivity booleanpropertyName
and literal
FilterDelegate.propertyIsEqualTo(String, Object)
This work is licensed under a Creative Commons Attribution 4.0 International License.