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.d2d2.model |
Umod main model class: This is the internal
model for the d2d text type definitions.
|
Modifier and Type | Field and Description |
---|---|
protected Module |
UMod2Def.currentmod |
protected Module |
Resolver.ReferenceResolver.currentmodule |
protected Module |
Resolver2.currentModule |
protected Module |
Reducer.growingModule |
protected Module |
Text2Udom.meta_module
Attention, only initialized and used iff xslt or "partial" documents are created.
|
protected Module |
Def2Xslt.mod |
protected Module |
Def2Dtd.module |
protected Module |
Dtd2Def.result |
protected Module |
Resolver3.rootModule
Input data: the source module to be resolved.
|
protected Module |
Resolver4.rootModule |
protected Module |
XsltSpecialized.targetModule |
protected Module |
Reducer.toplevelmodule |
protected Module |
Text2Udom.toplevelModule |
protected Module |
Def2Doc.topModule |
protected Module |
Def2Doc3.topModuleRaw |
protected Module |
Text2Udom.xslt_module |
protected Module |
XsltSpecialized.xslt_module_raw |
Module |
XsltSpecialized.xslt_module_resolved |
Modifier and Type | Field and Description |
---|---|
protected Set<Module> |
Def2Doc3.allRawModules |
protected List<Module> |
Def2Doc3.allRawModulesSorted |
protected Map<String,Module> |
Def2Doc.fullpath2module |
protected Map<String,Module> |
ModuleRegistry.instantiated |
protected Map<Module,String> |
Def2Doc.module2moduleName
Maps all instantiated Modules to a name containing a numbering.
|
protected Stack<Module> |
Resolver.modulesOpen |
protected Set<Module> |
Def2Xslt.modulesVisited |
protected Multimap<String,Module> |
Def2Doc.rawModule2instantiated
Maps all raw modules (given by their full paths) to all appearing
instantiations.
|
protected Map<String,Module> |
ModuleRegistry.toplevel_uninstantiated |
protected Map<Module,Map<String,eu.bandm.tools.d2d2.base.ModuleRegistry.XsltLoaded>> |
ModuleRegistry.xslt_loaded |
Modifier and Type | Method and Description |
---|---|
@Opt Module |
Dtd2Def.convert(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> p_msg,
DTD.Dtd input_dtd,
String name)
Convert one DTD.Dtd to a ddf module.
|
Module |
UMod2Def.convert(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
UMod.Forest f) |
protected @Opt Module |
ModuleRegistry.do_load_uninstantiated(String modpath)
Loads a d2d definition module, from top or non-top level.
|
static Module |
Navigate.getModule(SourceItem si) |
static Module |
Navigate.getTopmostModule(SourceItem si) |
protected @Opt Module |
ModuleRegistry.load_dtd_module(String s)
Looks in all
ModuleRegistry.sourceHabitats for a "[s].dtd" file, parses the found file
and converts it into a d2d definition module, which is stored under the name "s"
as an instantiated module. |
@Opt Module |
ModuleRegistry.load_instantiated(String s)
Loads a module identified by its name (a sequence of identifiers
separated by
Chars.REGEXP_NAMING_LEVEL_SEPARATOR ) and
subsequently instantiates all imports etc. |
protected @Opt Module |
ModuleRegistry.load_local_module(MemScanner mem,
String filename)
Feed the prefix of a text document into the cache of uninstantiated modules,
to retrieve it instantiated (a few steps later).
|
protected @Opt Module |
ModuleRegistry.load_toplevel_module_from_reader(Reader charstream,
String filename,
boolean local)
Loads a top-level d2d definition module (with all sub-modules, uninstantiaated),
which has not yet been read in at all.
Is called (internally) for a top-level module, which (together with its sub-modules contained therein) makes up the whole stream content, --- or externally for local modules, which start at the current stream reading position. |
protected @Opt Module |
ModuleRegistry.load_toplevel_module_from_stream(InputStream stream,
String filename,
boolean local)
Only converts the byte source to a character source, assuming utf-8 encoding.
|
protected @Opt Module |
ModuleRegistry.load_umod_module(String s)
Looks in all
ModuleRegistry.sourceHabitats for a "[s].umod" file, parses the found file
and converts it into a d2d definition module, which is stored under the name "s"
as an instantiated module. |
@Opt Module |
ModuleRegistry.load_uninstantiated(String s)
External entry point for loading an uninstantiated, unchecked (GLOBAL!) d2d
module, but only iff it exists in the genuine d2d-definition format ".df2"/".ddf".
|
protected Module |
CharParserPrepare.rawMod(Definition def) |
Module |
Reducer.reduce(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
eu.bandm.tools.d2d2.absy.Document_module input) |
Module |
Resolver.resolve(Module unresolved)
Gets an "unresolved" module and resolves all imports.
|
@Opt Module |
Resolver3.resolveAllPublics()
Central service providing method.
|
@Opt Module |
Resolver4.resolveAllPublics() |
@Opt Module |
Resolver3.resolveAllPublics(boolean unify)
Central service providing method.
|
Modifier and Type | Method and Description |
---|---|
static List<Module> |
Navigate.getAllModules(SourceItem si)
Delivers the ascending list of containing modules.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Reducer._addToModule(Module host,
SourceItem item,
String kind) |
void |
Navigate.LocalReferenceNormalizer.action(Module mod) |
void |
Resolver.ReferenceResolver.action(Module mod) |
static void |
Reducer.addToModule(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Module host,
SourceItem item,
String kind)
Store a definition to the given module.
|
static Set<XRegExp> |
Navigate.allPublicXRegExp(Module mod) |
static Set<XRegExp> |
Navigate.allXRegExp(Module mod) |
void |
TypeCheck.check(Module mod,
MessageReceiver<SimpleMessage> msg) |
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.
|
Format |
Resolver3.Formatter_showingResolution.doShow(Module mod) |
protected String |
Def2Doc.dyn_module2anchor(Module mod,
boolean isName) |
protected String |
Def2Doc3.dyn_module2anchor(Module mod,
boolean isName) |
void |
Def2Xslt.extract(Module mod,
Module metaModule,
String target,
String topElement,
XMLDocumentIdentifier docid,
LocationMap<XMLDocumentIdentifier,XMLDocumentIdentifier> stringpos2orig,
String genComment,
PrintWriter printwriter)
Entry method for conversion.
|
static @Opt Definition |
Navigate.findInDefinitions(Module mod,
String name)
Look for a definition in a module, including local defs.
|
static @Opt Definition |
Navigate.findInDefinitions(Module mod,
String[] names)
Look for a definition in a module, including local defs.
|
protected boolean |
Resolver.findLoop(Location<XMLDocumentIdentifier> loc,
Module mod) |
static boolean |
Navigate.isLocalModule(Module mod) |
@Opt Templates |
ModuleRegistry.loadXslt(Module sourceModule,
String targetModule,
@Opt String targetTopTag)
Loads the xslt definitions coming with the d2d module definitions.
|
protected void |
Resolver.FirstCalculator.makeGenericHints(String genname,
Module referingMod,
String modname) |
void |
Def2Doc.makeHtmlDoc(ModuleRegistry modreg,
Module mod,
boolean dynamic,
String targetcode,
String generationString,
NamespaceName2String stylesheetParams)
Make xhtml-documentation of one top module and its childs or imports.
|
protected void |
Def2Xslt.markModule(Module mod) |
protected void |
Def2Doc3.markRawModule(Module mod) |
void |
ModuleRegistry.PrinterInstantiated.printModule(Module m) |
void |
ModuleRegistry.PrinterUninstantiated.printModule(Module m) |
T |
Navigate.VisitReachable.process(Module mod) |
protected void |
Resolver.InsertionAndSubstititionResolver.process(Module module) |
void |
Def2Xslt.CollectNs.process(Module mod) |
T |
Navigate.VisitReachable.processPublic(Module mod) |
Module |
Resolver.resolve(Module unresolved)
Gets an "unresolved" module and resolves all imports.
|
protected void |
Def2Doc3.showModuleImports(int indent,
String prefix,
Module rawModule,
List<Element_tr> akku,
Set<Module> done,
Set<Module> active) |
static void |
SyntaxGraph.test(Module mod) |
Modifier and Type | Method and Description |
---|---|
protected void |
Def2Doc3.showModuleImports(int indent,
String prefix,
Module rawModule,
List<Element_tr> akku,
Set<Module> done,
Set<Module> active) |
protected void |
Def2Doc3.showModuleImports(int indent,
String prefix,
Module rawModule,
List<Element_tr> akku,
Set<Module> done,
Set<Module> active) |
Constructor and Description |
---|
Resolver3(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgoutput,
ModuleRegistry moduleRegistry,
Module rootModule)
Central service providing method.
|
Resolver4(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgoutput,
ModuleRegistry moduleRegistry,
Module rootModule) |
XsltSpecialized(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
ModuleRegistry moduleRegistry,
Module targetModule,
String toplevelTag,
Module xslt_module_raw) |
Modifier and Type | Class and Description |
---|---|
class |
ResolvedModule
Generated by umod; model author's documentation MISSING.
|
Modifier and Type | Field and Description |
---|---|
protected Module |
ResolvedModule.raw
Generated by umod; model author's documentation MISSING.
|
protected Module |
ImportItem.resolved
Generated by umod; model author's documentation MISSING.
|
Modifier and Type | Field and Description |
---|---|
protected CheckedSet<Module> |
ResolvedModule.allRawModules
Generated by umod; model author's documentation MISSING.
|
static Function<ResolvedModule,CheckedSet<Module>> |
ResolvedModule.get_allRawModules
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,NamespaceName> |
Module.get_defaultElNs
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,CheckedMap_RD<String,Definition>> |
Module.get_definitions
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,CheckedMap_RD<String,ImportItem>> |
Module.get_imports
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,Boolean> |
Module.get_isLocal
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,CheckedMap_RD<String,Module>> |
Module.get_modules
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,CheckedMap_RD<String,Module>> |
Module.get_modules
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,CheckedList<NamespaceDecl>> |
Module.get_namespaces
Deprecated.
Use new '::' method reference instead.
|
static Function<ResolvedModule,Module> |
ResolvedModule.get_raw
Deprecated.
Use new '::' method reference instead.
|
static Function<ImportItem,Module> |
ImportItem.get_resolved
Deprecated.
Use new '::' method reference instead.
|
protected CheckedMap_RD<String,Module> |
Module.modules
Generated by umod; model author's documentation MISSING.
|
Modifier and Type | Method and Description |
---|---|
Module |
Module.doclone()
Clones this object.
|
Module |
ResolvedModule.get_raw()
Generated by umod; model author's documentation MISSING.
|
Module |
ImportItem.get_resolved()
Generated by umod; model author's documentation MISSING.
|
Module |
Module.initFrom(Object o0)
Copies values of all common fields from the argument.
|
Modifier and Type | Method and Description |
---|---|
CheckedSet<Module> |
ResolvedModule.get_allRawModules()
Generated by umod; model author's documentation MISSING.
|
CheckedMap_RD<String,Module> |
Module.get_modules()
Generated by umod; model author's documentation MISSING.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CoRewrite.action(Module e0) |
protected void |
Rewrite.action(Module e0) |
protected void |
Match.action(Module e0) |
protected void |
__Formatter.action(Module el) |
protected void |
SinglePhase.action(Module e0) |
protected void |
MATCH_ONLY_00.action(Module e0) |
protected void |
Dump.action(Module e0) |
protected void |
Match.descend(Module e0) |
protected void |
Dump.descend(Module e0) |
void |
MATCH_ONLY_00.match(Module e0) |
protected void |
Match.post(Module e0) |
protected void |
Match.pre(Module e0) |
protected void |
Dump.printscalars(Module e0) |
void |
Module.put_modules(String key0,
Module value)
Convenience un-Currying method.
|
protected void |
CoRewrite.rewriteFields(Module clone) |
protected void |
Rewrite.rewriteFields(Module clone) |
boolean |
ResolvedModule.set_raw(Module val)
Generated by umod; model author's documentation MISSING.
|
boolean |
ImportItem.set_resolved(Module val)
Generated by umod; model author's documentation MISSING.
|
protected Format |
__Formatter.toFormat(Module el) |
Modifier and Type | Method and Description |
---|---|
boolean |
ResolvedModule.set_allRawModules(CheckedSet<Module> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
Module.set_modules(CheckedMap_RD<String,Module> val)
Generated by umod; model author's documentation MISSING.
|
Constructor and Description |
---|
ResolvedModule(SourceItem context,
String name,
Location<XMLDocumentIdentifier> location,
Module raw)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
ResolvedModule(String name,
Location<XMLDocumentIdentifier> location,
Module raw)
Synthetic minimal constructor provided by the umod compiler.
|
see also the complete user documentation .