public abstract class BasicHandler extends java.lang.Object implements OutputHandler
Modifier and Type | Class and Description |
---|---|
protected class |
BasicHandler.ApplElemComparator
The application element comparator.
|
Constructor and Description |
---|
BasicHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
generateCluster(java.io.PrintStream out,
ApplicationElement[] arr,
java.util.HashMap store,
DOTConfiguration config)
Generates the cluster option.
|
protected void |
generateNodes(java.io.PrintStream out,
ApplicationElement[] arr,
DOTConfiguration config)
Generates the node output.
|
protected java.lang.String |
getClusterName(java.lang.String name)
Gets the cluster name
|
protected int |
getLevelDeep(ApplicationElement aeObj,
int level,
java.util.HashMap handled,
java.util.HashMap levelElem)
Gets the deeps of the level.
|
protected int |
getLevelDeep(ApplicationStructure asObj,
java.util.HashMap levelElem)
Gets the deeps of the level.
|
protected void |
printStatement(java.io.PrintStream out,
ApplicationElement aeObj,
java.util.HashMap store,
DOTConfiguration config)
Print the node options.
|
java.lang.String |
toString()
Return the string presentation of this object.
|
protected void |
writeRank(java.io.PrintStream out,
ApplicationElement[] arr,
int level,
DOTConfiguration config)
Write the rank.
|
protected void |
writeRank(java.io.PrintStream out,
ApplicationElement[] arr,
int level,
DOTConfiguration config,
java.util.HashMap done)
Write the rank.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
generateGraph, getDescription
public java.lang.String toString()
toString
in class java.lang.Object
protected void generateNodes(java.io.PrintStream out, ApplicationElement[] arr, DOTConfiguration config) throws java.io.IOException, AoException
out
- arr
- config
- java.io.IOException
AoException
protected void generateCluster(java.io.PrintStream out, ApplicationElement[] arr, java.util.HashMap store, DOTConfiguration config) throws java.io.IOException, AoException
out
- arr
- store
- config
- java.io.IOException
AoException
protected void printStatement(java.io.PrintStream out, ApplicationElement aeObj, java.util.HashMap store, DOTConfiguration config) throws AoException
out
- aeObj
- store
- config
- AoException
protected int getLevelDeep(ApplicationStructure asObj, java.util.HashMap levelElem)
asObj
- levelElem
- protected int getLevelDeep(ApplicationElement aeObj, int level, java.util.HashMap handled, java.util.HashMap levelElem)
asObj
- levelElem
- protected java.lang.String getClusterName(java.lang.String name)
name
- protected void writeRank(java.io.PrintStream out, ApplicationElement[] arr, int level, DOTConfiguration config) throws java.io.IOException, AoException
out
- arr
- level
- config
- java.io.IOException
AoException
protected void writeRank(java.io.PrintStream out, ApplicationElement[] arr, int level, DOTConfiguration config, java.util.HashMap done) throws java.io.IOException, AoException
out
- arr
- level
- config
- done
- java.io.IOException
AoException