Package net.sf.saxon.lib
Interface ConfigurableResourceResolver
-
- All Known Implementing Classes:
CatalogResourceResolver
public interface ConfigurableResourceResolverA ResourceResolver that allows properties to be set and examined
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TgetFeature(org.xmlresolver.ResolverFeature<T> feature)CallsXMLResolverConfiguration.getFeature(org.xmlresolver.ResolverFeature<T>)on the underlying resolver configuration.<T> voidsetFeature(org.xmlresolver.ResolverFeature<T> feature, T value)CallsXMLResolverConfiguration.setFeature(org.xmlresolver.ResolverFeature<T>, T)on the underlying resolver configuration.
-
-
-
Method Detail
-
getFeature
<T> T getFeature(org.xmlresolver.ResolverFeature<T> feature)
CallsXMLResolverConfiguration.getFeature(org.xmlresolver.ResolverFeature<T>)on the underlying resolver configuration.- Type Parameters:
T- The feature type- Parameters:
feature- The feature setting- Returns:
- The value for the specified feature.
-
setFeature
<T> void setFeature(org.xmlresolver.ResolverFeature<T> feature, T value)CallsXMLResolverConfiguration.setFeature(org.xmlresolver.ResolverFeature<T>, T)on the underlying resolver configuration.- Type Parameters:
T- The feature type- Parameters:
feature- The feature settingvalue- The desired value for that feature- Throws:
java.lang.NullPointerException- if the underlying resolver is null. Some features will also throw this exception if the value provided is null and that's not a meaningful feature value.
-
-