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.
private static String XML_NAMESPACE_SCHEMA
          This contains definitions for items in the core "xml" schema, i.e.
private static String XSD_NAMESPACE_SCHEMA
           
 
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

XML_NAMESPACE_SCHEMA

private static final String XML_NAMESPACE_SCHEMA
This contains definitions for items in the core "xml" schema, i.e. base, id, lang, and space attributes.

See Also:
Constant Field Values

XSD_NAMESPACE_SCHEMA

private static final String XSD_NAMESPACE_SCHEMA
See Also:
Constant Field Values

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 © 2004-2011 The Kuali Foundation. All Rights Reserved.