public class DocumentBundlor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BUNDLOR_META_PROP_PREFIX
Prefix used for various meta properties used for bundling
|
static String |
HAS_CHILD_PROP_PREFIX |
static String |
META_PROP_BUNDLED_CHILD
Hidden property name having boolean value indicating that
current node has children which are bundled
|
static String |
META_PROP_BUNDLING_PATH
Hidden property name used as suffix for relative node path
to indicate presence of that node.
|
static String |
META_PROP_NON_BUNDLED_CHILD
Hidden property name having boolean value indicating that
current node has children which are not bundled
|
static String |
META_PROP_PATTERN
Hidden property to store the pattern as part of NodeState
TODO - Also store the NodeType
|
static String |
PROP_DISABLED
Boolean property.
|
static String |
PROP_PATTERN |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.oak.api.PropertyState |
asPropertyState() |
Matcher |
createMatcher() |
static DocumentBundlor |
from(Iterable<String> includeStrings) |
static DocumentBundlor |
from(org.apache.jackrabbit.oak.spi.state.NodeState nodeState) |
static DocumentBundlor |
from(org.apache.jackrabbit.oak.api.PropertyState prop) |
boolean |
isBundled(String relativePath) |
String |
toString() |
public static final String BUNDLOR_META_PROP_PREFIX
public static final String META_PROP_PATTERN
public static final String META_PROP_BUNDLING_PATH
Its value is the depth of the bundled child node
public static final String HAS_CHILD_PROP_PREFIX
public static final String META_PROP_BUNDLED_CHILD
public static final String META_PROP_NON_BUNDLED_CHILD
public static final String PROP_DISABLED
public static final String PROP_PATTERN
public static DocumentBundlor from(org.apache.jackrabbit.oak.spi.state.NodeState nodeState)
public static DocumentBundlor from(Iterable<String> includeStrings)
public static DocumentBundlor from(org.apache.jackrabbit.oak.api.PropertyState prop)
public boolean isBundled(String relativePath)
public org.apache.jackrabbit.oak.api.PropertyState asPropertyState()
public Matcher createMatcher()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.