public class NamePredicate extends NamedPredicate
Constructor and Description |
---|
NamePredicate(QName name)
Creates a criterion that tests for the name of the sought entity.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
clonePredicate()
Clones the Predicate so that any modifications
to the internals of it won't be committed across
different services' consumption of this.
|
QName |
getName()
Child classes implement this method to return the name
of the entity that we seek.
|
public NamePredicate(QName name)
name
- name sought by criterionpublic QName getName()
NamedPredicate
getName
in class NamedPredicate
public Predicate clonePredicate()
Predicate
clonePredicate
in class Predicate