|
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.EdgeMapCopyFactory
public static class GraphCopier.EdgeMapCopyFactory
A helper wrapping implementation of the GraphCopier.CopyFactory
interface that copies the contents
of the edge maps from the source to the target graph.
copy(y.base.Edge,y.base.Edge,Object)
Constructor Summary | |
---|---|
GraphCopier.EdgeMapCopyFactory(GraphCopier.CopyFactory delegatingFactory)
Creates a new instance that copies the node map contents. |
Method Summary | |
---|---|
protected java.lang.Object |
copy(Edge src,
Edge dst,
java.lang.Object value)
Callback method that performs the actual copying of the data. |
protected void |
copyData(Edge src,
Edge 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.EdgeMapCopyFactory(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(Edge src, Edge dst)
GraphCopier.GraphDataCopyFactory
copyData
in class GraphCopier.GraphDataCopyFactory
src
- the old entitydst
- the new entityprotected java.lang.Object copy(Edge src, Edge 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 |