public static class Label.LabelMapping extends MapEntry implements ILabelMapping
IMapEntry.EntryTypecomment, elementPattern, elementPatternStr, left, order, right, typeORDER_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, toStringpublic LabelMapping()
public LabelMapping(int order,
java.lang.String labelMapping)
order - orderlabelMapping - mappingpublic java.lang.String getViewMapping()
ILabelMappinggetViewMapping in interface ILabelMappingILabelMapping.getViewMapping()public void setViewMapping(java.lang.String entry)
ILabelMappingsetViewMapping in interface ILabelMappingentry - LHS entryILabelMapping.setViewMapping(java.lang.String)