Class PaperNodeFormat<L extends Label>
java.lang.Object
org.variantsync.diffdetective.variation.diff.serialize.nodeformat.PaperNodeFormat<L>
- All Implemented Interfaces:
LinegraphFormat
,DiffNodeLabelFormat<L>
-
Field Summary
-
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
Methods inherited from interface org.variantsync.diffdetective.variation.diff.serialize.LinegraphFormat
getIdentifier, getShortName
-
Field Details
-
MAX_ARTIFACT_LABEL_LENGTH
public static final int MAX_ARTIFACT_LABEL_LENGTH- See Also:
-
-
Constructor Details
-
PaperNodeFormat
public PaperNodeFormat()
-
-
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
-
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<L extends Label>
- Parameters:
node
- TheDiffNode
to be labeled- Returns:
- a list of lines of the label for
node
-