org.kuali.rice.ken.util
Class ClassLoaderResourceResolver

java.lang.Object
  extended by org.kuali.rice.ken.util.ClassLoaderResourceResolver
Direct Known Subclasses:
ClassLoaderEntityResolver, ClassLoaderLSResourceResolver

public class ClassLoaderResourceResolver
extends Object

Utility base class for Entity and LSResource Resolvers that should resolve arguments to resources in the ClassLoader.

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

Field Summary
protected  String base
          Root path in class loader.
protected  org.apache.log4j.Logger LOG
           
protected  String prefix
          Prefix of resources to honor.
 
Constructor Summary
ClassLoaderResourceResolver()
          Constructs a ClassLoaderResourceResolver.java.
ClassLoaderResourceResolver(String base, String prefix)
          Constructs a ClassLoaderResourceResolver.java.
 
Method Summary
protected  String resolveSystemId(String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected final org.apache.log4j.Logger LOG

base

protected final String base
Root path in class loader. Defaults to "schema".


prefix

protected final String prefix
Prefix of resources to honor. Defaults to "" (no specific prefix).

Constructor Detail

ClassLoaderResourceResolver

public ClassLoaderResourceResolver()
Constructs a ClassLoaderResourceResolver.java.


ClassLoaderResourceResolver

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

Parameters:
base -
prefix -
Method Detail

resolveSystemId

protected String resolveSystemId(String systemId)
Parameters:
systemId -
Returns:
String


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