@NotThreadSafe public final class FilterElementWithNamespaceAndLocalName extends Object implements ISerializableFilter<Element>
ISerializableFilter 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 |
matchesFilter(Element aElement)
Check if the given value matches the filter or not.
|
String |
toString() |
public boolean matchesFilter(@Nullable Element aElement)
IFiltermatchesFilter in interface IFilter<Element>aElement - The object to filter. May be null depending on the
implementation.true if the object match the filter,
false otherwise.Copyright © 2014 Philip Helger. All rights reserved.