Class DocumentBundlor


  • public class DocumentBundlor
    extends java.lang.Object
    • Field Detail

      • BUNDLOR_META_PROP_PREFIX

        public static final java.lang.String BUNDLOR_META_PROP_PREFIX
        Prefix used for various meta properties used for bundling
        See Also:
        Constant Field Values
      • META_PROP_PATTERN

        public static final java.lang.String META_PROP_PATTERN
        Hidden property to store the pattern as part of NodeState TODO - Also store the NodeType
        See Also:
        Constant Field Values
      • META_PROP_BUNDLING_PATH

        public static final java.lang.String META_PROP_BUNDLING_PATH
        Hidden property name used as suffix for relative node path to indicate presence of that node. So for a relative node 'jcr:content' the parent node must have a property 'jcr:content/:doc-self-path.

        Its value is the depth of the bundled child node

        See Also:
        Constant Field Values
      • HAS_CHILD_PROP_PREFIX

        public static final java.lang.String HAS_CHILD_PROP_PREFIX
        See Also:
        Constant Field Values
      • META_PROP_BUNDLED_CHILD

        public static final java.lang.String META_PROP_BUNDLED_CHILD
        Hidden property name having boolean value indicating that current node has children which are bundled
        See Also:
        Constant Field Values
      • META_PROP_NON_BUNDLED_CHILD

        public static final java.lang.String META_PROP_NON_BUNDLED_CHILD
        Hidden property name having boolean value indicating that current node has children which are not bundled
        See Also:
        Constant Field Values
      • PROP_DISABLED

        public static final java.lang.String PROP_DISABLED
        Boolean property. If set to true then that bundlor config would be considered as disabled and would not be used
        See Also:
        Constant Field Values
    • Method Detail

      • from

        public static DocumentBundlor from​(java.lang.Iterable<java.lang.String> includeStrings)
      • isBundled

        public boolean isBundled​(java.lang.String relativePath)
      • createMatcher

        public Matcher createMatcher()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object