org.kuali.rice.ken.util
Class ClassLoaderEntityResolver

java.lang.Object
  extended by org.kuali.rice.ken.util.ClassLoaderResourceResolver
      extended by org.kuali.rice.ken.util.ClassLoaderEntityResolver
All Implemented Interfaces:
EntityResolver

public class ClassLoaderEntityResolver
extends ClassLoaderResourceResolver
implements EntityResolver

Internal notification EntityResolver which resolves system ids with the "resource:" prefix to ClassLoader resources

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.kuali.rice.ken.util.ClassLoaderResourceResolver
base, LOG, prefix
 
Constructor Summary
ClassLoaderEntityResolver()
          Constructs a ClassLoaderEntityResolver.java.
ClassLoaderEntityResolver(String base, String prefix)
          Constructs a ClassLoaderEntityResolver.java.
 
Method Summary
 InputSource resolveEntity(String publicId, String systemId)
           
 String toString()
           
 
Methods inherited from class org.kuali.rice.ken.util.ClassLoaderResourceResolver
resolveSystemId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassLoaderEntityResolver

public ClassLoaderEntityResolver()
Constructs a ClassLoaderEntityResolver.java.


ClassLoaderEntityResolver

public ClassLoaderEntityResolver(String base,
                                 String prefix)
Constructs a ClassLoaderEntityResolver.java.

Parameters:
base -
prefix -
Method Detail

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws SAXException,
                                 IOException
Specified by:
resolveEntity in interface EntityResolver
Throws:
SAXException
IOException
See Also:
EntityResolver.resolveEntity(java.lang.String, java.lang.String)

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.