This interface defines a factory object for copying
the whole family of Topic Map objects.
Implementations of this interface may wish to derive from the class
org.tm4j.topicmap.TopicMapFactoryBase which provides default implementations
of all of the copy() methods.
Method Summary |
Association
|
copy(org.tm4j.topicmap.Association src)
|
Association
|
copy(org.tm4j.topicmap.Association src,boolean deep)
Creates a copy of src
A deep copy of src returns an Association in
which the type and all child Members are deep copied.
|
BaseName
|
copy(org.tm4j.topicmap.BaseName src,org.tm4j.topicmap.Topic destTopic)
|
BaseName
|
copy(org.tm4j.topicmap.BaseName src,org.tm4j.topicmap.Topic destTopic,boolean deep)
Creates a copy of src as a new child of destTopic
A deep copy of src returns a BaseName in which
the name string is a duplicate of the name string of src
and the child Variants are deep copied.
|
Member
|
copy(org.tm4j.topicmap.Member src,org.tm4j.topicmap.Association destAssoc)
|
Member
|
copy(org.tm4j.topicmap.Member src,org.tm4j.topicmap.Association destAssoc,boolean deep)
Creates a copy of src as a new child of destAssoc
A deep copy of src returns a Member in which
the roleSpec and players are all deep copied.
|
Occurrence
|
copy(org.tm4j.topicmap.Occurrence src,org.tm4j.topicmap.Topic destTopic)
|
Occurrence
|
copy(org.tm4j.topicmap.Occurrence src,org.tm4j.topicmap.Topic destTopic,boolean deep)
Creates a copy of src as a new child of destTopic
A deep copy of src returns an Occurrence in which
the type topic is deep copied and the child resourceRef or
resourceData is a duplicate of the value
in the source object.
|
Topic
|
copy(org.tm4j.topicmap.Topic src)
|
Topic
|
copy(org.tm4j.topicmap.Topic src,boolean deep)
Creates a copy of src .
|
TopicMap
|
copy(org.tm4j.topicmap.TopicMap src)
Returns a deep copy of src
|
TopicMap
|
copy(org.tm4j.topicmap.TopicMap src,boolean deep)
Creates a copy of src .
|
Variant
|
copy(org.tm4j.topicmap.Variant src,org.tm4j.topicmap.VariantContainer destContainer)
|
Variant
|
copy(org.tm4j.topicmap.Variant src,org.tm4j.topicmap.VariantContainer destContainer,boolean deep)
Creates a copy of src
A deep copy of src returns a Variant in which
the child VariantName and Variant objects are deep copied.
|
VariantName
|
copy(org.tm4j.topicmap.VariantName src,org.tm4j.topicmap.Variant destVariant)
|
VariantName
|
copy(org.tm4j.topicmap.VariantName src,org.tm4j.topicmap.Variant destVariant,boolean deep)
Creates a copy of src as a new child of destVariant
A deep copy of src returns a VariantName in which
the child resourceRef or resourceData is a duplicate of the
value in the source object.
|