org.kuali.rice.kew.xml
Class ClassLoaderEntityResolver

java.lang.Object
  extended by org.kuali.rice.kew.xml.ClassLoaderEntityResolver
All Implemented Interfaces:
EntityResolver

public class ClassLoaderEntityResolver
extends Object
implements EntityResolver

Internal workflow EntityResolver which resolves system ids with the "resource:" prefix to ClassLoader resources TODO: maybe prefix should be changed from "resource:" to "internal:" or just "workflow:" given that it can be resolved in arbitrary ways other than ClassLoader "resources"

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

Field Summary
private  String base
           
private static org.apache.log4j.Logger LOG
           
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
ClassLoaderEntityResolver()
           
ClassLoaderEntityResolver(String base)
           
 
Method Summary
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static 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

private final String base
Constructor Detail

ClassLoaderEntityResolver

public ClassLoaderEntityResolver()

ClassLoaderEntityResolver

public ClassLoaderEntityResolver(String base)
Method Detail

resolveEntity

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


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