|
JDOM 2.0.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdom2.filter.AbstractFilter<Attribute>
org.jdom2.filter.AttributeFilter
public class AttributeFilter
A Filter that only matches Attribute objects.
| Constructor Summary | |
|---|---|
AttributeFilter()
Select only the Elements. |
|
AttributeFilter(Namespace namespace)
Select only the Attributes with the supplied Namespace. |
|
AttributeFilter(java.lang.String name)
Select only the Elements with the supplied name in any Namespace. |
|
AttributeFilter(java.lang.String name,
Namespace namespace)
Select only the Attributes with the supplied name and Namespace. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns whether the two filters are equivalent (i.e. the matching names and namespace are equivalent). |
Attribute |
filter(java.lang.Object content)
Check to see if the Content matches a predefined set of rules. |
int |
hashCode()
|
| Methods inherited from class org.jdom2.filter.AbstractFilter |
|---|
and, filter, matches, negate, or, refine |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeFilter()
public AttributeFilter(java.lang.String name)
name - The name of the Element.public AttributeFilter(Namespace namespace)
namespace - The namespace the Attribute lives in.
public AttributeFilter(java.lang.String name,
Namespace namespace)
name - The name of the Attribute.namespace - The namespace the Attribute lives in.| Method Detail |
|---|
public Attribute filter(java.lang.Object content)
content - The Content to verify.
true if the objected matched a predfined
set of rules.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to compare against
public int hashCode()
hashCode in class java.lang.Object
|
JDOM 2.0.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||