public class GeotoolsFilterBuilder extends Object implements FilterBuilder
| Constructor and Description |
|---|
GeotoolsFilterBuilder() |
| Modifier and Type | Method and Description |
|---|---|
org.opengis.filter.And |
allOf(org.opengis.filter.Filter... filters)
Create a new
Filter that requires that all the provided Filters be satisfied. |
org.opengis.filter.And |
allOf(List<org.opengis.filter.Filter> filters)
Create a new
Filter that requires that all the provided Filters be satisfied. |
org.opengis.filter.Or |
anyOf(org.opengis.filter.Filter... filters)
Create a new
Filter that requires at least one of the provided Filters be
satisfied. |
org.opengis.filter.Or |
anyOf(List<org.opengis.filter.Filter> filters)
Create a new
Filter that requires at least one of the provided Filters be
satisfied. |
AttributeBuilder |
attribute(String string)
|
ArgumentBuilder |
function(String name)
Begin creating a
Filter that will call a function with the given name. |
org.opengis.filter.Not |
not(org.opengis.filter.Filter filter)
Create a Filter that matches on
Metacards that do not match
the provided Filter |
XPathBuilder |
xpath(String xPathSelector)
Begin creating a
Filter that will match Metacards based on
values selected via an XPath selector. |
public org.opengis.filter.And allOf(org.opengis.filter.Filter... filters)
FilterBuilderFilter that requires that all the provided Filters be satisfied.allOf in interface FilterBuilderfilters - one or more FiltersAnd Filterpublic org.opengis.filter.Or anyOf(org.opengis.filter.Filter... filters)
FilterBuilderFilter that requires at least one of the provided Filters be
satisfied.anyOf in interface FilterBuilderfilters - List of FiltersAnd Filterpublic AttributeBuilder attribute(String string)
FilterBuilderFilter that will match Metacards based on
Attributes with the given name.
Note Because the Catalog's Filter profile uses attribute names and XPath
selectors interchangeable, the provided Attribute name must not
include the forward slash (/) or ampersand (@) characters, which are reserved for XPath
selectors (see FilterBuilder.xpath(String).
XPath Filters will match on all Metacard Attributes that have a format of AttributeType.AttributeFormat.XML and match the XPath selector.
attribute in interface FilterBuilderstring - must not include "/" or "@"XPathBuilder to continue building an XPath Filterpublic ArgumentBuilder function(String name)
FilterBuilderFilter that will call a function with the given name. The function can
require 0..N arguments.function in interface FilterBuilderArgumentBuilder to continue and add function arguments Filterpublic XPathBuilder xpath(String xPathSelector)
FilterBuilderFilter that will match Metacards based on
values selected via an XPath selector.
Note Because the Catalog's Filter profile uses attribute names and XPath
selectors interchangeable, XPath must include either the forward slash (/) or ampersand (@)
character to indicate use of XPath.
XPath Filters will match on all Metacard Attributes that have a format of AttributeType.AttributeFormat.XML and match the XPath selector.
xpath in interface FilterBuilderxPathSelector - must include "/" or "@"XPathBuilder to continue building an XPath Filterpublic org.opengis.filter.Not not(org.opengis.filter.Filter filter)
FilterBuilderMetacards that do not match
the provided Filternot in interface FilterBuilderfilter - the filter that should not be matchedNot Filterpublic org.opengis.filter.And allOf(List<org.opengis.filter.Filter> filters)
FilterBuilderFilter that requires that all the provided Filters be satisfied.allOf in interface FilterBuilderfilters - List of FiltersAnd Filterpublic org.opengis.filter.Or anyOf(List<org.opengis.filter.Filter> filters)
FilterBuilderFilter that requires at least one of the provided Filters be
satisfied.anyOf in interface FilterBuilderfilters - one or more FiltersAnd FilterThis work is licensed under a Creative Commons Attribution 4.0 International License.