Uses of Class
eu.bandm.tools.xslt.base.ResultContext
Package
Description
D2d allows to write valid XML documents directly in the creative flow of authoring,
with minimum typographic noise.
txsl = typed xslt 1.0 interpreter with "fragmented validation".
-
Uses of ResultContext in eu.bandm.tools.d2d2.base
Modifier and TypeFieldDescription(package private) final ResultContext
BatchProcessor.Job.resultContext
ResultContext as constructed by the txsl runtime system.Modifier and TypeMethodDescriptionstatic @Opt Tasks.XsltExtractionResult
Tasks.get_xslt_xml
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int tracelevel, Trace xsltTrace, ModuleRegistry moduleRegistry, Text2Udom.ErrorStrategy errorStrategy, ResolvedModule mod, String key, ResultContext resultContext, String topElementName, LocationMap<XMLDocumentIdentifier, XMLDocumentIdentifier> stringpos2filepos, boolean writeIntermediateXsltCodeToFile, @Opt String dateNow, @Opt String fileBasis, int lineWidth) Because it is very unlikely that the same xslt source text must be processed by both Txsl and Jre-xslt, no cache is maintained for the intermediate Udom result, which in that rare case must be calculated twice.static Transformation
Tasks.getTransformation
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int tracelevel, Trace xsltTrace, ModuleRegistry moduleRegistry, Text2Udom.ErrorStrategy errorStrategy, ResolvedModule mod, String key, ResultContext resultContext, String topElementName, TransformationCache transformationsCache, Transformation.Modifiers txsl_modifiers, FunctionLibrary<?> functionLibrary, LocationMap<XMLDocumentIdentifier, XMLDocumentIdentifier> stringpos2filepos, boolean writeIntermediateXsltCodeToFile, @Opt String dateNow, @Opt String fileBasis, int lineWidth) Service point: Deliver the xslt Transformation object for given source and target formats.static Templates
Tasks.getTransformation_jre
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int tracelevel, Trace xsltTrace, ModuleRegistry moduleRegistry, Text2Udom.ErrorStrategy errorStrategy, ResolvedModule mod, String key, ResultContext resultContext, String topElementName, TransformationCache transformationsCache, Transformation.Modifiers txsl_modifiers, FunctionLibrary<?> functionLibrary, LocationMap<XMLDocumentIdentifier, XMLDocumentIdentifier> stringpos2filepos, boolean writeIntermediateXsltCodeToFile, @Opt String dateNow, @Opt String fileBasis, int lineWidth) ModifierConstructorDescriptionJob
(String targetName, @Opt ResultContext resultContext, @Opt String topElementName, FunctionLibrary<Node> functionLibrary, @Opt NamespaceName2String stylesheetParams, boolean noTxsl, SimpleFilePattern outFilePattern) Only constructor. -
Uses of ResultContext in eu.bandm.tools.d2d2.demo
Modifier and TypeFieldDescription(package private) final Map<String,
ResultContext> Application.resultContexts
Modifier and TypeMethodDescription(package private) Transformation
Application.loadTransformationForModuleAndTarget
(ResolvedModule module, String targetKey, ResultContext resultContext, String topElementName) -
Uses of ResultContext in eu.bandm.tools.xslt.base
Modifier and TypeFieldDescription(package private) final ResultContext
Templates.resultContext
Aux comprehension of result dtd features.protected final ResultContext
Transformation.resultContext
Aux coprehension of result dtd features.static final ResultContext
ResultContext.textOnly
Modifier and TypeMethodDescriptionstatic @Opt ResultContext
ResultContext.newInstance
(String tdom_package_name, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) Extracts all the data required for parsing and stores them into public read-only fields.Modifier and TypeMethodDescription(package private) TemplatesCache.LoadResult
TemplatesCache._getTemplates
(@Opt Location<XMLDocumentIdentifier> callingLocation, URI sourceUri, @Opt ResultContext resultContext) ATTENTION every source template can be loaded more than once, but only once for a particular tdom class name.(package private) Transformation
TransformationCache._getTransformation
(@Opt Location<XMLDocumentIdentifier> callingLocation, URI sourceUri, ResultContext resultContext, Function<NamespaceName, FunctionSignature> builtInFunctions, DTM.Dtd sourceDtm, Collection<DTM.Element> topSourceElements, List<Transformation> calledBy) Called directly byTransformation
/Transformation.Loader
for IMPORTing xslt sources.TemplatesCache.getTemplates
(@Opt Location<XMLDocumentIdentifier> callingLocation, URI sourceUri, @Opt ResultContext resultContext) Loads a set of xslt rules from the given file for the given result tdom into aTemplates
object.TransformationCache.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.ModifierConstructorDescriptionTemplates
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, Trace trace, URI ownUri, ResultContext resultContext)