Class CodeCopyMapperDefault
java.lang.Object
io.github.mmm.code.api.copy.AbstractCodeCopyMapper
io.github.mmm.code.api.copy.CodeCopyMapperDefault
- All Implemented Interfaces:
CodeCopyMapper
Implementation of
CodeCopyMapper for default mapping (copy only children).- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <N extends CodeNode>
NdoMap(N node, CodeCopyType type) Methods inherited from class AbstractCodeCopyMapper
getMapping, map, registerMappingMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CodeCopyMapper
mapName
-
Constructor Details
-
CodeCopyMapperDefault
public CodeCopyMapperDefault()The constructor.
-
-
Method Details
-
doMap
- Specified by:
doMapin classAbstractCodeCopyMapper- Type Parameters:
N- type of the givenCodeNode.- Parameters:
node- theCodeNodeto map.type- theCodeCopyTypedefining the relation of theCodeNodeto map.- Returns:
- the given
CodeNodeor a mapped replacement (e.g. acopyof it). - See Also:
-