org.pentaho.platform.util
Class JarEntityResolver

java.lang.Object
  extended by org.pentaho.platform.util.JarEntityResolver
All Implemented Interfaces:
URIResolver, IDocumentResourceLoader, EntityResolver

public class JarEntityResolver
extends Object
implements IDocumentResourceLoader


Constructor Summary
JarEntityResolver()
           
 
Method Summary
static JarEntityResolver getInstance()
           
 InputStream loadXsl(String name)
           
 Source resolve(String href, String base)
           
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarEntityResolver

public JarEntityResolver()
Method Detail

getInstance

public static JarEntityResolver getInstance()

resolveEntity

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

resolve

public Source resolve(String href,
                      String base)
Specified by:
resolve in interface URIResolver

loadXsl

public InputStream loadXsl(String name)
Specified by:
loadXsl in interface IDocumentResourceLoader