Package org.xmlresolver
Interface ResolverConfiguration
-
- All Known Implementing Classes:
XMLResolverConfiguration
public interface ResolverConfiguration
Interface for configuring the resolver.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
getFeature(ResolverFeature<T> feature)
Gets a feature value.java.util.Iterator<ResolverFeature<?>>
getFeatures()
Iterates over all the features known to the particular configuration.<T> void
setFeature(ResolverFeature<T> feature, T value)
Sets a feature value.
-
-
-
Method Detail
-
setFeature
<T> void setFeature(ResolverFeature<T> feature, T value)
Sets a feature value.- Type Parameters:
T
- The type of the new value which varies according to the feature.- Parameters:
feature
- The feature.value
- The new value.
-
getFeature
<T> T getFeature(ResolverFeature<T> feature)
Gets a feature value.- Type Parameters:
T
- The type of the new value which varies according to the feature.- Parameters:
feature
- The feature.- Returns:
- The current value of that feature.
-
getFeatures
java.util.Iterator<ResolverFeature<?>> getFeatures()
Iterates over all the features known to the particular configuration.- Returns:
- An iterator over all known features.
-
-