@NotThreadSafe public final class FilterElementWithTagName extends Object implements ISerializableFilter<Element>
ISerializableFilter on Element objects
that will only return elements with a certain tag name and without a
namespace URI.| Constructor and Description |
|---|
FilterElementWithTagName(String sTagName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getTagName() |
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 © 2006–2014 phloc systems. All rights reserved.