com.alveole.studio.web.data
Class LocalEntityResolver

java.lang.Object
  extended by com.alveole.studio.web.data.LocalEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

public class LocalEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver

This class implements a local entity resolver that does not download URLs from web, but look at them in classpath.

Author:
sylvain

Constructor Summary
LocalEntityResolver()
           
 
Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalEntityResolver

public LocalEntityResolver()
Method Detail

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
                                      throws org.xml.sax.SAXException,
                                             java.io.IOException
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver
Throws:
org.xml.sax.SAXException
java.io.IOException