org.jdom.filter
public class ElementFilter extends AbstractFilter
Version: $Revision: 1.18 $, $Date: 2004/09/07 06:37:20 $
Constructor Summary | |
---|---|
ElementFilter()
Select only the Elements. | |
ElementFilter(String name)
Select only the Elements with the supplied name in any Namespace.
| |
ElementFilter(Namespace namespace)
Select only the Elements with the supplied Namespace.
| |
ElementFilter(String name, Namespace namespace)
Select only the Elements with the supplied name and Namespace.
|
Method Summary | |
---|---|
boolean | equals(Object obj)
Returns whether the two filters are equivalent (i.e. the
matching names and namespace are equivalent).
|
int | hashCode() |
boolean | matches(Object obj)
Check to see if the object matches a predefined set of rules.
|
Parameters: name The name of the Element.
Parameters: namespace The namespace the Element lives in.
Parameters: name The name of the Element. namespace The namespace the Element lives in.
Parameters: obj the object to compare against
Returns: whether the two filters are equal
Parameters: obj The object to verify.
Returns: true
if the objected matched a predfined
set of rules.