@ConsumerType
public interface TreeProvider<T>
Modifier and Type | Method and Description |
---|---|
String |
getName(T element) |
T |
getParent(T element) |
Predicate<T> |
getPredicate(String type,
String name,
List<Attribute> attributes) |
boolean |
isDescendant(T root,
T testedElement) |
Iterator<T> |
listChildren(T parent) |
Iterator<T> |
query(List<SelectorSegment> segment,
T resource) |
boolean |
sameElement(T o1,
T o2) |
Iterator<T> query(List<SelectorSegment> segment, T resource)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.