public static class Label.LabelMapping extends MapEntry implements ILabelMapping
IMapEntry.EntryType
comment, elementPattern, elementPatternStr, left, order, right, type
ORDER_UNKNOWN
Constructor and Description |
---|
LabelMapping()
Default constructor -- calls super() only.
|
LabelMapping(int order,
java.lang.String labelMapping)
Explicit value constructor -- calls super(order, labelMapping).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getViewMapping()
Get a label view entry's "source" spec; this corresponds
to the left entry of the associated mapping.
|
void |
setViewMapping(java.lang.String entry)
Set a branch view entry's "source" spec; this corresponds
to the left entry of the associated mapping.
|
getComment, getComment, getLeft, getLeft, getOrder, getRight, getRight, getType, parseComments, parseViewMappingString, quoteWhitespaceString, setComment, setLeft, setOrder, setRight, setType, stripComments, stripTypePrefix, toString, toString
public LabelMapping()
public LabelMapping(int order, java.lang.String labelMapping)
order
- orderlabelMapping
- mappingpublic java.lang.String getViewMapping()
ILabelMapping
getViewMapping
in interface ILabelMapping
ILabelMapping.getViewMapping()
public void setViewMapping(java.lang.String entry)
ILabelMapping
setViewMapping
in interface ILabelMapping
entry
- LHS entryILabelMapping.setViewMapping(java.lang.String)