public class FilteringNodeState extends AbstractDecoratedNodeState
AbstractDecoratedNodeState.exists()AbstractDecoratedNodeState.hasChildNode(String)AbstractDecoratedNodeState.getChildNodeEntries():childOrder in the following two methods:
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
ALL |
static Set<String> |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull NodeState |
wrap(@NotNull String path,
@NotNull NodeState delegate,
@Nullable Set<String> includePaths,
@Nullable Set<String> excludePaths,
@Nullable Set<String> fragmentPaths,
@Nullable Set<String> excludedFragments)
Factory method that conditionally decorates the given node-state
iff the node-state is (a) hidden itself or (b) has hidden descendants.
|
builder, compareAgainstBaseState, equals, exists, getChildNode, getChildNodeEntries, getDelegate, getProperties, getProperty, hasChildNodecheckValidName, compareAgainstBaseState, comparePropertiesAgainstBaseState, equals, getBoolean, getBoolean, getChildNodeCount, getChildNodeNames, getLong, getLong, getName, getName, getNames, getNames, getPropertyCount, getString, getString, getStrings, getStrings, hashCode, hasProperty, isValidName, toString, toString@NotNull public static @NotNull NodeState wrap(@NotNull @NotNull String path, @NotNull @NotNull NodeState delegate, @Nullable @Nullable Set<String> includePaths, @Nullable @Nullable Set<String> excludePaths, @Nullable @Nullable Set<String> fragmentPaths, @Nullable @Nullable Set<String> excludedFragments)
path - The path where the node-state should be assumed to be located.delegate - The node-state to decorate.includePaths - A Set of paths that should be visible. Defaults to ["/"] if null.excludePaths - A Set of paths that should be hidden. Empty if null.fragmentPaths - A Set of paths that should support the fragments (see below). Empty if null.excludedFragments - A Set of name fragments that should be hidden. Empty if null.Copyright © 2010 - 2020 Adobe. All Rights Reserved