public class TransformationCache extends MessageSender
Transformation
objects, ie top-level xslt source files for one
particular backend. These may include and import further xslt source files.Modifier and Type | Class and Description |
---|---|
static class |
TransformationCache.LoadResult
Stores error messages and (OPT) the result object of the parsing process.
|
Modifier and Type | Field and Description |
---|---|
protected Map<URI,TransformationCache.LoadResult> |
absoluteTransformation
Cache from source
URI to Transformation , going into plain text. |
protected Transformation.Modifiers |
modifiers |
protected Options |
options |
protected Map<String,Map<URI,TransformationCache.LoadResult>> |
resultTransformation
Cache from (target tdom class name cross source
URI )
to Transformation . |
protected TemplatesCache |
templatesCache |
Constructor and Description |
---|
TransformationCache(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Trace trace,
Transformation.Modifiers modifiers,
TemplatesCache templatesCache)
Sets
MessageReceiver and Trace for the standard messaging
control, and Modifiers. |
Modifier and Type | Method and Description |
---|---|
Transformation |
getTransformation(@Opt Location<XMLDocumentIdentifier> callingLocation,
URI sourceUri,
ResultContext resultContext,
Function<NamespaceName,FunctionSignature> builtInFunctions,
DTM.Dtd sourceDtm,
Collection<DTM.Element> topSourceElements)
Called from "Main" etc., central service access points for loading an XSLT source
for a particular evaluation context.
|
getLocation, setMsg, setTrace
protected Options options
protected TemplatesCache templatesCache
protected Transformation.Modifiers modifiers
protected Map<URI,TransformationCache.LoadResult> absoluteTransformation
URI
to Transformation
, going into plain text.protected Map<String,Map<URI,TransformationCache.LoadResult>> resultTransformation
URI
)
to Transformation
.public TransformationCache(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, Trace trace, Transformation.Modifiers modifiers, TemplatesCache templatesCache)
MessageReceiver
and Trace
for the standard messaging
control, and Modifiers.public Transformation getTransformation(@Opt @Opt Location<XMLDocumentIdentifier> callingLocation, URI sourceUri, ResultContext resultContext, Function<NamespaceName,FunctionSignature> builtInFunctions, DTM.Dtd sourceDtm, Collection<DTM.Element> topSourceElements)
callingLocation
- may be ==null only for top-most source from command linesee also the complete user documentation .