org.pentaho.platform.engine.services
Class SolutionURIResolver

java.lang.Object
  extended by org.pentaho.platform.engine.services.SolutionURIResolver
All Implemented Interfaces:
URIResolver, IDocumentResourceLoader, EntityResolver

public class SolutionURIResolver
extends Object
implements URIResolver, IDocumentResourceLoader


Constructor Summary
SolutionURIResolver(IPentahoSession session)
           
SolutionURIResolver(ISolutionRepository repository)
           
 
Method Summary
 InputStream loadXsl(String name)
           
 Source resolve(String href, String base)
           
 InputSource resolveDTDEntity(String publicId, String systemId)
           
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolutionURIResolver

public SolutionURIResolver(IPentahoSession session)

SolutionURIResolver

public SolutionURIResolver(ISolutionRepository repository)
Method Detail

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
Specified by:
resolveEntity in interface EntityResolver

resolveDTDEntity

public InputSource resolveDTDEntity(String publicId,
                                    String systemId)
                             throws IOException
Throws:
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