Uses of Class
eu.bandm.tools.d2d2.model.ResolvedModule
Package
Description
D2d allows to write valid XML documents directly in the creative flow of authoring,
with minimum typographic noise.
Umod main model class: This is the internal
model for the d2d text type definitions.
-
Uses of ResolvedModule in eu.bandm.tools.d2d2.base
Modifier and TypeFieldDescription(package private) ResolvedModule
CharParserPrepare.resolvedModule
protected final ResolvedModule
Resolver4.resolvedModule
protected final ResolvedModule
UserdocInstantiated.topModule
Modifier and TypeFieldDescription(package private) final Set<ResolvedModule>
Def2Xslt3.CollectNs.modsDone
(package private) final Map<String,
ResolvedModule> Def2Xslt3.namespaceOrig
Only needed to inform about conflicts:(package private) final Map<ResolvedModule,
Map<BatchProcessor.Job, @Opt Transformation>> BatchProcessor.transformations
Result of rule extraction and compilation for the Txsl xslt processor.(package private) final Map<ResolvedModule,
Map<BatchProcessor.Job, Templates>> BatchProcessor.transformations_jre
Result of rule extraction and compilation for the JRE built-in xslt processor.Modifier and TypeMethodDescriptionModuleRegistry.instantiate
(Module topmod, String[] names) Finds a d2d definition sub-module in a top-level module and instantiates.ModuleRegistry.load_instantiated
(String qName) Loads a module identified by its name (a sequence of identifiers separated byChars.REGEXP_NAMING_LEVEL_SEPARATOR
) and subsequently instantiates all imports etc.ModuleRegistry.load_instantiated_tdom
(String qName) Loads a tdom dtd as a ddf module.ModuleRegistry.loadMetaModule()
Returns null in case of error.Resolver4.resolveAllPublics()
Resolver4.resolveAllPublics_partial()
Allows the module to contain references which are already resolved.Modifier and TypeMethodDescriptionprotected @Opt Transformation
BatchProcessor.do_loadTransformationForModule
(ResolvedModule mod, BatchProcessor.Job job, String dateNow, String fileBasis) Constructs the transformation xslt code for the given d2d source text module and the transformation described in one job in the CLI options.protected Templates
BatchProcessor.do_loadTransformationForModule_jre
(ResolvedModule mod, BatchProcessor.Job job, String dateNow, String fileBasis) void
Def2Xslt3.extract
(String target, @Opt String tdom, @Opt String topElement, XMLDocumentIdentifier docid, @Opt LocationMap<XMLDocumentIdentifier, XMLDocumentIdentifier> stringpos2orig, String genComment, PrintWriter printwriter, ResolvedModule... modules) Entry method for conversion.static @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) protected @Opt Transformation
BatchProcessor.loadTransformationForModule
(ResolvedModule mod, BatchProcessor.Job job, String dateNow, String fileBasis) Constructs the transformation xslt code for the given d2d source text module and the transformation described in one job of the command line options.protected Templates
BatchProcessor.loadTransformationForModule_jre
(ResolvedModule mod, BatchProcessor.Job job, String dateNow, String fileBasis) void
Def2Xslt3.CollectNs.process
(ResolvedModule mod) void
CharParserPrepare.resolve
(ResolvedModule resolvedModule) MAIN OPERATIVE ENTRY METHOD: Collect all ParseParticles in resolvedModule and link together all those from the same raw module, with the same name.(package private) void
BatchProcessor.xslt_by_jre
(BatchProcessor.Job job, Map<NamespaceName, Value<Node>> params, String inputFilenameL, ResolvedModule mod, String dateNow, @Opt File outputDirectory, @Opt String outputfilename, Document inputDom, @Opt Map<BatchProcessor.Job, Object> resultMap) Execute xslt (1.0) transformation by processor coming with the jre.(package private) void
BatchProcessor.xslt_by_txsl
(BatchProcessor.Job job, Map<NamespaceName, Value<Node>> params, String inputFilenameL, ResolvedModule mod, String dateNow, @Opt File outputDirectory, @Opt String outputfilename, Document inputDom, @Opt Map<BatchProcessor.Job, Object> resultMap) ModifierConstructorDescriptionUserdocInstantiated
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int debuglevel, File generatedDir, int lineWidth, ModuleRegistry moduleRegistry, ResolvedModule mod, String targetcode, String generationString, NamespaceName2String stylesheetParams) Only constructor -
Uses of ResolvedModule in eu.bandm.tools.d2d2.demo
Modifier and TypeMethodDescription(package private) Transformation
Application.loadTransformationForModuleAndTarget
(ResolvedModule module, String targetKey, ResultContext resultContext, String topElementName) (package private) void
Application.makeAndShowTranslation
(ResolvedModule module, DOMClient dclient, Document dom, String key) Make one translation into one particular target, and show it in tab(s). -
Uses of ResolvedModule in eu.bandm.tools.d2d2.model
Modifier and TypeFieldDescriptionstatic final Function<ResolvedModule,
CheckedMap_RD<Definition, DefInstance>> ResolvedModule.get_defInstances
Deprecated.Use new '::' method reference instead.static final Function<ResolvedModule,
Module> ResolvedModule.get_raw
Deprecated.Use new '::' method reference instead.static final Function<ResolvedModule,
CheckedMap_RD<String, Module>> ResolvedModule.get_rawModules
Deprecated.Use new '::' method reference instead.Modifier and TypeMethodDescriptionResolvedModule.doclone()
Clones this object.__SAX_Parser.fill_ResolvedModule
(Object res) Copies values of all common fields from the argument.__SAX_Parser.matchSAX_ResolvedModule()
Modifier and TypeMethodDescriptionstatic Pattern<ResolvedModule>
ResolvedModule.get_defInstances
(Pattern<? super CheckedMap_RD<Definition, DefInstance>> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<ResolvedModule>
Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<ResolvedModule>
ResolvedModule.get_rawModules
(Pattern<? super CheckedMap_RD<String, Module>> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<ResolvedModule>
__Patterns.term_ResolvedModule
(Pattern<? super Module> superpattern, Pattern<? super Module> p_raw, Pattern<? super CheckedMap_RD<Definition, DefInstance>> p_defInstances, Pattern<? super CheckedMap_RD<String, Module>> p_rawModules) Modifier and TypeMethodDescriptionprotected void
__Formatter.action
(ResolvedModule el) void
__SAX_Writer.action
(ResolvedModule e0) protected void
CoRewrite.action
(ResolvedModule e0) protected void
Dump.action
(ResolvedModule e0) protected void
MATCH_ONLY_00.action
(ResolvedModule e0) protected void
Match.action
(ResolvedModule e0) protected void
Rewrite.action
(ResolvedModule e0) protected void
SinglePhase.action
(ResolvedModule e0) protected void
Dump.descend
(ResolvedModule e0) protected void
Match.descend
(ResolvedModule e0) void
__SAX_Writer.dumpfields
(ResolvedModule e0) void
__SAX_Parser.XMLPARSER_ResolvedModule.fillFields
(ResolvedModule newobj) void
CoRewrite.follow_defInstances
(ResolvedModule element) void
Dump.follow_defInstances
(ResolvedModule element) void
Match.follow_defInstances
(ResolvedModule element) void
Rewrite.follow_defInstances
(ResolvedModule element) void
SinglePhase.follow_defInstances
(ResolvedModule element) void
CoRewrite.follow_rawModules
(ResolvedModule element) void
Dump.follow_rawModules
(ResolvedModule element) void
Match.follow_rawModules
(ResolvedModule element) void
Rewrite.follow_rawModules
(ResolvedModule element) void
SinglePhase.follow_rawModules
(ResolvedModule element) void
MATCH_ONLY_00.followAll_defInstances
(ResolvedModule element) void
MATCH_ONLY_00.followAll_rawModules
(ResolvedModule element) void
MATCH_ONLY_00.match
(ResolvedModule e0) void
__SAX_Parser.XMLPARSER_ResolvedModule.parsefields
(ResolvedModule newobj) protected void
Match.post
(ResolvedModule e0) protected void
Match.pre
(ResolvedModule e0) protected void
Dump.printscalars
(ResolvedModule e0) protected void
CoRewrite.rewriteFields
(ResolvedModule clone) protected void
Rewrite.rewriteFields
(ResolvedModule clone) protected Format
__Formatter.toFormat
(ResolvedModule el) Modifier and TypeMethodDescription__Patterns.cast_ResolvedModule
(Pattern<? super ResolvedModule> p)