Class DebugMiningDiffNodeFormat
java.lang.Object
org.variantsync.diffdetective.mining.formats.DebugMiningDiffNodeFormat
- All Implemented Interfaces:
 MiningNodeFormat,LinegraphFormat,DiffNodeLabelFormat<DiffLinesLabel>
- Direct Known Subclasses:
 RWCompositePatternNodeFormat
Analogous to 
ReleaseMiningDiffNodeFormat but produces human readable labels instead of using integers.
 Artifact nodes are labeled with the name of their matched edit class.
 Annotation nodes are labeled with DIFFTYPE_NODETYPE (e.g., an added IF node gets the label ADD_IF).- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfromEncodedTypes(String tag) toLabel(DiffNode<? extends DiffLinesLabel> node) Converts aDiffNodeinto a label suitable for exporting.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
fromLineGraphLine, toMultilineLabelMethods inherited from interface org.variantsync.diffdetective.variation.diff.serialize.LinegraphFormat
getIdentifier, getShortNameMethods inherited from interface org.variantsync.diffdetective.mining.formats.MiningNodeFormat
fromLabelAndId 
- 
Constructor Details
- 
DebugMiningDiffNodeFormat
public DebugMiningDiffNodeFormat() 
 - 
 - 
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<DiffLinesLabel>- Parameters:
 node- TheDiffNodeto be labeled- Returns:
 - a label for 
node 
 - 
fromEncodedTypes
- Specified by:
 fromEncodedTypesin interfaceMiningNodeFormat
 
 -