| |
|
| java.lang.Object org.jdom.filter.AbstractFilter org.jdom.filter.ElementFilter
ElementFilter | public class ElementFilter extends AbstractFilter (Code) | | A Filter that only matches
org.jdom.Element objects.
version: $Revision: 1.1 $, $Date: 2005/04/27 09:32:36 $ author: Jools Enticknap author: Bradley S. Huffman |
Method Summary | |
public boolean | equals(Object obj) Returns whether the two filters are equivalent (i.e. the
matching names and namespace are equivalent). | public int | hashCode() | public boolean | matches(Object obj) Check to see if the object matches a predefined set of rules.
Parameters: obj - The object to verify. |
ElementFilter | public ElementFilter()(Code) | | Select only the Elements.
|
ElementFilter | public ElementFilter(String name)(Code) | | Select only the Elements with the supplied name in any Namespace.
Parameters: name - The name of the Element. |
ElementFilter | public ElementFilter(Namespace namespace)(Code) | | Select only the Elements with the supplied Namespace.
Parameters: namespace - The namespace the Element lives in. |
ElementFilter | public ElementFilter(String name, Namespace namespace)(Code) | | Select only the Elements with the supplied name and Namespace.
Parameters: name - The name of the Element. Parameters: namespace - The namespace the Element lives in. |
equals | public boolean equals(Object obj)(Code) | | Returns whether the two filters are equivalent (i.e. the
matching names and namespace are equivalent).
Parameters: obj - the object to compare against whether the two filters are equal |
hashCode | public int hashCode()(Code) | | |
matches | public boolean matches(Object obj)(Code) | | Check to see if the object matches a predefined set of rules.
Parameters: obj - The object to verify. true if the objected matched a predfinedset of rules. |
|
|
|