Uses of Class
eu.bandm.tools.d2d2.base.Text2Udom.ErrorStrategy
Packages that use Text2Udom.ErrorStrategy
Package
Description
D2d allows to write valid XML documents directly in the creative flow of authoring,
with minimum typographic noise.
Evaluation, statistics and renderings of bandm lab log format.
-
Uses of Text2Udom.ErrorStrategy in eu.bandm.tools.d2d2.base
Fields in eu.bandm.tools.d2d2.base declared as Text2Udom.ErrorStrategyModifier and TypeFieldDescriptionstatic final Text2Udom.ErrorStrategyText2Udom.default_ErrorStrategyEvident.protected static final Text2Udom.ErrorStrategyUserdoc.docu_errorstrategyFor parsing the docu_prefix text fragments.(package private) final Text2Udom.ErrorStrategyBatchProcessor.errorStrategyUsed for parsing all d2d sources.protected final Text2Udom.ErrorStrategyText2Udom.errorStrategyApplied error strategy, different for interactive and programatic use, etc.static final Text2Udom.ErrorStrategyText2Udom.interactive_ErrorStrategyEvident, Allows partial documents and prints the stack context of a parsing error to the console.static final Text2Udom.ErrorStrategyText2Udom.non_interactive_ErrorStrategyUsed for situations when basic diagnosis data is required by the "programmer" of some using code, not by an interactive user.Methods in eu.bandm.tools.d2d2.base that return Text2Udom.ErrorStrategyModifier and TypeMethodDescriptionprotected static Text2Udom.ErrorStrategyBatch.initErrorStrategy(BatchOptions options) Construct an eror strategy according to the command line options.static Text2Udom.ErrorStrategyMain.initErrorStrategy(int interactive, boolean partialDocs) Construct an eror strategy according to the command line options.protected Text2Udom.ErrorStrategyMain.initErrorStrategy(Options options) Construct an eror strategy according to the command line options.Methods in eu.bandm.tools.d2d2.base with parameters of type Text2Udom.ErrorStrategyModifier and TypeMethodDescriptionstatic voidTasks.ddf2xslt(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int verbosity, ModuleRegistry moduleReg, @Opt Iterable<String> additionalSources, String modulename, String targetModule, @Opt String targetTopTag, String outputname, Text2Udom.ErrorStrategy errorStrategy, String genString, int lineWidth) Service point: Extracts all xslt rules for the given module and target into a d2d definition and exports this to two xslt source files, in d2d and in xml encoding.static voidTasks.ddf2xslt(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int verbosity, ModuleRegistry moduleReg, @Opt Iterable<String> additionalSources, String modulename, String targetModule, @Opt String targetTopTag, String outputname, Text2Udom.ErrorStrategy errorStrategy, String genString, int lineWidth, boolean writeAdditionallyToXmlFile) Service point: Extracts all xslt rules for the given module and target into a d2d definition and exports this to a d2d source file.static @Opt Tasks.XsltExtractionResultTasks.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 TransformationTasks.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 TemplatesTasks.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) static <T extends TypedDocument,D extends TypedDTD>
TTasks.string2tdom(String sourcetext, ModuleRegistry modreg, Class<T> documentClass, D dtdInstance, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgr, Text2Udom.ErrorStrategy errorStrategy, int debug) Convert a d2d source text into a tdom model.static <T extends TypedDocument,D extends TypedDTD>
TTasks.text2tdom(@Opt File infile, ModuleRegistry modreg, Class<T> documentClass, D dtdInstance, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgr, Text2Udom.ErrorStrategy errorStrategy, int debug) Service point: Convert a d2d input file into a tdom model.static voidTasks.text2xml(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> e_msg, int debuglevel, ModuleRegistry e_moduleReg, Text2Udom.ErrorStrategy errorStrategy, File e_sourcefile, Charset encoding, @Opt String generationComment, @Opt ContentHandler contentHandler, @Opt File xmlfile) Service point: Convert directly a d2d encoded input text file into xml, either to a file or to a programmed consumer or to both.static voidTasks.text2xml(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> e_msg, int debuglevel, ModuleRegistry e_moduleReg, Text2Udom.ErrorStrategy errorStrategy, Reader e_source, @Opt String sourceIndication, @Opt String generationComment, @Opt ContentHandler contentHandler, @Opt File xmlfile) Service point: Convert directly a d2d encoded text from a Reader into xml, either to a file or to a programmed consumer or to both.Constructors in eu.bandm.tools.d2d2.base with parameters of type Text2Udom.ErrorStrategyModifierConstructorDescriptionBatchProcessor(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, ModuleRegistry modulereg, Text2Udom.ErrorStrategy errorStrategy, Transformation.Modifiers txsl_modifiers, Trace xsltTrace, int debuglevel, boolean writeIntermediateXsltCodeToFile, boolean partialDocs, @Opt SimpleFilePattern xmlOutputFilePattern, int lineWidth, BatchProcessor.Job... jobs) Only Constructor.Text2Udom(MessageReceiver<SimpleMessage<String>> msg, Text2Udom.ErrorStrategy errorStrategy, int traceLevel) Only constructor. -
Uses of Text2Udom.ErrorStrategy in eu.bandm.tools.d2d2.demo
Fields in eu.bandm.tools.d2d2.demo declared as Text2Udom.ErrorStrategyModifier and TypeFieldDescription(package private) final Text2Udom.ErrorStrategyApplication.errorStrategy -
Uses of Text2Udom.ErrorStrategy in eu.bandm.tools.lablog.base
Fields in eu.bandm.tools.lablog.base declared as Text2Udom.ErrorStrategyModifier and TypeFieldDescription(package private) final Text2Udom.ErrorStrategyMain.errorStrategy