Class FullNodeFormat
java.lang.Object
org.variantsync.diffdetective.variation.diff.serialize.nodeformat.FullNodeFormat
- All Implemented Interfaces:
LinegraphFormat
,DiffNodeLabelFormat<DiffLinesLabel>
Labels containing all information encoded into a
DiffNode
.
The format consists of the following lines:
diffType
nodeType
fromLine
toLine
directFeatureMapping
label
.- Author:
- Benjamin Moosherr
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoLabel
(DiffNode<? extends DiffLinesLabel> node) Converts aDiffNode
into a label suitable for exporting.toMultilineLabel
(DiffNode<? extends DiffLinesLabel> node) Converts aDiffNode
into a multi line label suitable for exporting.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
Methods inherited from interface org.variantsync.diffdetective.variation.diff.serialize.LinegraphFormat
getIdentifier, getShortName
-
Constructor Details
-
FullNodeFormat
public FullNodeFormat()
-
-
Method Details
-
toMultilineLabel
Description copied from interface:DiffNodeLabelFormat
Converts aDiffNode
into a multi line label suitable for exporting. This should be human readable text. Use a single line for machine parseable metadata (DiffNodeLabelFormat.toLabel(org.variantsync.diffdetective.variation.diff.DiffNode<? extends L>)
).- Specified by:
toMultilineLabel
in interfaceDiffNodeLabelFormat<DiffLinesLabel>
- Parameters:
node
- TheDiffNode
to be labeled- Returns:
- a list of lines of the label for
node
-
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<DiffLinesLabel>
- Parameters:
node
- TheDiffNode
to be labeled- Returns:
- a label for
node
-