Class FilterCreator
java.lang.Object
org.opengis.cite.cat20.dgiwg10.xml.FilterCreator
- Author:
- Lyn Goltz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAnyTextFilter(OutputSchema outputSchema, String propertyValue) Creates an PropertyIsLike filter for 'Title', an existing title is retrieved from the DataSampler.createIdentifierFilter(OutputSchema outputSchema, String identifier) Creates an PropertyIsEqualTo filter for 'Identifier', an existing identifier is retrieved from the DataSampler.createTitleFilter(OutputSchema outputSchema, String title) Creates an PropertyIsEqualTo filter for 'Title', an existing title is retrieved from the DataSampler.
-
Constructor Details
-
FilterCreator
public FilterCreator()
-
-
Method Details
-
createIdentifierFilter
Creates an PropertyIsEqualTo filter for 'Identifier', an existing identifier is retrieved from the DataSampler.<ogc:Filter> <ogc:PropertyIsEqualTo> <ogc:PropertyName>Identifier</ogc:PropertyName> <ogc:Literal>${identifier}</ogc:Literal> </ogc:PropertyIsEqualTo> </ogc:Filter>- Parameters:
outputSchema- the requested outputSchema, nevernullidentifier- the identifier to filter for, nevernull- Returns:
- the filter element,
nullif no identifier could be found
-
createTitleFilter
Creates an PropertyIsEqualTo filter for 'Title', an existing title is retrieved from the DataSampler.<ogc:Filter> <ogc:PropertyIsEqualTo> <ogc:PropertyName>Title</ogc:PropertyName> <ogc:Literal>${title}</ogc:Literal> </ogc:PropertyIsEqualTo> </ogc:Filter>- Parameters:
outputSchema- the requested outputSchema, nevernulltitle- the title to filter for, nevernull- Returns:
- the filter element,
nullif no title could be found
-
createAnyTextFilter
Creates an PropertyIsLike filter for 'Title', an existing title is retrieved from the DataSampler.<ogc:Filter> <ogc:PropertyIsLike capeChar="\" singleChar="?" wildCard="*" > <ogc:PropertyName>Title</ogc:PropertyName> <ogc:Literal>${title}</ogc:Literal> </ogc:PropertyIsLike> </ogc:Filter>- Parameters:
outputSchema- the requested outputSchema, nevernullpropertyValue- the value to filter for, nevernull- Returns:
- the filter element,
nullif no title could be found
-