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
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.variantsync.diffdetective.variation.diff.serialize.nodeformat.DiffNodeLabelFormat
fromLabelAndId, fromLineGraphLineMethods 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:DiffNodeLabelFormatConverts aDiffNodeinto a label suitable for exporting. This may be human readable text or machine parseable metadata.- Specified by:
toLabelin interfaceDiffNodeLabelFormat<L extends Label>- Parameters:
node- TheDiffNodeto be labeled- Returns:
- a label for
node
-
toMultilineLabel
Description copied from interface:DiffNodeLabelFormatConverts aDiffNodeinto 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:
toMultilineLabelin interfaceDiffNodeLabelFormat<L extends Label>- Parameters:
node- TheDiffNodeto be labeled- Returns:
- a list of lines of the label for
node
-