public interface SourceResolver
NodeInfo
,
or PullSource
Modifier and Type | Method and Description |
---|---|
Source |
resolveSource(Source source,
Configuration config)
Resolve a Source.
|
Source resolveSource(Source source, Configuration config) throws XPathException
source
- A source object, typically the source supplied as the first
argument to Transformer.transform(javax.xml.transform.Source, javax.xml.transform.Result)
or similar methods.config
- The Configuration. This provides the SourceResolver with access to
configuration information; it also allows the SourceResolver to invoke the
resolveSource() method on the Configuration object as a fallback implementation.AugmentedSource
,
NodeInfo
,
or PullSource
. Return null if the Source object is not
recognizedXPathException
- if the Source object is recognized but cannot be processedCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.