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.
|
eu.bandm.tools.d2d2.rt |
Umod main model class: This is a model for the
results of d2d text parsing.
|
Modifier and Type | Field and Description |
---|---|
protected Definition |
Text2Udom.Starter.foundDef |
protected Definition |
Text2Udom.meta_assumedXsltOutput |
protected Definition |
Text2Udom.meta_expected |
protected Definition |
Text2Udom.meta_kind |
protected Definition |
Text2Udom.meta_location |
protected Definition |
Text2Udom.meta_messageText |
protected Definition |
Text2Udom.meta_parsingError |
protected Definition |
Text2Udom.meta_skipped |
protected Definition |
Text2Udom.meta_tag |
protected Definition |
Text2Udom.meta_warning |
Modifier and Type | Field and Description |
---|---|
protected Set<Definition> |
Udom2Sax.attributesDone
All those definitions the content of which (under the currently
written node) have already been written out as attributes, and
therefore do not need further processing.
|
protected static Function<Definition,Reference> |
Text2Udom.co_resolve |
protected static Function<Definition,Reference> |
Navigate.co_resolve |
protected Function<Definition,String> |
Def2Doc3.def2anchor_false |
static Map<Definition,Method> |
Udom2Sax.def2postProcessMethod
Cache for performance.
|
static Map<Definition,PostProcessor> |
Udom2Sax.def2postProcessObject
Cache for performance.
|
protected Map<DefInstance,Definition> |
Def2Doc3.defi2rewritten |
protected Function<Definition,String> |
Def2Doc.dyn_def2anchor_false |
protected Function<Definition,String> |
Def2Doc.dyn_fullname |
protected CheckedMap_RD<String,Definition> |
Resolver3.emptyLocals
A constant map which contains NO local definitions, used as the value of
"localDefs" when a definition is cloned/instantiated.
|
protected CheckedMap_RD<String,Definition> |
Resolver4.emptyLocals |
protected Map<String,Definition> |
XsltSpecialized.CollectAllElements.found |
protected Map<String,Definition> |
Text2Udom.CollectAllElements.found |
protected Multimap<Definition,Definition> |
Def2Doc.genericRefs
Collects all generic definitions still referred to!
|
protected Multimap<Definition,Definition> |
Def2Doc.genericRefs
Collects all generic definitions still referred to!
|
protected Function<Definition,String> |
Def2Doc.getCategory |
protected Function<Definition,String> |
Def2Doc3.getCategory |
protected Map<Definition,Map<Resolver3.ImportContext,Resolver3.Instance>> |
Resolver3.instances
Maps indexed by the raw (=source level) definitions.
|
protected Map<Definition,Map<Resolver4.ImportContext,Resolver4.Instance>> |
Resolver4.instances |
static Predicate<Definition> |
Navigate.isPublicRegExp |
protected Map<Definition,List<Resolver4.LocalInstance>> |
Resolver4.localInstances |
protected Set<Definition> |
Def2Dtd.needed |
static Set<Definition> |
Udom2Sax.NO_ATTRIBUTES |
protected Set<Definition> |
XsltSpecialized.CollectAllElements.notAccessible |
protected Set<Definition> |
Text2Udom.CollectAllElements.notAccessible |
protected Map<Reference,Definition> |
Resolver3.reference2rawDef
Central result of the rewriting process, which maps rewritten Reference objects
to the definition in the "raw" source module which is meant.
|
protected Multimap<String,Definition> |
Def2Doc.tag2Def |
protected Multimap<Definition,Definition> |
Def2Doc.usedIn
Maps all definitions to points of usage.
|
protected Multimap<Definition,Definition> |
Def2Doc.usedIn
Maps all definitions to points of usage.
|
protected Multimap<Definition,Definition> |
Def2Doc3.uses
Maps all definitions to points of usage.
|
protected Multimap<Definition,Definition> |
Def2Doc3.uses
Maps all definitions to points of usage.
|
protected Set<Definition> |
XsltSpecialized.CollectAllElements.visited |
protected Set<Definition> |
Text2Udom.CollectAllElements.visited |
protected Set<Definition> |
Def2Dtd.visited |
Modifier and Type | Method and Description |
---|---|
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 @Opt Definition |
Dtd2Def.Phase1.globalDefForAtt(String name,
DTM.Attribute attdef)
ATTENTION currently dtd-attribute "types" are not analyzed.
|
Definition |
Text2Udom.Starter.install(Expression exp,
String tag,
boolean weakmode) |
protected Definition |
Text2Udom.loadMetaDefinition(Map<String,Definition> defs,
String name) |
protected Definition |
Dtd2Def.Phase1.makeAttribute(SourceItem context,
String name,
DTM.Attribute att)
Create a new ddf-definition.
|
protected Definition |
CharParserPrepare.rawDef(Definition def) |
Modifier and Type | Method and Description |
---|---|
static Set<Definition> |
TypeCheck.collectAttributes(XRegExp host)
Every XRegExp has a local cache with definitions which are realized as attributs.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Text2Udom.accept_superfluous_end_tag(String tag,
boolean defIsEmpty,
Definition def,
Location<String> startLoc)
Lets the scanner accept and discard an end tag, either normal
or forced or by a parenthesis character.
|
void |
XsltSpecialized.CollectAllElements.action(Definition d) |
void |
Text2Udom.CollectAllElements.action(Definition d) |
void |
Navigate.CharSetCalc.action(Definition x) |
void |
Def2Xslt3.action(Definition def) |
void |
Def2Xslt.action(Definition def) |
protected void |
Reducer.addToContext(Definition newdef,
String kind)
Add
Definition (Enum or Tags or Chars Parser) to currentscope
(either to Module or (as a local definition) to a definition). |
protected void |
Resolver.ReferenceResolver.checkDefinitionType(Definition def,
Location<XMLDocumentIdentifier> loc,
boolean isInsertion) |
protected void |
XsltSpecialized.CollectAllElements.classify(Definition t) |
protected void |
Text2Udom.CollectAllElements.classify(Definition t) |
String |
Resolver3.ImportContext.compoundKey(Definition def)
The sequence of all import keys which lead to this dynamic ImportContext plus
the name of the Definition.
|
String |
Resolver4.ImportContext.compoundKey(Definition def) |
protected void |
Reducer.constructMangledXmlTag(Location<XMLDocumentIdentifier> loc,
Definition def)
Is called for any definition: Local definitions first apply
name mangling.
|
protected Resolver3.Instance |
Resolver3.createNewInstance(Resolver3.ImportContext ic,
Definition raw,
@Opt Reference reprRef)
Central routine for processing a new instantiation of a particular definition
in a particular import context.
In case of XRegExp : Calls the main class visitor methods for applying
all rewriting expressions to the def's value. |
protected Resolver4.Instance |
Resolver4.createNewInstance(Resolver4.ImportContext ic,
Definition raw) |
protected void |
Reducer.defineXmlNamespaceTag(Location<XMLDocumentIdentifier> loc,
Definition def,
String qname)
D2d only knows the combination "non-empty prefix and non-empty uri",
or "empty prefix and empty uri".
|
protected String |
Def2Doc3.defrw2minUniqueName(Definition def) |
protected String |
Def2Doc3.defrw2tooltip(Definition defrw) |
protected String |
Def2Doc.dyn_def2anchor(Definition def,
boolean isName) |
protected String |
Def2Doc.dyn_fullname(Definition def)
Get the name of the definition w.r.t.
|
protected boolean |
Resolver3.equivalent(Definition def1,
Definition def2) |
protected boolean |
Resolver4.equivalent(Definition def1,
Definition def2) |
protected @Opt Resolver3.Instance |
Resolver3.findInstance(Definition raw,
Resolver3.ImportContext ic) |
protected @Opt Resolver4.Instance |
Resolver4.findInstance(Definition raw,
Resolver4.ImportContext ic) |
protected Map<Resolver3.ImportContext,Resolver3.Instance> |
Resolver3.findInstances(Definition raw) |
protected Map<Resolver4.ImportContext,Resolver4.Instance> |
Resolver4.findInstances(Definition raw) |
protected List<Resolver4.LocalInstance> |
Resolver4.findLocalInstances(Definition def) |
void |
Udom2Sax.findPostProc(Definition def) |
protected String |
Def2Doc.getCategory(Definition def)
NO MuLi support, since this is a TECHNICAL word which has to
be used as such, fixed by the grammar of definition modules,
idenpendently from locale.
|
protected String |
Def2Doc3.getCategory(Definition def)
NO MuLi support, since this is a TECHNICAL word which has to
be used as such, fixed by the grammar of definition modules,
idenpendently from locale.
|
protected void |
Text2Udom.ignore_superfluous_end_tag(String tag,
boolean defIsEmpty,
Definition def,
Location<String> startLoc)
Called after an empty tag, a parser or an enum have been consumed.
|
static void |
Text2Udom.insertPlainChars(ResultingStructure host,
Definition tag,
String chars) |
static boolean |
Navigate.isEmptyXRegExp(Definition def) |
protected boolean |
Text2Udom.isXsltDef(Definition def) |
protected void |
Def2Doc.listHomonyms(String tag,
Definition def) |
protected void |
Def2Doc.listUsage(Definition def) |
protected void |
Def2Doc3.listUsage(DefInstance defi,
Definition defrw) |
protected void |
Def2Doc.makeDynDefDoc(String modulename,
Definition def)
Make the doc entry for one (INSTANTIATED) DECLARATION.
|
protected void |
Resolver.FirstCalculator.makeGenericHints(String genname,
XRegExp referrer,
Definition referred) |
protected Element_a |
Def2Doc.makeJumpTo(Definition def) |
protected Element_a |
Def2Doc3.makeJumpTo(Definition def) |
protected void |
Def2Dtd.markNeeded(Definition def) |
protected void |
Navigate.VisitReachable.markToDo(Definition def) |
T |
Navigate.VisitReachable.process(Definition def) |
protected Definition |
CharParserPrepare.rawDef(Definition def) |
protected Module |
CharParserPrepare.rawMod(Definition def) |
static void |
PostProcessor.remove_all(ResultingStructure udom,
Definition tag)
Auxiliary function to remove all resulting structures with the given
tag.
|
protected void |
CharacterParser.subElement(Definition def,
Expression rule)
Called when reaching a ParseParticle, a CharsRegExp or an Enumeration, which all
lead to wrapping the parsing result into a Result object with this definition as its tag.
|
protected void |
XsltSpecialized.CollectAllElements.takeDiscard(String tag,
Definition take,
Definition discard) |
protected void |
Text2Udom.CollectAllElements.takeDiscard(String tag,
Definition take,
Definition discard) |
protected void |
Def2Dtd.translate(Definition def)
Treat tags regexp and chars regexp differently.
|
Modifier and Type | Method and Description |
---|---|
protected Definition |
Text2Udom.loadMetaDefinition(Map<String,Definition> defs,
String name) |
protected Element_ul |
Def2Doc.makeSortedListOfDefinitions(Set<Definition> defs) |
Constructor and Description |
---|
AttributeCollector(Set<Definition> atts) |
AttributeCollector(Set<Definition> atts,
Set<Expression> attrefs) |
Modifier and Type | Class and Description |
---|---|
class |
CharsRegExp
Generated by umod; model author's documentation MISSING.
|
class |
Enumeration
Generated by umod; model author's documentation MISSING.
|
class |
TagsRegExp
Generated by umod; model author's documentation MISSING.
|
class |
XRegExp
Generated by umod; model author's documentation MISSING.
|
Modifier and Type | Field and Description |
---|---|
protected Definition |
DefInstance.raw
Generated by umod; model author's documentation MISSING.
|
protected Definition |
Reference.resolved
Generated by umod; model author's documentation MISSING.
|
Modifier and Type | Field and Description |
---|---|
protected CheckedSet<Definition> |
XRegExp.attributes
Generated by umod; model author's documentation MISSING.
|
protected CheckedMap_RD<String,Definition> |
Module.definitions
Generated by umod; model author's documentation MISSING.
|
protected CheckedMap_RD<Definition,DefInstance> |
ResolvedModule.defInstances
Generated by umod; model author's documentation MISSING.
|
static Function<XRegExp,CheckedSet<Definition>> |
XRegExp.get_attributes
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,CheckedMap_RD<String,Definition>> |
Module.get_definitions
Deprecated.
Use new '::' method reference instead.
|
static Function<ResolvedModule,CheckedMap_RD<Definition,DefInstance>> |
ResolvedModule.get_defInstances
Deprecated.
Use new '::' method reference instead.
|
static Function<Definition,String> |
Definition.get_editpragmas
Deprecated.
Use new '::' method reference instead.
|
static Function<Definition,Boolean> |
Definition.get_isgeneric
Deprecated.
Use new '::' method reference instead.
|
static Function<Definition,Boolean> |
Definition.get_ispublic
Deprecated.
Use new '::' method reference instead.
|
static Function<TagsRegExp,CheckedMap_RD<String,Definition>> |
TagsRegExp.get_localdefs
Deprecated.
Use new '::' method reference instead.
|
static Function<Definition,String> |
Definition.get_postproc
Deprecated.
Use new '::' method reference instead.
|
static Function<DefInstance,Definition> |
DefInstance.get_raw
Deprecated.
Use new '::' method reference instead.
|
static Function<ResolvedModule,CheckedMap_RD<Reference,Definition>> |
ResolvedModule.get_resolved
Deprecated.
Use new '::' method reference instead.
|
static Function<Reference,Definition> |
Reference.get_resolved
Deprecated.
Use new '::' method reference instead.
|
static Function<ResolvedModule,CheckedMap_RD<Reference,Definition>> |
ResolvedModule.get_sources
Deprecated.
Use new '::' method reference instead.
|
static Function<Definition,XmlKind> |
Definition.get_xml_kind
Deprecated.
Use new '::' method reference instead.
|
static Function<Definition,String> |
Definition.get_xml_src_tag
Deprecated.
Use new '::' method reference instead.
|
static Function<Definition,NamespaceName> |
Definition.get_xml_tag
Deprecated.
Use new '::' method reference instead.
|
static Function<Definition,Boolean> |
Definition.get_xml_trimmed
Deprecated.
Use new '::' method reference instead.
|
static Function<Definition,String> |
Definition.get_xml_value
Deprecated.
Use new '::' method reference instead.
|
protected CheckedMap_RD<String,Definition> |
TagsRegExp.localdefs
Generated by umod; model author's documentation MISSING.
|
protected CheckedMap_RD<Reference,Definition> |
ResolvedModule.resolved
NEU 20180822 Map all references in the rewritten
defintions to the rewritten definitions.
|
protected CheckedMap_RD<Reference,Definition> |
ResolvedModule.sources
NEU 20180822 Map all references in the rewritten
definitions to the raw definitions
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":211.9-212.25, cf. |
Modifier and Type | Method and Description |
---|---|
Definition |
Definition.doclone()
Clones this object.
|
Definition |
DefInstance.get_raw()
Generated by umod; model author's documentation MISSING.
|
Definition |
Reference.get_resolved()
Generated by umod; model author's documentation MISSING.
|
Definition |
Definition.initFrom(Object o0)
Copies values of all common fields from the argument.
|
Modifier and Type | Method and Description |
---|---|
CheckedSet<Definition> |
XRegExp.get_attributes()
Generated by umod; model author's documentation MISSING.
|
CheckedMap_RD<String,Definition> |
Module.get_definitions()
Generated by umod; model author's documentation MISSING.
|
CheckedMap_RD<Definition,DefInstance> |
ResolvedModule.get_defInstances()
Generated by umod; model author's documentation MISSING.
|
CheckedMap_RD<String,Definition> |
TagsRegExp.get_localdefs()
Generated by umod; model author's documentation MISSING.
|
CheckedMap_RD<Reference,Definition> |
ResolvedModule.get_resolved()
NEU 20180822 Map all references in the rewritten
defintions to the rewritten definitions.
|
CheckedMap_RD<Reference,Definition> |
ResolvedModule.get_sources()
NEU 20180822 Map all references in the rewritten
definitions to the raw definitions
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":211.9-212.25, cf. |
Modifier and Type | Method and Description |
---|---|
protected void |
CoRewrite.action(Definition e0) |
protected void |
Rewrite.action(Definition e0) |
protected void |
Match.action(Definition e0) |
protected void |
__Formatter.action(Definition el) |
protected void |
SinglePhase.action(Definition e0) |
protected void |
MATCH_ONLY_00.action(Definition e0) |
protected void |
Dump.action(Definition e0) |
boolean |
ResolvedModule.containsKey_defInstances(Definition key0)
Convenience un-Currying method.
|
protected void |
Match.descend(Definition e0) |
protected void |
Dump.descend(Definition e0) |
void |
MATCH_ONLY_00.match(Definition e0) |
protected void |
Match.post(Definition e0) |
protected void |
Match.pre(Definition e0) |
protected void |
Dump.printscalars(Definition e0) |
void |
Module.put_definitions(String key0,
Definition value)
Convenience un-Currying method.
|
void |
ResolvedModule.put_defInstances(Definition key0,
DefInstance value)
Convenience un-Currying method.
|
void |
TagsRegExp.put_localdefs(String key0,
Definition value)
Convenience un-Currying method.
|
void |
ResolvedModule.put_resolved(Reference key0,
Definition value)
Convenience un-Currying method.
|
void |
ResolvedModule.put_sources(Reference key0,
Definition value)
Convenience un-Currying method.
|
protected void |
CoRewrite.rewriteFields(Definition clone) |
protected void |
Rewrite.rewriteFields(Definition clone) |
boolean |
DefInstance.set_raw(Definition val)
Generated by umod; model author's documentation MISSING.
|
boolean |
Reference.set_resolved(Definition val)
Generated by umod; model author's documentation MISSING.
|
protected Format |
__Formatter.toFormat(Definition el) |
Modifier and Type | Method and Description |
---|---|
boolean |
XRegExp.set_attributes(CheckedSet<Definition> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
Module.set_definitions(CheckedMap_RD<String,Definition> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
ResolvedModule.set_defInstances(CheckedMap_RD<Definition,DefInstance> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
TagsRegExp.set_localdefs(CheckedMap_RD<String,Definition> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
ResolvedModule.set_resolved(CheckedMap_RD<Reference,Definition> val)
NEU 20180822 Map all references in the rewritten
defintions to the rewritten definitions.
|
boolean |
ResolvedModule.set_sources(CheckedMap_RD<Reference,Definition> val)
NEU 20180822 Map all references in the rewritten
definitions to the raw definitions
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":211.9-212.25, cf. |
Constructor and Description |
---|
DefInstance(Definition raw,
String representingKey)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Field and Description |
---|---|
protected Definition |
State_singleton.def
Generated by umod; model author's documentation MISSING.
|
protected Definition |
ResultingStructure.tag
Generated by umod; model author's documentation MISSING.
|
Modifier and Type | Field and Description |
---|---|
protected CheckedMultimap_RD<Definition,ResultingStructure> |
ResultingStructure.assoc
Generated by umod; model author's documentation MISSING.
|
static Function<ResultingStructure,CheckedMultimap_RD<Definition,ResultingStructure>> |
ResultingStructure.get_assoc
Deprecated.
Use new '::' method reference instead.
|
static Function<State_singleton,Definition> |
State_singleton.get_def
Deprecated.
Use new '::' method reference instead.
|
static Function<ResultingStructure,Definition> |
ResultingStructure.get_tag
Deprecated.
Use new '::' method reference instead.
|
Modifier and Type | Method and Description |
---|---|
Definition |
State_singleton.get_def()
Generated by umod; model author's documentation MISSING.
|
Definition |
ResultingStructure.get_tag()
Generated by umod; model author's documentation MISSING.
|
Modifier and Type | Method and Description |
---|---|
CheckedMultimap_RD<Definition,ResultingStructure> |
ResultingStructure.get_assoc()
Generated by umod; model author's documentation MISSING.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MATCH_ONLY_00.action(Definition e0) |
boolean |
State_singleton.set_def(Definition val)
Generated by umod; model author's documentation MISSING.
|
boolean |
ResultingStructure.set_tag(Definition val)
Generated by umod; model author's documentation MISSING.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ResultingStructure.set_assoc(CheckedMultimap_RD<Definition,ResultingStructure> val)
Generated by umod; model author's documentation MISSING.
|
Constructor and Description |
---|
ResultingStructure(Location<String> location,
Definition tag)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
State_singleton(ResultContainer result,
Reference ref,
Definition def,
Expression rule)
Synthetic minimal constructor provided by the umod compiler.
|
State_singleton(State predec,
ResultContainer result,
boolean inxslt,
Reference ref,
Definition def,
Expression rule)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
see also the complete user documentation .