uk.ed.inf.graph.compound.impl
Class CompoundGraphCopyBuilder
java.lang.Object
uk.ed.inf.graph.compound.base.BaseGraphCopyBuilder
uk.ed.inf.graph.compound.impl.CompoundGraphCopyBuilder
- All Implemented Interfaces:
- ICompoundGraphCopyBuilder<BaseCompoundNode,BaseCompoundEdge>
public class CompoundGraphCopyBuilder
- extends BaseGraphCopyBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompoundGraphCopyBuilder
CompoundGraphCopyBuilder()
createCopyOfNode
protected BaseCompoundNode createCopyOfNode(BaseCompoundNode srcNode,
BaseCompoundNode destParentNode)
- Description copied from class:
BaseGraphCopyBuilder
- Create a compound node. This node MUST be added to the child graph of the
destParentNode
.
- Specified by:
createCopyOfNode
in class BaseGraphCopyBuilder
- Returns:
createCopyOfEdge
protected BaseCompoundEdge createCopyOfEdge(BaseCompoundEdge srcEdge,
BaseChildCompoundGraph edgeOwner,
BaseCompoundNode outNode,
BaseCompoundNode inNode)
- Description copied from class:
BaseGraphCopyBuilder
- Create a new edge that us a copy of another, which may be in a different graph this this one. This edge MUST be added to
the destination child graph.
- Specified by:
createCopyOfEdge
in class BaseGraphCopyBuilder
- Parameters:
srcEdge
- The edge to copy.edgeOwner
- The compound node that will "own" this edge.
- Returns:
- The newly created edge.
additionalCopyTasks
protected void additionalCopyTasks()
- Description copied from class:
BaseGraphCopyBuilder
- Provide a hook for super classes to perform additional operations after this class has
completed copying the compound graph.
- Specified by:
additionalCopyTasks
in class BaseGraphCopyBuilder
additionalInitialisation
protected void additionalInitialisation()
- Description copied from class:
BaseGraphCopyBuilder
- Provides a hook for super classes to initialise its data-structures before
copying begins, but after this classes copy data-structures have been initialised.
- Specified by:
additionalInitialisation
in class BaseGraphCopyBuilder