org.nuiton.jrst
Class JRSTGenerator.DocumentResolver

java.lang.Object
  extended by org.nuiton.jrst.JRSTGenerator.DocumentResolver
All Implemented Interfaces:
URIResolver, EntityResolver
Enclosing class:
JRSTGenerator

public static class JRSTGenerator.DocumentResolver
extends Object
implements URIResolver, EntityResolver


Constructor Summary
JRSTGenerator.DocumentResolver(URL url)
           
 
Method Summary
 Source resolve(String href, String base)
           
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRSTGenerator.DocumentResolver

public JRSTGenerator.DocumentResolver(URL url)
                               throws MalformedURLException
Throws:
MalformedURLException
Method Detail

resolve

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

resolveEntity

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


Copyright © 2004-2010 CodeLutin. All Rights Reserved.