public final ElementSelector < T > descendant ( QName qname , ElementConstraint ... constraints ) { ElementEqualsConstraint nameConstraint = new ElementEqualsConstraint ( qname ) ; return new DescendantSelector < T > ( getContext ( ) , getCurrentSelector ( ) , ElementSelector . gatherConstraints ( nameConstraint , constraints ) ) ; }
Selector that matches any descendant element with a given name that satisfies the specified constraints . If no constraints are provided accepts all descendant elements with the given name .