com.apelon.dts.common
Class TreeDagTranslator

java.lang.Object
  extended by com.apelon.dts.common.TreeDagTranslator

public class TreeDagTranslator
extends Object

Title: TreeDagTranslator

Description: A class to translate from a DefaultMutableTreeNode object to PDag and vice-versa.

Copyright: Copyright (c) 2005

Company: Apelon Inc.

Since:
3.4.0
Version:
DTS 3.4.0
Author:
Apelon Inc.

Constructor Summary
TreeDagTranslator()
           
 
Method Summary
static void printDag(com.apelon.graph.impl.file.PDag dag)
           
static DefaultMutableTreeNode translateDagToTree(com.apelon.graph.dag.Dag dag)
          Translates a PDag data structure to DefaultMutableTreeNode object.
static com.apelon.graph.dag.Dag translateTreeToDag(DefaultMutableTreeNode rootNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeDagTranslator

public TreeDagTranslator()
Method Detail

translateTreeToDag

public static com.apelon.graph.dag.Dag translateTreeToDag(DefaultMutableTreeNode rootNode)

translateDagToTree

public static DefaultMutableTreeNode translateDagToTree(com.apelon.graph.dag.Dag dag)
Translates a PDag data structure to DefaultMutableTreeNode object.


printDag

public static void printDag(com.apelon.graph.impl.file.PDag dag)


Copyright © 2011. All Rights Reserved.