public class FilteringNodeState extends AbstractDecoratedNodeState
AbstractDecoratedNodeState.exists()AbstractDecoratedNodeState.hasChildNode(String)AbstractDecoratedNodeState.getChildNodeEntries()false, then the
implementation will hide the jcr:uuid property on
nt:frozenNode nodes (see also OAK-9134).
:childOrder in the following two methods:
| Modifier and Type | Field and Description |
|---|---|
static java.util.Set<java.lang.String> |
ALL |
static java.util.Set<java.lang.String> |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull NodeState |
wrap(@NotNull java.lang.String path,
@NotNull NodeState delegate,
@Nullable java.util.Set<java.lang.String> includePaths,
@Nullable java.util.Set<java.lang.String> excludePaths,
@Nullable java.util.Set<java.lang.String> fragmentPaths,
@Nullable java.util.Set<java.lang.String> excludedFragments,
boolean referenceableFrozenNodes)
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, toStringpublic static final java.util.Set<java.lang.String> ALL
public static final java.util.Set<java.lang.String> NONE
@NotNull public static @NotNull NodeState wrap(@NotNull @NotNull java.lang.String path, @NotNull @NotNull NodeState delegate, @Nullable @Nullable java.util.Set<java.lang.String> includePaths, @Nullable @Nullable java.util.Set<java.lang.String> excludePaths, @Nullable @Nullable java.util.Set<java.lang.String> fragmentPaths, @Nullable @Nullable java.util.Set<java.lang.String> excludedFragments, boolean referenceableFrozenNodes)
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.referenceableFrozenNodes - Whether nt:frozenNode are referenceable on the target.Copyright © 2010 - 2023 Adobe. All Rights Reserved