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. |
Meta Data (1)
Other Resources
Related Topics
Has Parameters
src
[
Parameter #1
]
deep
[
Parameter #2
]
idPrefix
[
Parameter #3
]
idSuffix
[
Parameter #4
]