public final class SiblingSetPattern extends Object
item-* derived from
item-1, item-2, item-3). The pattern informs display and
field naming only; collapsed nodes always emit the XPath wildcard in their expressions.| Constructor and Description |
|---|
SiblingSetPattern(String prefix,
String suffix,
NodeNameRule segmentRule) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Returns the pattern for display purposes (for example
item-*). |
String |
getFieldNameHint()
Returns the affix stripped of leading/trailing separators as a candidate field name (for
example
item), or null when both affixes are empty after trimming. |
String |
getPrefix() |
NodeNameRule |
getSegmentRule() |
String |
getSuffix() |
boolean |
matches(String name)
Indicates if the supplied name fits this pattern: it carries the prefix and suffix around a
non-empty middle segment that the segment rule classifies as dynamic.
|
String |
toString() |
public SiblingSetPattern(String prefix, String suffix, NodeNameRule segmentRule)
public String getPrefix()
public String getSuffix()
public NodeNameRule getSegmentRule()
public boolean matches(String name)
public String getDisplayName()
item-*). Never used in
XPath expressions.public String getFieldNameHint()
item), or null when both affixes are empty after trimming.Copyright (c) 2006-2026 North Concepts Inc. All Rights Reserved.