Main Page | Class Hierarchy | Class List | Class Members

org::jdom::filter::ElementFilter Class Reference

Inheritance diagram for org::jdom::filter::ElementFilter:

org::jdom::filter::AbstractFilter org::jdom::filter::Filter List of all members.

Public Member Functions

 ElementFilter ()
 ElementFilter (String name)
 ElementFilter (Namespace namespace)
 ElementFilter (String name, Namespace namespace)
boolean matches (Object obj)
boolean equals (Object obj)
int hashCode ()

Detailed Description

A Filter that only matches org.jdom.Element objects.

Version:
Revision
1.18
,
Date
2004/09/07 06:37:20
Author:
Jools Enticknap

Bradley S. Huffman


Constructor & Destructor Documentation

org::jdom::filter::ElementFilter::ElementFilter  )  [inline]
 

Select only the Elements.

org::jdom::filter::ElementFilter::ElementFilter String  name  )  [inline]
 

Select only the Elements with the supplied name in any Namespace.

Parameters:
name The name of the Element.

org::jdom::filter::ElementFilter::ElementFilter Namespace  namespace  )  [inline]
 

Select only the Elements with the supplied Namespace.

Parameters:
namespace The namespace the Element lives in.

org::jdom::filter::ElementFilter::ElementFilter String  name,
Namespace  namespace
[inline]
 

Select only the Elements with the supplied name and Namespace.

Parameters:
name The name of the Element.
namespace The namespace the Element lives in.


Member Function Documentation

boolean org::jdom::filter::ElementFilter::equals Object  obj  )  [inline]
 

Returns whether the two filters are equivalent (i.e. the matching names and namespace are equivalent).

Parameters:
obj the object to compare against
Returns:
whether the two filters are equal

boolean org::jdom::filter::ElementFilter::matches Object  obj  )  [inline]
 

Check to see if the object matches a predefined set of rules.

Parameters:
obj The object to verify.
Returns:
true if the objected matched a predfined set of rules.

Implements org::jdom::filter::Filter.


The documentation for this class was generated from the following file:
Generated on Thu Dec 9 10:42:05 2004 for JDOM by  doxygen 1.3.9.1