|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.util.GraphCopier.GraphDataCopyFactory y.util.GraphCopier.NodeMapCopyFactory
public static class GraphCopier.NodeMapCopyFactory
A helper wrapping implementation of the GraphCopier.CopyFactory
interface that copies the contents
of the node maps from the source to the target graph.
copy(y.base.Node,y.base.Node,Object)
Constructor Summary | |
---|---|
GraphCopier.NodeMapCopyFactory(GraphCopier.CopyFactory delegatingFactory)
Creates a new instance that copies the node map contents. |
Method Summary | |
---|---|
protected java.lang.Object |
copy(Node src,
Node dst,
java.lang.Object value)
Callback method that performs the actual copying of the data. |
protected void |
copyData(Node src,
Node dst)
Empty stub to be overwritten by subclass implementations. |
protected void |
preCopyData(Graph src,
Graph dst)
Empty stub to be overwritten by subclass implementations. |
Methods inherited from class y.util.GraphCopier.GraphDataCopyFactory |
---|
copyData, copyEdge, copyNode, createGraph, postCopyData, postCopyGraphData, preCopyGraphData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphCopier.NodeMapCopyFactory(GraphCopier.CopyFactory delegatingFactory)
delegatingFactory
- the factory to delegate the copying of the entities to.Method Detail |
---|
protected void preCopyData(Graph src, Graph dst)
GraphCopier.GraphDataCopyFactory
preCopyData
in class GraphCopier.GraphDataCopyFactory
protected void copyData(Node src, Node dst)
GraphCopier.GraphDataCopyFactory
copyData
in class GraphCopier.GraphDataCopyFactory
src
- the old entitydst
- the new entityprotected java.lang.Object copy(Node src, Node dst, java.lang.Object value)
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |