Interface SiblingSetRule
- All Known Implementing Classes:
AffixSiblingSetRule,StructureSiblingSetRule
public interface SiblingSetRule
Examines a parent's candidate children collectively and derives a
SiblingSetPattern when
their names share a naming/wildcard pattern, or returns null when no pattern can be
derived.-
Method Summary
Modifier and TypeMethodDescriptionderivePattern(TreeNode parent, List<TreeNode> candidateSiblings) Returns the pattern shared by the candidate children ofparent, or null;CollapseSiblingPatternspasses its named children, excluding attributes, wildcards and JSON containers.
-
Method Details
-
derivePattern
Returns the pattern shared by the candidate children ofparent, or null;CollapseSiblingPatternspasses its named children, excluding attributes, wildcards and JSON containers.
-