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 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"
 


Field Summary
 
Fields inherited from class net.ontopia.xml.ConfigurableEntityResolver
public_ids, system_ids
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncludeTopicMapDTDEntityResolver

public IncludeTopicMapDTDEntityResolver()


Copyright © 2000-2012 Ontopia.