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