Inheritance diagram for org::jdom::filter::ElementFilter:
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 |
ElementFilter
when applied to a FilterList
will only allow Elements
to be visible.
org::jdom::filter::ElementFilter::ElementFilter | ( | ) | [inline] |
Select only the Elements.
org::jdom::filter::ElementFilter::ElementFilter | ( | String | name | ) | [inline] |
org::jdom::filter::ElementFilter::ElementFilter | ( | Namespace | namespace | ) | [inline] |
org::jdom::filter::ElementFilter::ElementFilter | ( | String | name, | |
Namespace | namespace | |||
) | [inline] |
boolean org::jdom::filter::ElementFilter::matches | ( | Object | obj | ) | [inline] |
Check to see if the object matches a predefined set of rules.
obj | The object to verify. |
true
if the objected matched a predfined set of rules. Implements org::jdom::filter::Filter.
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.
true
if the Filters are equal
String org::jdom::filter::ElementFilter::name [protected] |
The element name