public class PathNodeFlattener extends NodeFlattener.Impl
NodeFlattener.Impl| Constructor and Description |
|---|
PathNodeFlattener(@NonNull NodeFilter filter,
@NonNull java.util.List<java.lang.String> path) |
PathNodeFlattener(@NonNull NodeFilter filter,
java.lang.String... path) |
| Modifier and Type | Method and Description |
|---|---|
@NonNull NodeStream |
flatten(@NonNull Node node,
int depth)
Flattens a node.
|
nodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, flattenpublic PathNodeFlattener(@NonNull NodeFilter filter, java.lang.String... path)
public PathNodeFlattener(@NonNull NodeFilter filter, @NonNull java.util.List<java.lang.String> path)
public @NonNull NodeStream flatten(@NonNull Node node, int depth)
NodeFlattenernode - the nodedepth - the depth