public final class IncludeElementFilter extends Object implements ElementFilter
ElementFilter instance that skips everything except a specific element in a specific
Namespace| Constructor and Description |
|---|
IncludeElementFilter(Namespace namespace,
String localName) |
IncludeElementFilter(String namespaceURI,
String localName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
skip(String namespaceURI,
String localName)
Determine whether the current element should be skipped.
|
String |
toString() |
public boolean skip(String namespaceURI, String localName)
ElementFilterDetermine whether the current element should be skipped.
Implementation note: if an element is skipped, no callbacks will be called for it.
skip in interface ElementFilternamespaceURI - String or nulllocalName - String, not nulltrue if the given element should be skippedCopyright © 2018. All rights reserved.