Uses of Class
eu.bandm.tools.d2d2.base.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
Modifier and TypeFieldDescriptionstatic final Text2Udom.ErrorStrategy
Text2Udom.default_ErrorStrategy
Evident.protected static final Text2Udom.ErrorStrategy
Userdoc.docu_errorstrategy
For parsing the docu_prefix text fragments.(package private) final Text2Udom.ErrorStrategy
BatchProcessor.errorStrategy
Used for parsing all d2d sources.protected final Text2Udom.ErrorStrategy
Text2Udom.errorStrategy
Applied error strategy, different for interactive and programatic use, etc.static final Text2Udom.ErrorStrategy
Text2Udom.interactive_ErrorStrategy
Evident, Allows partial documents and prints the stack context of a parsing error to the console.static final Text2Udom.ErrorStrategy
Text2Udom.non_interactive_ErrorStrategy
Used for situations when basic diagnosis data is required by the "programmer" of some using code, not by an interactive user.Modifier and TypeMethodDescriptionprotected static Text2Udom.ErrorStrategy
Batch.initErrorStrategy
(BatchOptions options) Construct an eror strategy according to the command line options.static Text2Udom.ErrorStrategy
Main.initErrorStrategy
(int interactive, boolean partialDocs) Construct an eror strategy according to the command line options.protected Text2Udom.ErrorStrategy
Main.initErrorStrategy
(Options options) Construct an eror strategy according to the command line options.Modifier and TypeMethodDescriptionstatic void
Tasks.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 void
Tasks.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.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) 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 void
Tasks.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 void
Tasks.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.ModifierConstructorDescriptionBatchProcessor
(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
Modifier and TypeFieldDescription(package private) final Text2Udom.ErrorStrategy
Application.errorStrategy
-
Uses of Text2Udom.ErrorStrategy in eu.bandm.tools.lablog.base
Modifier and TypeFieldDescription(package private) final Text2Udom.ErrorStrategy
Main.errorStrategy