| java.lang.Object org.deegree.model.filterencoding.AbstractOperation org.deegree.model.filterencoding.ComparisonOperation org.deegree.model.filterencoding.PropertyIsLikeOperation
PropertyIsLikeOperation | public class PropertyIsLikeOperation extends ComparisonOperation (Code) | | Encapsulates the information of a -element (as defined in Filter DTD).
author: Markus Schneider author: last edited by: $Author: apoth $ version: $Revision: 9343 $, $Date: 2007-12-27 05:30:32 -0800 (Thu, 27 Dec 2007) $ |
PropertyIsLikeOperation | public PropertyIsLikeOperation(PropertyName propertyName, Literal literal, char wildCard, char singleChar, char escapeChar)(Code) | | Parameters: propertyName - Parameters: literal - Parameters: wildCard - Parameters: singleChar - Parameters: escapeChar - |
PropertyIsLikeOperation | public PropertyIsLikeOperation(PropertyName propertyName, Literal literal, char wildCard, char singleChar, char escapeChar, boolean matchCase)(Code) | | Parameters: propertyName - Parameters: literal - Parameters: wildCard - Parameters: singleChar - Parameters: escapeChar - Parameters: matchCase - |
buildFromDOM | public static Operation buildFromDOM(Element element) throws FilterConstructionException(Code) | | Given a DOM-fragment, a corresponding Operation-object is built. This method recursively
calls other buildFromDOM () - methods to validate the structure of the DOM-fragment.
Parameters: element - the element to parse a Bean of the DOM throws: FilterConstructionException - if the structure of the DOM-fragment is invalid |
evaluate | public boolean evaluate(Feature feature) throws FilterEvaluationException(Code) | | Calculates the PropertyIsLike's logical value based on the certain property
values of the given Feature.
Parameters: feature - that determines the property values true, if the Literal matches the PropertyName's value throws: FilterEvaluationException - if the evaluation could not be performed (for example a specified Property didnot exist) |
getEscapeChar | public char getEscapeChar()(Code) | | the escape character |
getLiteral | public Literal getLiteral()(Code) | | the literal the property shall be compared to |
getPropertyName | public PropertyName getPropertyName()(Code) | | the name of the property that shall be compared to the literal |
getSingleChar | public char getSingleChar()(Code) | | the singleChar |
getWildCard | public char getWildCard()(Code) | | the wildcard |
isMatchCase | public boolean isMatchCase()(Code) | | matchCase flag |
matches | public boolean matches(String pattern, String buffer)(Code) | | Checks if a given String matches a pattern that is a sequence
of:
- standard characters
- wildcard characters (like * in most shells)
- singlechar characters (like ? in most shells)
Parameters: pattern - the pattern to compare to Parameters: buffer - the String to test true, if the String matches the pattern |
toXML | public StringBuffer toXML()(Code) | | Produces an indented XML representation of this object.
|
Fields inherited from org.deegree.model.filterencoding.AbstractOperation | protected int operatorId(Code)(Java Doc)
|
|
|