org.tm4j.topicmap.TopicMapFactory .copy(org.tm4j.topicmap.Topic src,boolean deep)

Description

Creates a copy of src. A deep copy of src returns a Topic in which the types and all the child Occurrences and BaseNames are also deep copied. A shallow copy of src returns a Topic which will merge with src. This is achieved by copying the subject of src, or one of its subject indicators or one of its BaseNames If src has none of these characteristics, a TopicMapProcessingException will be thrown.

Parameters
boolean deep
org.tm4j.topicmap.Association src

Other Resources