Filter
public class XMLNodeFilter extends java.lang.Object implements Filter
XMLNode
tree to find any XMLNode
with a
certain local name and namespace. It is a bit equivalent to the DOM method
Element.getElementsByTagNameNS(String, String)
.Constructor | Description |
---|---|
XMLNodeFilter(java.lang.String elementName) |
|
XMLNodeFilter(java.lang.String elementName,
java.lang.String namespaceURI) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
accepts(java.lang.Object o) |
This method checks whether the given object is of the correct type and
has the desired properties set to be acceptable.
|
public XMLNodeFilter(java.lang.String elementName)
elementName
- public XMLNodeFilter(java.lang.String elementName, java.lang.String namespaceURI)
elementName
- namespaceURI
- public boolean accepts(java.lang.Object o)
Filter