Package | Description |
---|---|
eu.bandm.tools.d2d2.base |
D2d allows to write valid XML documents directly in the creative flow of authoring,
with minimum typographic noise.
|
eu.bandm.tools.doctypes.xhtml |
Created by bandm/metatools/tdom on 2022-06-25T16:43:34
|
eu.bandm.tools.dtd |
Model for w3c XML DTDs, with preserved syntax.
|
eu.bandm.tools.dtm |
Canonical model of a W3C DTD with evaluated semantics; plus utility applications.
|
eu.bandm.tools.formatfrontends |
Generate format generating code (or formats dynamically) controlled by the
format description language.
|
eu.bandm.tools.graficUtils |
Utility functions for drawing and coordinate calculation.
|
eu.bandm.tools.installer |
Distribute applications made with metatools.
|
eu.bandm.tools.lablog.base |
Evaluation, statistics and renderings of bandm lab log format.
|
eu.bandm.tools.lablog.xml |
Meaning: Created from d2d definition module
lablog$expanded at
2022-07-01_07h58m33.
|
eu.bandm.tools.lljava | |
eu.bandm.tools.lljava.absy |
Abstract Syntax of LLJava, representing the byte code instructions, the objects which
contain byte code, and the attributes specific to byte code classes.
|
eu.bandm.tools.lljava.parser | |
eu.bandm.tools.message |
Messages and positions in documents,
cf user documentation.
|
eu.bandm.tools.muli |
Support *MU*lti *LI*ngual user interfaces by advanced translation look-up,
incremental deserialization, etc.
|
eu.bandm.tools.muli.tdom |
Meaning: Source format for multi lingual
support.
|
eu.bandm.tools.option |
Command line parser and graphical user input generated from
one abstract description of programming options, incl data types
and multi-lingual descriptions.
|
eu.bandm.tools.option.absy |
Meaning: Source format for the Option
compiler, for command line parsing, GUI input,
generation of documentation, etc.
|
eu.bandm.tools.option.runtime |
Runtime library for generated option processing code: building blocks for
parsing and GUI.
|
eu.bandm.tools.ramus.runtime2 | |
eu.bandm.tools.tdom |
Generates typed models of XML documents,
see
meta-tools TDOM user documentation.
|
eu.bandm.tools.tdom.runtime |
Contains base and auxiliary classes for code generated by tdom.
|
eu.bandm.tools.tpath.dom |
A DocumentClient implementation for W3C Dom.
|
eu.bandm.tools.tpath.runtime |
Infrastructure for evaluating tpath expressions.
|
eu.bandm.tools.tpath.tdomclient | |
eu.bandm.tools.tpath.type |
Type checking for tpath expressions.
|
eu.bandm.tools.umod |
Compiler for data models, from a concise mathematical oriented language into
Java.
|
eu.bandm.tools.util2 |
Ubiquitously needed auxiliary classes which need the
eu.bandm.tools.message package. |
eu.bandm.tools.util3 |
Ubiquitously needed auxiliary classes which need the
eu.bandm.tools.option package. |
eu.bandm.tools.xantlr |
Versatile export of ASTs recognized by antlr as SAX events,
cf user documentation.
|
eu.bandm.tools.xantlr.runtime |
Runtime classes for the xantlr
parser.
|
eu.bandm.tools.xantlrtdom |
Glueing code supporting different standard use cases of tdom, xantlr
and both.
|
eu.bandm.tools.xslt.base |
txsl = typed xslt 1.0 interpreter with "fragmented validation".
|
Modifier and Type | Method and Description |
---|---|
static void |
Reducer.addToModule(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Module host,
SourceItem item,
String kind)
Store a definition to the given module.
|
void |
TypeCheck.check(Module mod,
MessageReceiver<SimpleMessage> msg) |
void |
Udom2Sax.convert(MessageReceiver<SimpleMessage<Object>> msg,
ContentHandler sax,
ResultingStructure structure,
Map<String,String> namespaceContext)
Top-level entry point.
|
@Opt Module |
Dtd2Def.convert(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> p_msg,
DTD.Dtd input_dtd,
String name)
Convert one DTD.Dtd to a ddf module.
|
DTD.Dtd |
Def2Dtd.convert(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Module module,
XMLDocumentIdentifier newId,
boolean tdom_mode,
@Opt String tdom_doc_language)
Central working method for transformation to dtd.
|
Module |
UMod2Def.convert(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
UMod.Forest f) |
static void |
Tasks.ddf2doc3(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
ModuleRegistry moduleReg,
String modulename,
String language,
String outputname,
String gencomment,
NamespaceName2String stylesheetParams,
Iterable<String> additionalSources,
int lineWidth)
Generate the html doc for a given module, ie.
|
static void |
Tasks.ddf2dtd(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
ModuleRegistry moduleReg,
String modulename,
String docuLanguage,
String fileOutputName,
int lineWidth)
Convert a module to a dtd.
|
static void |
Tasks.ddf2xslt(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
ModuleRegistry moduleReg,
String modulename,
String targetModule,
@Opt String targetTopTag,
String outputname,
Text2Udom.ErrorStrategy errorStrategy,
String genString,
int lineWidth)
Extracts all xslt rules for the given module and target
into a d2d definition and exports this to a d2d source file.
|
static void |
Tasks.dtd2ddf(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> extmsg,
ModuleRegistry moduleReg,
String inputname,
String fileOutputName,
int lineWidth)
Convert a dtd to a module.
|
protected static void |
Tasks.e_error(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Exception ex,
String s,
Object... args)
Adapter to treat parse formatting of Strings to MuLiMessageReceiver,
and simulate it locally for normal MessageReceiver.
(This must be treated differently, because MuLiMessageReceiver FIRST translates BEFORE formatting !-) |
protected static void |
Tasks.e_error(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
String s) |
protected static void |
Tasks.e_log(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
String s) |
protected static void |
Tasks.e_log(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
String s,
Object... args) |
protected static void |
Tasks.e_logEnd(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
String s) |
protected static void |
Tasks.e_logStart(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
String s) |
protected static void |
Tasks.execXsltUsingXalan(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> e_msg,
MessageReceiver<SimpleMessage<Object>> msgNOLOC,
ResultingStructure res,
Templates templates,
NamespaceName2String e_stylesheetParams,
boolean errorsInSourceFound,
@Opt String stylesheetErrorFlag,
File resfile,
@Opt Map<String,String> inputNamespaces) |
protected static void |
Tasks.execXsltUsingXalan(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> e_msg,
MessageReceiver<SimpleMessage<Object>> msgNOLOC,
ResultingStructure res,
Templates templates,
NamespaceName2String e_stylesheetParams,
boolean errorsInSourceFound,
@Opt String stylesheetErrorFlag,
File resfile,
@Opt Map<String,String> inputNamespaces) |
static ModuleRegistry |
ModuleRegistry.makeInstance(@Opt String[] searchpath,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgr,
int debug) |
static ModuleRegistry |
ModuleRegistry.makeInstance(@Opt String[] searchpath,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgr,
int debug,
boolean useResolver3)
Wrapper which creates and initializes.
|
Module |
Reducer.reduce(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
eu.bandm.tools.d2d2.absy.Document_module input) |
void |
ModuleRegistry.setMsgReceiver(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) |
static String[] |
Main.splitAndCheckKey(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
String s)
Split one string according to the syntax
[modulePath] (":"[ElementTag])? . |
static <T extends TypedDocument,D extends TypedDTD> |
Tasks.string2tdom(String sourcetext,
ModuleRegistry modreg,
Class<T> documentClass,
D dtdInstance,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgr,
Text2Udom.ErrorStrategy errorStrategy,
int debug)
Convert a d2d source text (GIVEN AS STRING) into a tdom model.
|
static <T extends TypedDocument,D extends TypedDTD> |
Tasks.text2tdom(File infile,
ModuleRegistry modreg,
Class<T> documentClass,
D dtdInstance,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgr,
Text2Udom.ErrorStrategy errorStrategy,
int debug)
Convert a d2d input file into a tdom model.
|
static void |
Tasks.text2texts(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> e_msg,
ModuleRegistry e_moduleReg,
Text2Udom.ErrorStrategy errorStrategy,
File e_sourcefile,
@Opt String generationComment,
@Opt ContentHandler contentHandler,
Map<String,File> e_formats,
String stylesheetErrorFlag,
NamespaceName2String e_stylesheetParams)
Convert directly a d2d encoded input text file
into output files in different output formats, using xslt.
|
static <T extends TypedDocument,D extends TypedDTD> |
Tasks.udom2xslt2document(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgr,
ModuleRegistry modreg,
Udom input,
String xsltTargetModuleSelect,
String xsltTargetToptagSelect,
Class<T> documentClass,
D dtdInstance,
URIResolver uriResolver,
NamespaceName2String stylesheetparams,
boolean debug)
Convert a d2d untyped model (result of a d2d parsing process)
via the xslt rules coming with the d2d module definition directly into a tdom model.
|
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
Inliner.msg |
Modifier and Type | Method and Description |
---|---|
static void |
DTD.drainInitializationMessages(MessageReceiver<? super SimpleMessage> msg) |
Constructor and Description |
---|
Inliner(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
File baseFile) |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
Statistics.msg |
Modifier and Type | Method and Description |
---|---|
protected void |
DTD.MATCH_ONLY_00.action(MessageReceiver e0) |
static DTD.Dtd |
TunedDTDParser.parse(Reader in,
XMLDocumentIdentifier id,
@Opt File base,
boolean errorOnExpand,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg)
Deprecated.
|
static DTD.Dtd |
DTD.parse(Reader in,
XMLDocumentIdentifier id,
File base,
boolean lateError,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg) |
static DTD.Dtd |
TunedDTDParser.parse(Reader in,
XMLDocumentIdentifier id,
URL base,
boolean errorOnExpand,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg)
Main service access point for parsing a dtd into an internal model.
|
static DTD.Dtd |
TunedDTDParser.parselocal(String in,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg)
Parse a local (or temporary generated) dtd declaration.
|
void |
Statistics.update(DTD.Dtd dtd,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) |
void |
AttlistIndex.update(MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg,
DTD.Dtd dtd)
This method (or its variant) must
be called exactly once to initialize maps with a certain dtd.
|
void |
ElementIndex.update(MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg,
DTD.Dtd dtd)
Must be called exactly once to initialize maps with a certain dtd.
|
void |
AttlistIndex.update(MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg,
DTD.Dtd dtd,
Set<String> knownElementNames)
This method (or its variant) must
be called exactly once to initialize maps with a certain dtd.
|
Constructor and Description |
---|
TunedDTDParser(Reader in,
@Opt XMLDocumentIdentifier id,
@Opt File base,
boolean errorOnExpand,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg)
Deprecated.
|
TunedDTDParser(Reader in,
@Opt XMLDocumentIdentifier id,
@Opt URL base,
boolean errorOnExpand,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg) |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
Tool.msg |
Modifier and Type | Method and Description |
---|---|
void |
AttributeChecks.sendErrorMessages_Undecl_Type_Fixed(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
The attributes recognized as erronuous in XML sense, can later
be healed when meant in a derived system, like xslt.
|
void |
DTD2DTM.setMessageReceiver(MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg) |
Constructor and Description |
---|
HtmlRenderer(DTD.Dtd dtd,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Statistics statistics,
Reader text)
Only constructor, returns a use-once instance.
|
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> |
DynamicFormatter.msg |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
GenericCompiler.rec
Needed ONLY because ".getReceiver()" is of type "? super M", which does not
wokr.
|
Modifier and Type | Method and Description |
---|---|
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
GenericCompiler.getMsgReceiver() |
Modifier and Type | Method and Description |
---|---|
static String |
DynamicFormatter.getFormatHint(Class cls,
MessageReceiver<SimpleMessage> msg)
convenience method.
|
protected static eu.bandm.tools.formatfrontends.absy.Document_tdomRules |
Tdom2format.loadDocument(Reader str,
String filename,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) |
protected void |
GenericCompiler.setMsgReceiver(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> rec) |
static Format |
DynamicFormatter.toFormat(Object model,
MessageReceiver<? super SimpleMessage> msg)
convenience method.
|
static Format |
DynamicFormatter.toFormat(Object model,
String formathint,
MessageReceiver<? super SimpleMessage> msg)
convenience method.
|
Constructor and Description |
---|
DynamicFormatter(MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg)
Only constructor.
|
GenericCompiler(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> rec) |
Tdom2format(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> rec) |
Modifier and Type | Class and Description |
---|---|
class |
MessageDialog<D>
Pop-up dialog mapping for displaying messages of certain
Message.Kind . |
Modifier and Type | Method and Description |
---|---|
protected static FileContents |
Muffins.accessMuffin(URL cookieURL,
MessageReceiver<SimpleMessage> msg)
Internal function returning the access object
|
static String |
Muffins.retrieveMuffin(URL cookieURL,
String cookieEncoding,
MessageReceiver<SimpleMessage> msg)
Read the content of the cookie/muffin identified by the URL into a string.
|
static boolean |
Muffins.writeMuffin(URL url,
String data,
String cookieEncoding,
MessageReceiver<SimpleMessage> msg)
Write the string contents into the cookie/muffin identified by the URL.
|
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
Main.msg |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
ToHtml.msg |
Modifier and Type | Method and Description |
---|---|
static void |
DTD.drainInitializationMessages(MessageReceiver<? super SimpleMessage> msg) |
Modifier and Type | Class and Description |
---|---|
static class |
LLJavac.Messager |
static class |
Test.Messaging |
Modifier and Type | Method and Description |
---|---|
void |
CodeSerializer.setMessageReceiver(MessageReceiver<? super SimpleMessage<SourceId>> msg) |
void |
ControlFlowAnalyzer.setMessageReceiver(MessageReceiver<? super SimpleMessage<SourceId>> msg) |
void |
ExceptionTableCollector.setMessageReceiver(MessageReceiver<? super SimpleMessage<SourceId>> msg) |
void |
TypeChecker.setMessageReceiver(MessageReceiver<? super SimpleMessage<SourceId>> msg) |
void |
ContextChecker.setMessageReceiver(MessageReceiver<? super SimpleMessage<SourceId>> msg) |
Modifier and Type | Method and Description |
---|---|
protected LLJava.ReferenceTypeExpr |
LLJavaParser.ensureReferenceType(MessageReceiver<? super SimpleMessage<SourceId>> msgs,
Location<SourceId> location,
LLJava.TypeExpr type) |
Modifier and Type | Class and Description |
---|---|
class |
LocationMap.Translator
A message receiver which passes on all messages after translating the
location according to the mapping represented by its outer class.
|
class |
MessageAsync<M extends Message>
A sub-class of
SingleSender which lets the drain's receive method
run asynchronouously in a separate thread. |
class |
MessageCounter<M extends Message>
Counts all received messages, per kind, total, and per critical/non-critical.
|
class |
MessageDemux<E extends Enum<E>,M extends Message>
Auxiliary class which concretizes
PrimitiveMessageDemux in so far
it calculates a set of enum values for every message it receives, and then
calls the PrimitiveMessageDemux.receive(Enum,Message) method for all these. |
static class |
MessageDemux.All<E extends Enum<E>,M extends Message>
Trivial instantiation of
MessageDemux which propagates each message
to all receivers in the map, as it has been constructed
by PrimitiveMessageDemux.setReceiver(Enum,MessageReceiver) |
static class |
MessageDemux.ByKind<M extends Message>
A
MessageDemux which sorts messages by their kind. |
class |
MessageDisposer
Does nothing with every message it receives.
|
class |
MessageKindFilter<M extends Message>
A filter which propagates only those messages the
Message.Kind
of which is currently added. |
class |
MessageLocationFilter<D>
A filter which propagates only those messages which lie in certain
areas of locations.
|
class |
MessageMapper<M extends Message,N extends Message>
A message receiver which receives a message of one type,
and propagates the result of applying a function to this message, which
may be of different type.
|
class |
MessagePasser<M extends Message>
Simply passes every message it receives to a single target.
|
class |
MessagePrinter<M extends Message>
Prints textual representations of all received messages to an
output stream.
|
static class |
MessagePrinter.Indenting<M extends Message>
Specialization of
MessagePrinter which indents all log messages. |
class |
MessageStore<M extends Message>
Storage for a sequence of
Message s with dynamic sorting, graphic
interfaces and propagation facilities. |
class |
MessageStripExceptions<M extends Message>
A filter which strips off all exceptions, or at least the stack traces,
for a slimmer appearance of print-outs.
|
class |
MessageSync<M extends Message>
Can accept messages from many different threads.
|
class |
MessageTee<M extends Message>
Re-sends the message received sequeentially to a multitude of
current drains.
For details see MessageTee.receive(Message) . |
class |
MessageThrower<M extends Message>
"Throws" each message it receives as a
Throwable . |
class |
OffsetIndicationPrinter
Prints textual representations of all received messages to an
output stream.
|
class |
PrimitiveMessageDemux<E extends Enum<E>,M extends Message>
Auxiliary class administrating an enumeration type and a map from
this type to optional
MessageReceiver s. |
class |
SwingMessageField<M extends Message>
derived from
SwingMessageTable and MessagePrinter . |
class |
TrafficMessageReceiver
Graphic indication of received messages.
|
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<SimpleMessage<D>> |
Outstream2Log.receiver |
protected MessageReceiver<? super M> |
SingleSender.receiver |
Modifier and Type | Field and Description |
---|---|
protected List<MessageReceiver<? super M>> |
MessageTee.drains |
protected EnumMap<E,MessageReceiver<? super M>> |
PrimitiveMessageDemux.outlets |
Modifier and Type | Method and Description |
---|---|
MessageReceiver<? super M> |
SingleSender.getReceiver() |
MessageReceiver |
PrimitiveMessageDemux.getReceiver(E tag) |
Modifier and Type | Method and Description |
---|---|
List<MessageReceiver<? super M>> |
MessageTee.getDrains() |
static <M extends Message,N extends Message> |
MessageMapper.lift(Function<M,? extends N> f)
Delivers a function to apply on a message receiver for type "N"
to get a message receiver for type "M", when a function is given
which maps the messages the other way round.
|
static <M extends Message,N extends Message> |
MessageMapper.lift(Function<M,? extends N> f)
Delivers a function to apply on a message receiver for type "N"
to get a message receiver for type "M", when a function is given
which maps the messages the other way round.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageTee.add(MessageReceiver<? super M>... newdrains)
Internally calls
MessageTee.add(MessageReceiver) , please cf.! |
void |
MessageTee.add(MessageReceiver<? super M> drain)
Adds the message receiver at the end of the list of all current drains.
|
void |
MessageTee.add(MessageReceiver<? super M> drain1,
MessageReceiver<? super M> drain2)
Nonvararg specialization avoids
unchecked warnings. |
void |
MessageTee.add(MessageReceiver<? super M> drain1,
MessageReceiver<? super M> drain2)
Nonvararg specialization avoids
unchecked warnings. |
void |
MessageStore.drainTo(MessageReceiver<? super M> receiver)
send all currently contained messages (in their stored order)
to the receiver.
|
static <D> Thread |
SimpleMessage.monitor(Thread thread,
MessageReceiver<? super SimpleMessage<D>> receiver)
Installs a handler on the given thread that reports uncaught exceptions as
failure messages.
|
static <D> Thread |
SimpleMessage.monitor(Thread thread,
MessageReceiver<? super SimpleMessage<D>> receiver,
PrintStream ps)
Installs a handler on the given thread that reports uncaught exceptions as
failure messages.
|
void |
PrimitiveMessageDemux.setReceiver(E tag,
MessageReceiver<? super M> rec) |
void |
SingleSender.setReceiver(MessageReceiver<? super M> r) |
Modifier and Type | Method and Description |
---|---|
void |
MessageTee.addAll(Iterable<MessageReceiver<? super M>> newdrains)
Internally calls
MessageTee.add(MessageReceiver) , please cf.! |
Constructor and Description |
---|
Generator(MessageReceiver<? super SimpleMessage<D>> rec) |
MessageAsync(MessageReceiver<? super M> r) |
MessageCatcher(MessageReceiver<Message> rec)
When using this constructor, you have to re-define teh method
MessageCatcher.code() . |
MessageCatcher(Runnable c,
MessageReceiver<Message> rec) |
MessageKindFilter(MessageReceiver<? super M> d) |
MessageKindFilter(MessageReceiver<? super M> d,
Message.Kind... kk) |
MessageLocationFilter(MessageReceiver<SimpleMessage<D>> d,
boolean emptyList,
boolean locationLess) |
MessagePasser(MessageReceiver<? super M> r) |
MessageStripExceptions(MessageReceiver<? super M> d,
boolean total) |
MessageSync(MessageReceiver<? super M> r) |
MessageTee(MessageReceiver<? super M>... drains)
Internally calls
MessageTee.add(MessageReceiver) , please cf.! |
MessageTee(MessageReceiver<? super M> drain1)
Nonvararg specialization avoids
unchecked warnings. |
MessageTee(MessageReceiver<? super M> drain1,
MessageReceiver<? super M> drain2)
Nonvararg specialization avoids
unchecked warnings
Internally calls MessageTee.add(MessageReceiver) , please cf.! |
MessageTee(MessageReceiver<? super M> drain1,
MessageReceiver<? super M> drain2)
Nonvararg specialization avoids
unchecked warnings
Internally calls MessageTee.add(MessageReceiver) , please cf.! |
MessageTee(MessageReceiver<? super M> drain1,
MessageReceiver<? super M> drain2,
MessageReceiver<? super M> drain3)
Nonvararg specialization avoids
unchecked warnings. |
MessageTee(MessageReceiver<? super M> drain1,
MessageReceiver<? super M> drain2,
MessageReceiver<? super M> drain3)
Nonvararg specialization avoids
unchecked warnings. |
MessageTee(MessageReceiver<? super M> drain1,
MessageReceiver<? super M> drain2,
MessageReceiver<? super M> drain3)
Nonvararg specialization avoids
unchecked warnings. |
Outstream2Log(MessageReceiver<SimpleMessage<D>> drain) |
Outstream2Log(MessageReceiver<SimpleMessage<D>> drain,
Location<D> loc) |
SingleSender(MessageReceiver<? super M> r) |
Translator(MessageReceiver<SimpleMessage<E>> drain) |
Modifier and Type | Class and Description |
---|---|
class |
MuLiMessageReceiver<D>
A subclass of
MessageReceiver , providing convenience methods
for generating and translating SimpleMessage s. |
class |
MuLiMessageStore<D>
Storage for a sequence of multi-linguale
SimpleMessage s, with graphic
interfaces. |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
CatalogByString.msg |
Modifier and Type | Method and Description |
---|---|
void |
CatalogByString.load(File f,
boolean eliminateNewlines,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
Fill the data encoded in the text file into the catalog object.
|
void |
CatalogByString.load(Reader s,
String sourceId,
boolean eliminateNewlines,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
Fill the data encoded in the current text of the reader into the catalog object.
|
static <X> MuLiMessageReceiver<X> |
MuLiMessageReceiver.noTranslate(MessageReceiver<SimpleMessage<X>> rec)
Wrap a MessageReceiver into a MuLiMessageReceiver with NOT TRANSLATION at all.
|
Constructor and Description |
---|
MuLiMessageReceiver(MessageReceiver<SimpleMessage<D>> receiver,
CatalogByString cat,
List<String> prefs) |
MuLiMessageReceiver(MessageReceiver<SimpleMessage<D>> receiver,
CatalogByString cat,
String... prefs) |
Modifier and Type | Method and Description |
---|---|
static void |
DTD.drainInitializationMessages(MessageReceiver<? super SimpleMessage> msg) |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<Message> |
Compiler.msgr |
Modifier and Type | Method and Description |
---|---|
void |
Compiler.compile(Element_optionlist data0,
String packagename0,
String classname_model,
@Opt String classname_gui,
String destdir,
Format genComment,
String inputfilename,
MessageReceiver<Message> msgr)
Create source text for a model, and for a gui, if required.
|
Modifier and Type | Method and Description |
---|---|
static void |
DTD.drainInitializationMessages(MessageReceiver<? super SimpleMessage> msg) |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<SimpleMessage> |
ResourceChooser.msg |
Modifier and Type | Method and Description |
---|---|
void |
Model.parse(String[] args,
MessageReceiver<SimpleMessage<?>> mr)
The main entry for setting all values according to some
command line input, as reaching
public void main(String[])
from some exec system call. |
void |
Model.parseOneString(String s,
MessageReceiver mr)
Central entry point in case the command line data is already
packed into one single String, with escaped blanks.
|
Constructor and Description |
---|
ResourceChooser(String name,
MessageReceiver<SimpleMessage> msg)
Create a new instance
|
Modifier and Type | Class and Description |
---|---|
static class |
Reducer.Context<D> |
Modifier and Type | Method and Description |
---|---|
MessageReceiver<SimpleMessage<D>> |
Reducer.Context.getMessages() |
Modifier and Type | Method and Description |
---|---|
static <D> void |
Reducer.setGlobalMessageHook(@Opt MessageReceiver<? super SimpleMessage<D>> hook)
Sets the global message hook that is called for every messsge
that is emitted during AST construction.
|
Modifier and Type | Method and Description |
---|---|
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> |
ContentParserGenerator.getMessageReceiver() |
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> |
ContentParserGenerator.getMessageReceiver() |
Modifier and Type | Method and Description |
---|---|
void |
ContentParserGenerator.setMessageReceiver(MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg) |
void |
ContentParserGenerator.setMessageReceiver(MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg) |
Constructor and Description |
---|
TypedDOMGenerator(DTD.Dtd dtd,
File destination,
String packageName,
boolean useArrays,
boolean generateFunctions,
boolean paisleySupport,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> rec)
Variant which gets the DTD as a completely self-contained object.
|
TypedDOMGenerator(DTD.Dtd dtd,
File destination,
String packageName,
boolean useArrays,
boolean generateFunctions,
boolean paisleySupport,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> rec)
Variant which gets the DTD as a completely self-contained object.
|
TypedDOMGenerator(File dtdFile,
FileReader dtdReader,
File destination,
String packageName,
boolean useArrays,
boolean generateFunctions,
boolean paisleySupport,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> rec)
Variant which reads the dtd from the given FileReader.
|
TypedDOMGenerator(File dtdFile,
FileReader dtdReader,
File destination,
String packageName,
boolean useArrays,
boolean generateFunctions,
boolean paisleySupport,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> rec)
Variant which reads the dtd from the given FileReader.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ElementDictionary.checkIds(E top,
@Opt MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg)
Test whether all reachable IDREF and IDREFS attribute have a value which corresponds
to some ID attribute in the maps of this ElementDictionary.
|
Constructor and Description |
---|
TypedDTD(MessageReceiver<? super SimpleMessage> rec) |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> |
DOMClient.msg |
Modifier and Type | Method and Description |
---|---|
void |
DOMClient.setMessageReceiver(MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg) |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> |
Interpreter.msg |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
FunctionLibrary.msg |
Modifier and Type | Method and Description |
---|---|
void |
Interpreter.setMessageReceiver(MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg) |
void |
Frontend.setMessageReceiver(MessageReceiver<? super SimpleMessage> msg) |
Constructor and Description |
---|
BuiltInFunctions(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) |
FunctionLibrary(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> |
TdomClient.msg |
Modifier and Type | Method and Description |
---|---|
void |
TdomClient.setMessageReceiver(MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg) |
Modifier and Type | Method and Description |
---|---|
void |
TypeInference.setMessageReceiver(MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg) |
void |
NumerusInference.setMessageReceiver(MessageReceiver<? super SimpleMessage> msg) |
Modifier and Type | Class and Description |
---|---|
protected class |
UMod2format.ThrowCritical<M extends SimpleMessage<XMLDocumentIdentifier>> |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
UMod2java.msg |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
UMod2Tsoap.msg |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
Reducer.msg |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
Types.JavaMapper.msg |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
UMod2visitors.msg |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
Factory.msg |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
Checker.msg |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
UMod2format.msgRec |
Modifier and Type | Method and Description |
---|---|
void |
Checker.check(UMod.Forest model0,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg0)
Checks currently ONLY that field names are unique (from class to root)
and there is only one "KEY" field.
|
static boolean |
Types.hasCanonicalOrder(UMod.Type t,
UMod.Forest f,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
For basic types a canonical order is always defined;
for internal defs depends on generated code;
for external types ask the environment.
|
static Format |
Types.implementationFlagFormat(UMod.Type t,
UMod.Forest f,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
selects between tree and hash implementations for maps and sets
|
protected eu.bandm.tools.formatfrontends.absy.Document_pattern |
UMod2format.Compiler.parseHint(String hint,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) |
void |
UMod2format.process(UMod.Forest code,
GeneratedContext context,
GeneratedClass modelclass,
GeneratedClass basematcher,
boolean getterfunctions,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> externalMsgDrain)
generates
formatter class, derived from visitor "basematcher"
as inner class in "forestclass" global fields and constants in this class entry methods ("toFormat()" etc) creates a "Format Creator" class by deriving from formatfrontends.GeneriCompiler
creates some fields and sets initializerscalls compilation method for each umod class definition flushes accumulated const declarations to class code. Assumes that the code of "error()" is volatile! |
static UMod.Forest |
Reducer.reduce(UMod.Forest in_forest,
eu.bandm.tools.umod.absy.Document_modeltree el,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg0) |
static UMod.Forest |
Main.stream2umod(UMod.Forest forest,
InputStream str,
String sourcefilename,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
Main worker method, can be called from other classes.
|
void |
UMod2Tsoap.translate(String parsername,
String writername,
UMod.Forest model0,
GeneratedContext context,
MetaClass basevisitor,
boolean visitoroptimize,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg0) |
GeneratedPackage |
UMod2java.translate(UMod.Forest code,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg0,
String pkgname,
Format generationDescription,
boolean getterfunctions,
boolean setterfunctions,
boolean make_patterns,
boolean saxgen,
boolean swingtreegen,
boolean visitordebug,
boolean visitoroptimize,
boolean allrewriterwarnings,
boolean monolithic,
boolean floatNotDouble,
boolean constructorsPre20181214)
Main class for translating a UMod model into Java source code.
|
Constructor and Description |
---|
Compiler(UMod.Forest umod0,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
Derived consructor which additionally only sets the current umod model.
|
JavaMapper(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
UMod.Forest model,
boolean floatNotDouble) |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
NamespaceFilter.msg |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
SourceHabitats.msg |
Modifier and Type | Method and Description |
---|---|
MessageReceiver<? super SimpleMessage<D>> |
TunableParser.getMessageReceiver() |
Modifier and Type | Method and Description |
---|---|
protected static void |
RomanNumbers.error(MessageReceiver<SimpleMessage<?>> msg,
String s) |
protected static void |
RomanNumbers.error(MessageReceiver<SimpleMessage<?>> msg,
String s,
Object... os) |
static Function<String,Integer> |
RomanNumbers.f_roman2integer(MessageReceiver<SimpleMessage<?>> msg,
boolean lowercasesupported,
boolean uppercasesupported,
boolean subtractiveformat_directNeighbour,
boolean subtractiveformat_fartherNeighbour)
Deprecated.
FIXME check if used in tscore??
|
static @Opt Integer |
RomanNumbers.roman2integer(MessageReceiver<SimpleMessage<?>> msg,
String s,
boolean lowercasesupported,
boolean uppercasesupported,
boolean subtractiveformat_directNeighbour,
boolean subtractiveformat_fartherNeighbour)
Public and Central Service Access Point to convert a string.
|
void |
ClassFileVisitor.setMessageReceiver(MessageReceiver<? super SimpleMessage<D>> msg) |
void |
TunableParser.setMessageReceiver(MessageReceiver<? super SimpleMessage<D>> messageReceiver) |
Constructor and Description |
---|
NamespaceFilter(ContentHandler out,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) |
SourceHabitats(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) |
TunableParser(Reader in,
D id,
MessageReceiver<? super SimpleMessage<D>> msg)
Constructor.
|
TunableParserForXml(Reader in,
D id,
MessageReceiver<? super SimpleMessage<D>> msg)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<SimpleMessage<String>> |
JarLinker.msg |
Modifier and Type | Method and Description |
---|---|
void |
JarLinker.linkApplication(MessageReceiver<SimpleMessage<String>> msg,
String[] mainClassNames,
File targetJarFile,
File manifestFile,
File[] libraries,
Multimap<File,String> additionals)
Method for packing a binary distribution into a jar file.
|
void |
JWhich.setMessageReceiver(MessageReceiver<SimpleMessage<eu.bandm.tools.util3.JWhich.ClassFile<?>>> msg) |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<? super SimpleMessage> |
DTDGenerator.msg |
Modifier and Type | Method and Description |
---|---|
void |
DTDGenerator.setMessageReceiver(MessageReceiver<? super SimpleMessage> msg) |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> |
X_LLkParser.messageReceiver |
Modifier and Type | Method and Description |
---|---|
void |
X_LLkParser.setMessageReceiver(MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> mr) |
Modifier and Type | Method and Description |
---|---|
protected <D> void |
XantlrTdom.init(X_LLkParser parser0,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> antlrMessages,
int queueSize,
ContentHandler debugSaxEvents,
TypedDTD tdomDtdModel,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> tdomMessages) |
protected <D> void |
XantlrTdom.init(X_LLkParser parser0,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> antlrMessages,
int queueSize,
ContentHandler debugSaxEvents,
TypedDTD tdomDtdModel,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> tdomMessages) |
static XantlrTdom |
XantlrTdom.link(X_LLkParser parser,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> antlrMessages,
int queueSize,
ContentHandler debugSaxEvents,
TypedDTD tdomDtdModel,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> tdomMessages)
This method creates a XantlrTdom object, which subsequently will be used
to parse a source text (with an xantlr generated parser,
see Xantlr user documentation.,
and to generate a corresponding tdom model,
see Tdom user documentation..
|
static XantlrTdom |
XantlrTdom.link(X_LLkParser parser,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> antlrMessages,
int queueSize,
ContentHandler debugSaxEvents,
TypedDTD tdomDtdModel,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> tdomMessages)
This method creates a XantlrTdom object, which subsequently will be used
to parse a source text (with an xantlr generated parser,
see Xantlr user documentation.,
and to generate a corresponding tdom model,
see Tdom user documentation..
|
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
ForeignFilter.msg |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
AttributeChecks_valueTemplates.msg |
see also the complete user documentation .