| 构造器和说明 |
|---|
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.
|
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.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 在类中 java.lang.Objectobj - the object to compare againstpublic int hashCode()
hashCode 在类中 java.lang.Object