org.tm4j.topicmap.TopicMapProviderBase .setCatalogResolverDefaults()

Description

A static method that sets each null (previously unset) CatalogResolver property to a default value. This method is called prior to creating the CatalogResolver. CatalogResolver properties are set as System properties, e.g.:

    System.setProperty("xml.catalog.prefer","public"); 

The following table summarizes the properties of org.apache.xml.resolver.tools.CatalogResolver org.apache.xml.resolver.tools.CatalogResolver:

System Property Description
xml.catalog.ignoreMissing If true, a missing CatalogManager.properties file or missing properties within that file will not generate warning messages. See also the ignoreMissingProperties method. Default is "true".
xml.catalog.files The semicolon-delimited list of catalog files. The default value for TM4J is a path relative to the TM4J base directory, equal to the String #defaultCatalogPath ("resource/tm4j.xcat").
xml.catalog.verbosity If non-zero, the Catalog classes will print informative and debugging messages. The higher the number, the more messages. Default is "0" (quiet).
xml.catalog.prefer Which identifier is preferred, "public" or "system"? Default is "public".
xml.catalog.staticCatalog Should a single catalog be constructed for all parsing, or should a different catalog be created for each parser? Default is "yes" (single catalog).
xml.catalog.allowPI If the source document contains "oasis-xml-catalog" processing instructions, should they be used? Default is "yes".
xml.catalog.className If you're using the convenience classes (org.apache.xml.resolver.tools.*), this setting allows you to specify an alternate class name to use for the underlying catalog. Default is "org.apache.xml.resolver.Resolver".

Other Resources