org.tm4j.topicmap.TopicMapProviderBase .initialiseBuilder(org.tm4j.topicmap.TopicMap existingTopicMap,org.tm4j.net.Locator srcLocator)

Description

Sets up the XTMParser and XTMBuilder objects to be used in constructing a new TopicMap or in merging the contents of an XTM file into an existing TopicMap.

Parameters
org.tm4j.topicmap.TopicMap existingTopicMap If this parameter is not null, then the XTMBuilder will be set up to merge the results of the parse into existingTopicMap.

existingTopicMap must be a TopicMap managed by this Provider. If not, then a TopicMapProviderException will be thrown.

org.tm4j.net.Locator srcLocator If this parameter is not null and existingTopicMap is not null, then this URL will be used as the base URL for resolving all ID attribute values to resourceID property values for the TopicMapObjects generated by the parse.

Other Resources

Related Topics