All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.netarchivesuite.heritrix3wrapper.xmlutils.XslUriResolver Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package org.netarchivesuite.heritrix3wrapper.xmlutils;

import javax.xml.transform.Source;
import javax.xml.transform.TransformerException;
import javax.xml.transform.URIResolver;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Implements an XSL URI resolver which can be used to resolve external XSL files.
 * Unused - so a project for those dark January nights.
 */
public class XslUriResolver implements URIResolver {

    /** Logging mechanism. */
    private static Logger logger = LoggerFactory.getLogger(XslUriResolver.class.getName());

    @Override
    public Source resolve(String href, String base) throws TransformerException {
        logger.info("URIResolver: href=" + href + " - base=" + base);
        throw new UnsupportedOperationException("XslUriResolver.resolve(String href, String base)");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy