abstract class CustomDefaultLabelMatcher<T extends CustomDefaultLabelMatcher<T>> extends AbstractMatcher
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
defaultLabel |
| Modifier | Constructor and Description |
|---|---|
protected |
CustomDefaultLabelMatcher(Rule[] subRules,
java.lang.String defaultLabel) |
protected |
CustomDefaultLabelMatcher(Rule subRule,
java.lang.String defaultLabel) |
| Modifier and Type | Method and Description |
|---|---|
T |
defaultLabel(java.lang.String defaultLabel) |
java.lang.String |
getLabel() |
boolean |
hasCustomLabel() |
areMismatchesMemoed, areSubnodesSuppressed, getSubContext, getTag, isNodeSkipped, isNodeSuppressed, label, memoMismatches, setTag, skipNode, suppressNode, suppressSubnodes, toStringgetChildrenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildrenprotected CustomDefaultLabelMatcher(Rule subRule, java.lang.String defaultLabel)
protected CustomDefaultLabelMatcher(Rule[] subRules, java.lang.String defaultLabel)
public java.lang.String getLabel()
getLabel in interface MatchergetLabel in class AbstractMatcherpublic boolean hasCustomLabel()
hasCustomLabel in interface MatcherhasCustomLabel in class AbstractMatcherpublic T defaultLabel(java.lang.String defaultLabel)