@NotThreadSafe public class FilterElementWithNamespaceAndLocalName extends AbstractFilter<Element>
IFilter on Element objects that will
only return elements with a certain namespace URI and a certain local name.| Constructor and Description |
|---|
FilterElementWithNamespaceAndLocalName(String sNamespaceURI,
String sLocalName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getLocalName() |
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, setNestedFilterpublic 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.