org.tm4j.topicmap.TopicMapProviderBase .readTopicMap(java.lang.String publicId,java.lang.String systemId)
Description
Reads a topic map provided with both a public and system identifier. Resolution relies on the availability of the catalog resolver.
If both the public and system identifers are provided, which has priority depends on the settings of the XML catalog file. If the public identifier is null or no mapping is found, the system will use the system identifier as if no public identifier had been provided.
Parameters | ||
---|---|---|
java.lang.String | publicId | The Public ID which identifies the topic map. This may be null. |
java.lang.String | systemId |
The System ID which identifies the topic map. Note that
the following considerations apply when this is
null :
|
Throws
- org.tm4j.topicmap.TopicMapProviderException - If the topic map could not be created.
Returns
A {@link TopicMap} created by parsing the external document.
Meta Data (1)
Other Resources
Related Topics
See Also