org.tm4j.topicmap.TopicMapFactoryBase .copy(org.tm4j.topicmap.TopicMap src,boolean deep,java.lang.String idPrefix,java.lang.String idSuffix)

Description

Creates a copy of the topic map src. A deep copy forces a copy of all topics and associations in src to be made and the copies are added to the returned TopicMap. A shallow copy populates the returned TopicMap with references to the objects in src.

Parameters
boolean deep whether or not to do a deep copy.
java.lang.String idPrefix A string prefix for prepending to the ID property of all copied objects.
java.lang.String idSuffix A string for appending to the ID property of all copied objects.
org.tm4j.topicmap.TopicMap src The TopicMap to be copied.

Other Resources