Package net.ontopia.topicmaps.xml
Class TopicMapDTDEntityResolver
- java.lang.Object
-
- net.ontopia.topicmaps.xml.TopicMapDTDEntityResolver
-
- All Implemented Interfaces:
EntityResolver
public class TopicMapDTDEntityResolver extends Object implements EntityResolver
INTERNAL: SAX entity resolver that only follows doctype declarations referencing the ISO 13250 and XTM 1.0 DTDs using public ids if the references actually point to something that can be accessed. If not an empty input source is returned instead. This behaviour is activated for references to system ids ending in '.dtd' and to the following public ids:"-//TopicMaps.Org//DTD XML Topic Map (XTM) 1.0//EN" "+//IDN ontopia.net//DTD Topic Map Interchange Format (Strict 1.0)//EN"
- Since:
- 2.0.3
-
-
Constructor Summary
Constructors Constructor Description TopicMapDTDEntityResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputSource
resolveEntity(String public_id, String system_id)
-
-
-
Method Detail
-
resolveEntity
public InputSource resolveEntity(String public_id, String system_id)
- Specified by:
resolveEntity
in interfaceEntityResolver
-
-