net.ontopia.topicmaps.xml
Class IncludeTopicMapDTDEntityResolver

java.lang.Object
  extended by net.ontopia.xml.ConfigurableEntityResolver
      extended by net.ontopia.topicmaps.xml.IncludeTopicMapDTDEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

public class IncludeTopicMapDTDEntityResolver
extends net.ontopia.xml.ConfigurableEntityResolver

INTERNAL: SAX entity resolver that makes sure that doctype declarations referencing the XTM 1.0 DTD using public ids are given the correct DTD.

The resolver returns an input source refering to the correct DTDs for each entity with the public ids:

   "-//TopicMaps.Org//DTD XML Topic Map (XTM) 1.0//EN"
   "+//IDN ontopia.net//DTD Topic Map Interchange Format (Strict 1.0)//EN"
 


Constructor Summary
IncludeTopicMapDTDEntityResolver()
           
 
Method Summary
 
Methods inherited from class net.ontopia.xml.ConfigurableEntityResolver
addPublicIdSource, addSystemIdSource, removePublicIdSource, removeSystemIdSource, resolveEntity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncludeTopicMapDTDEntityResolver

public IncludeTopicMapDTDEntityResolver()


Copyright © 2000-2009 Ontopia.