Class LabelOnlyDiffNodeFormat<L extends Label>
java.lang.Object
org.variantsync.diffdetective.variation.diff.serialize.nodeformat.LabelOnlyDiffNodeFormat<L>
- All Implemented Interfaces:
LinegraphFormat
,DiffNodeLabelFormat<L>
public class LabelOnlyDiffNodeFormat<L extends Label>
extends Object
implements DiffNodeLabelFormat<L>
Uses
DiffNode.getLabel()
as the linegraph node label.- Author:
- Paul Bittner, Kevin Jedelhauser
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.variantsync.diffdetective.variation.diff.serialize.nodeformat.DiffNodeLabelFormat
fromLabelAndId, fromLineGraphLine, toMultilineLabel
Methods inherited from interface org.variantsync.diffdetective.variation.diff.serialize.LinegraphFormat
getIdentifier, getShortName
-
Constructor Details
-
LabelOnlyDiffNodeFormat
public LabelOnlyDiffNodeFormat()
-
-
Method Details
-
toLabel
Description copied from interface:DiffNodeLabelFormat
Converts aDiffNode
into a label suitable for exporting. This may be human readable text or machine parseable metadata.- Specified by:
toLabel
in interfaceDiffNodeLabelFormat<L extends Label>
- Parameters:
node
- TheDiffNode
to be labeled- Returns:
- a label for
node
-