Class AbstractImageSessionContext.UnrestrictedFallbackResolver
- java.lang.Object
-
- org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.UnrestrictedFallbackResolver
-
- All Implemented Interfaces:
AbstractImageSessionContext.FallbackResolver
- Enclosing class:
- AbstractImageSessionContext
public static final class AbstractImageSessionContext.UnrestrictedFallbackResolver extends java.lang.Object implements AbstractImageSessionContext.FallbackResolver
An unrestricted resolver that has various contingency mechanisms that access the file-system. This is most suitable for use via the CLI or in environments where controlling I/O isn't a priority.
-
-
Constructor Summary
Constructors Constructor Description UnrestrictedFallbackResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.transform.Source
createSource(javax.xml.transform.Source source, java.lang.String uri)
The fallback mechanism used to create the source which takes in both theSource
that the the regular mechanisms attempted to create and the URI that the user provided.
-
-
-
Method Detail
-
createSource
public javax.xml.transform.Source createSource(javax.xml.transform.Source source, java.lang.String uri)
The fallback mechanism used to create the source which takes in both theSource
that the the regular mechanisms attempted to create and the URI that the user provided.- Specified by:
createSource
in interfaceAbstractImageSessionContext.FallbackResolver
- Parameters:
source
- the sourceuri
- the URI provided by the user- Returns:
- the source that the contingency mechanism has been acquired
-
-