Main Page | Class Hierarchy | Class List | Class Members | Related Pages

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

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

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)

Protected Attributes

String name

Detailed Description

The ElementFilter when applied to a FilterList will only allow Elements to be visible.

Author:
Jools Enticknap

Bradley S. Huffman

Version:
Revision
1.8
,
Date
2003/04/02 01:56:58


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 true if object is instance of ElementFilter and has the same parent Element, name, and namespace as this filter.

Returns:
true if the 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.


Member Data Documentation

String org::jdom::filter::ElementFilter::name [protected]
 

The element name


The documentation for this class was generated from the following file:
Generated on Tue Oct 26 18:17:01 2004 for JDOM by  doxygen 1.3.9.1