@NotThreadSafe public class FilterElementWithNamespace extends AbstractFilter<Element>
IFilter on Element objects that will
only return elements with a certain namespace URI.| Constructor and Description |
|---|
FilterElementWithNamespace(String sNamespaceURI) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getNamespaceURI() |
int |
hashCode() |
boolean |
matchesThisFilter(Element aElement)
This is the method to be implemented to match this filter.
|
String |
toString() |
getMatchingStrategy, getNestedFilter, matchesFilter, setMatchingStrategy, setNestedFilter, testpublic boolean matchesThisFilter(@Nullable Element aElement)
AbstractFiltermatchesThisFilter in class AbstractFilter<Element>aElement - The value to be matchedtrue if the value matches the filterpublic boolean equals(Object o)
equals in class AbstractFilter<Element>public int hashCode()
hashCode in class AbstractFilter<Element>public String toString()
toString in class AbstractFilter<Element>Copyright © 2014–2015 Philip Helger. All rights reserved.