org.schmant.support.xml
Class LoggingEntityResolverProxy

java.lang.Object
  extended by org.entityfs.support.lang.ObjectProxySupport<EntityResolver>
      extended by org.schmant.support.xml.LoggingEntityResolverProxy
All Implemented Interfaces:
EntityResolver

public class LoggingEntityResolverProxy
extends ObjectProxySupport<EntityResolver>
implements EntityResolver

This is a proxy for an EntityResolver that debug logs all resolver requests.

Since:
0.5
Author:
Karl Gustafsson

Constructor Summary
LoggingEntityResolverProxy(EntityResolver proxied)
           
 
Method Summary
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class org.entityfs.support.lang.ObjectProxySupport
equals, getProxied, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoggingEntityResolverProxy

public LoggingEntityResolverProxy(EntityResolver proxied)
Method Detail

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws SAXException,
                                 IOException
Specified by:
resolveEntity in interface EntityResolver
Throws:
SAXException
IOException