Uses of Class
eu.bandm.tools.d2d2.model.Definition
Packages that use Definition
Package
Description
D2d allows to write valid XML documents directly in the creative flow of authoring,
with minimum typographic noise.
Umod main model class: This is the internal
model for the d2d text type definitions.
Umod main model class: This is a model for the
results of d2d text parsing.
-
Uses of Definition in eu.bandm.tools.d2d2.base
Fields in eu.bandm.tools.d2d2.base declared as DefinitionModifier and TypeFieldDescriptionprotected DefinitionText2Udom.meta_assumedXsltOutputprotected DefinitionText2Udom.meta_expectedprotected DefinitionText2Udom.meta_kindprotected DefinitionText2Udom.meta_locationprotected DefinitionText2Udom.meta_messageTextprotected DefinitionText2Udom.meta_parsingErrorprotected DefinitionText2Udom.meta_skippedprotected DefinitionText2Udom.meta_tagprotected DefinitionText2Udom.meta_warningFields in eu.bandm.tools.d2d2.base with type parameters of type DefinitionModifier and TypeFieldDescriptionprotected Set<Definition> Udom2Sax.attributesDoneAll 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 Map<DefInstance, Definition> UserdocInstantiated.defi2rewrittenprotected final PreimageMap<Definition, String> UserdocUninstantiated.defs2tagMaps every found definition to its tag String.protected final PreimageMap<Definition, String> UserdocUninstantiated.defs2tag_globalSum ofUserdocUninstantiated.defs2tagover all modules.protected Map<String, Definition> XsltInstance.CollectAllElements.foundAll Definitions reachable from the entry definition given toXsltInstance.CollectAllElements.findTopLevel(eu.bandm.tools.d2d2.model.Definition)and selected for direct notation.protected Map<Definition, Map<ImportContext, Classifier.Instance>> Classifier.instancesstatic final Predicate<Definition> Navigate.isPublicRegExpReturns whether a definition is of reg exp type (tags or chars) and has been defined as "public".protected Set<Definition> Def2Dtd.neededstatic final Set<Definition> Udom2Sax.NO_ATTRIBUTESprotected Set<Definition> XsltInstance.CollectAllElements.notAccessibleAll Definitions reachable from the entry definition given toXsltInstance.CollectAllElements.findTopLevel(eu.bandm.tools.d2d2.model.Definition)and not selected for direct notation.protected Multimap<Definition, Definition> UserdocInstantiated.usesMaps all definitions (=on the left side) to those referred to by references in their expression )=on the right side).protected Multimap<Definition, Definition> UserdocInstantiated.usesMaps all definitions (=on the left side) to those referred to by references in their expression )=on the right side).protected Set<Definition> Def2Dtd.visitedprotected Set<Definition> XsltInstance.CollectAllElements.visitedFor to visit each definitions only once.Methods in eu.bandm.tools.d2d2.base that return DefinitionModifier and TypeMethodDescriptionstatic @Opt DefinitionNavigate.findInDefinitions(Module mod, String name) Look for a definition in a module, including local defs.static @Opt DefinitionNavigate.findInDefinitions(Module mod, String[] names) Look for a definition in a module, including local defs.protected @Opt DefinitionDtd2Def.Phase1.globalDefForAtt(String name, DTM.Attribute attdef) Construct a common d2d tag element definition for a given attribute.protected DefinitionText2Udom.loadMetaDefinition(Map<String, Definition> defs, String name) Find the definition from the loaded metamodule.protected DefinitionDtd2Def.Phase1.makeAttribute(SourceItem context, String name, DTM.Attribute att) Create a new d2d-definition for a dtd attribute value.protected DefinitionCharParserPrepare.rawDef(Definition def) Methods in eu.bandm.tools.d2d2.base with parameters of type DefinitionModifier and TypeMethodDescriptionprotected booleanText2Udom.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.voidDef2Xslt3.action(Definition def) voidNavigate.CharSetCalc.action(Definition x) All definitions which are not CharsRegExp are NOT a character set.voidXsltInstance.CollectAllElements.action(Definition d) Is matched by definitions which are neither Tags- nor Chars-RegExps.protected voidReducer.addToContext(Definition newdef, String kind) AddDefinition(Enum or Tags or Chars Parser) to currentscope (either to Module or (as a local definition) to a definition).protected voidXsltInstance.CollectAllElements.classify(Definition t) Consider the tag of the Definition (with xml_kind==element) for being directly referrable in an xslt template.protected voidReducer.constructMangledXmlTag(Location<XMLDocumentIdentifier> loc, Definition def) Is called for any definition: Local definitions first apply name mangling.static ReferenceNavigate.coResolve(Definition def) Delivers a resolved reference expression which points to the given definition.protected Classifier.InstanceClassifier.createNewInstance(ImportContext ic, Definition raw) non-substituted case.protected voidReducer.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 StringUserdocInstantiated.defrw2minUniqueName(Definition def) protected StringUserdocInstantiated.defrw2tooltip(Definition defrw) protected booleanClassifier.equivalent(Definition def1, Definition def2) protected @Opt Classifier.InstanceClassifier.findInstance(Definition raw, ImportContext ic) protected Map<ImportContext, Classifier.Instance> Classifier.findInstances(Definition raw) voidUdom2Sax.findPostProc(Definition def) protected StringUdom2Sax.getCharOnly(Definition x, ResultContainer c) protected voidText2Udom.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 voidText2Udom.insertPlainChars(ResultingStructure host, Definition tag, String chars) Aux function to insert synthesized character data in the output, which is NOT contained in the source, e.g.static booleanNavigate.isEmptyXRegExp(Definition def) Returns whether a definition is of reg exp type (tags or chars) and has empty contents.protected booleanText2Udom.isXsltDef(Definition def) Whether a definition is an xslt element.protected voidUserdocInstantiated.listUsage(Definition defrw) protected Element_aUserdocInstantiated.makeJumpTo(Definition def) protected voidDef2Dtd.markNeeded(Definition def) protected voidNavigate.VisitReachable.markToDo(Definition def) Enter the definition into the to-do-set, if not already visited.Navigate.VisitReachable.process(Definition def) Process all definitions and expressions reachable from one particular definition.protected Classifier.InstanceClassifier.provideInstance(Definition raw, ImportContext ic) protected DefinitionCharParserPrepare.rawDef(Definition def) protected ModuleCharParserPrepare.rawMod(Definition def) static voidPostProcessor.removeAll(ResultingStructure udom, Definition tag) Auxiliary function to remove all resulting sub-structures with the given tag.protected voidUserdocUninstantiated.renderOneDef(Module module, String modulename, Definition def) Generate all text for one particular definition in the main text body.protected StringUserdoc.showCategory_long(Definition def) protected static StringUserdoc.showCategory_short(Definition def) Short text = the keyword in the d2d definition format, which gives the kind of a definition.protected voidCharacterParser.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 voidXsltInstance.CollectAllElements.takeDiscard(String tag, Definition take, Definition discard) Puts one argument into theXsltInstance.CollectAllElements.foundand the other in theXsltInstance.CollectAllElements.notAccessibleset.protected voidDef2Dtd.translate(Definition def) Treat tags regexp and chars regexp differently.Method parameters in eu.bandm.tools.d2d2.base with type arguments of type DefinitionModifier and TypeMethodDescriptionprotected DefinitionText2Udom.loadMetaDefinition(Map<String, Definition> defs, String name) Find the definition from the loaded metamodule.protected @Opt Element_tableUserdoc.makeDocuTable(Set<Module> modules, Predicate<Definition> filter) Show for which raw definitions which documentation and transformation entries exist.Constructor parameters in eu.bandm.tools.d2d2.base with type arguments of type DefinitionModifierConstructorDescriptionAttributeCollector(NonNullMap<Definition, Boolean> atts, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) Only constructor. -
Uses of Definition in eu.bandm.tools.d2d2.model
Subclasses of Definition in eu.bandm.tools.d2d2.modelModifier and TypeClassDescriptionclassGenerated by umod; model author's documentation MISSING.classGenerated by umod; model author's documentation MISSING.classGenerated by umod; model author's documentation MISSING.classGenerated by umod; model author's documentation MISSING.Fields in eu.bandm.tools.d2d2.model declared as DefinitionModifier and TypeFieldDescriptionprotected DefinitionDefInstance.rawGenerated by umod; model author's documentation MISSING.protected @Opt DefinitionReference.resolvedGenerated by umod; model author's documentation MISSING.Fields in eu.bandm.tools.d2d2.model with type parameters of type DefinitionModifier and TypeFieldDescriptionprotected NonNullMap<String, Definition> Module.definitionsGenerated by umod; model author's documentation MISSING.protected NonNullMap<Definition, DefInstance> ResolvedModule.defInstancesGenerated by umod; model author's documentation MISSING.static final NonNullMap<String, Definition> TagsRegExp.emptyLocalsstatic final Function<Definition, Boolean> Definition.get_definedAsLocalDeprecated.Use new '::' method reference instead.static final Function<Module, NonNullMap<String, Definition>> Module.get_definitionsDeprecated.Use new '::' method reference instead.static final Function<ResolvedModule, NonNullMap<Definition, DefInstance>> ResolvedModule.get_defInstancesDeprecated.Use new '::' method reference instead.static final Function<Definition, @Opt String> Definition.get_editpragmasDeprecated.Use new '::' method reference instead.static final Function<Definition, Boolean> Definition.get_isgenericDeprecated.Use new '::' method reference instead.static final Function<Definition, Boolean> Definition.get_ispublicDeprecated.Use new '::' method reference instead.static final Function<TagsRegExp, NonNullMap<String, Definition>> TagsRegExp.get_localdefsDeprecated.Use new '::' method reference instead.static final Function<Definition, @Opt String> Definition.get_postprocDeprecated.Use new '::' method reference instead.static final Function<DefInstance, Definition> DefInstance.get_rawDeprecated.Use new '::' method reference instead.static final Function<Reference, @Opt Definition> Reference.get_resolvedDeprecated.Use new '::' method reference instead.static final Function<XRegExp, @Opt NonNullMap<Definition, Boolean>> XRegExp.get_xattributesDeprecated.Use new '::' method reference instead.static final Function<Definition, XmlKind> Definition.get_xml_kindDeprecated.Use new '::' method reference instead.static final Function<Definition, @Opt String> Definition.get_xml_src_tagDeprecated.Use new '::' method reference instead.static final Function<Definition, @Opt NamespaceName> Definition.get_xml_tagDeprecated.Use new '::' method reference instead.static final Function<Definition, Boolean> Definition.get_xml_trimmedDeprecated.Use new '::' method reference instead.static final Function<Definition, @Opt String> Definition.get_xml_valueDeprecated.Use new '::' method reference instead.protected NonNullMap<String, Definition> TagsRegExp.localdefsGenerated by umod; model author's documentation MISSING.protected @Opt NonNullMap<Definition, Boolean> XRegExp.xattributesLists all sub-expressions to realize as XML attributes, and whether optional.(transient cache)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":244.9-245.9, see this pretty print.)
The type of this field isNonNullMap<Definition(nevernull),java.lang.Boolean(nevernull)>(maybenull)
Its value defaults tonull.
Methods in eu.bandm.tools.d2d2.model that return DefinitionModifier and TypeMethodDescriptionDefinition.doclone()Clones this object.__SAX_Parser.fill_Definition(Object res) DefInstance.get_raw()Generated by umod; model author's documentation MISSING.Reference.get_resolved()Generated by umod; model author's documentation MISSING.Copies values of all common fields from the argument.__SAX_Parser.matchSAX_Definition()Methods in eu.bandm.tools.d2d2.model that return types with arguments of type DefinitionModifier and TypeMethodDescriptionstatic Pattern<Definition> Definition.get_definedAsLocal(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.Module.get_definitions()Generated by umod; model author's documentation MISSING.ResolvedModule.get_defInstances()Generated by umod; model author's documentation MISSING.static Pattern<Definition> Definition.get_editpragmas(Pattern<? super @Opt String> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition> Definition.get_isgeneric(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition> Definition.get_ispublic(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.TagsRegExp.get_localdefs()Generated by umod; model author's documentation MISSING.static Pattern<Definition> Definition.get_postproc(Pattern<? super @Opt String> p) Lifts a pattern which matches the field value to one which matches this whole object.XRegExp.get_xattributes()Lists all sub-expressions to realize as XML attributes, and whether optional.(transient cache)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":244.9-245.9, see this pretty print.)
Generated getter method.static Pattern<Definition> Definition.get_xml_kind(Pattern<? super XmlKind> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition> Definition.get_xml_src_tag(Pattern<? super @Opt String> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition> Definition.get_xml_tag(Pattern<? super @Opt NamespaceName> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition> Definition.get_xml_trimmed(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition> Definition.get_xml_value(Pattern<? super @Opt String> p) Lifts a pattern which matches the field value to one which matches this whole object.protected NonNullMap<Definition, Boolean> __SAX_Parser.parse_11()protected NonNullMap<String, Definition> __SAX_Parser.parse_12()protected NonNullMap<String, Definition> __SAX_Parser.parse_4()protected NonNullMap<Definition, DefInstance> __SAX_Parser.parse_6()static Pattern<Definition> __Patterns.term_Definition(Pattern<? super SourceItem> superpattern, Pattern<? super Boolean> p_isgeneric, Pattern<? super Boolean> p_ispublic, Pattern<? super Boolean> p_definedAsLocal, Pattern<? super @Opt String> p_postproc, Pattern<? super XmlKind> p_xml_kind, Pattern<? super @Opt String> p_xml_src_tag, Pattern<? super @Opt NamespaceName> p_xml_tag, Pattern<? super @Opt String> p_xml_value, Pattern<? super Boolean> p_xml_trimmed, Pattern<? super @Opt String> p_editpragmas) Methods in eu.bandm.tools.d2d2.model with parameters of type DefinitionModifier and TypeMethodDescriptionprotected void__Formatter.action(Definition el) void__SAX_Writer.action(Definition e0) protected voidCoRewrite.action(Definition e0) protected voidDump.action(Definition e0) protected voidMATCH_ONLY_00.action(Definition e0) protected voidMatch.action(Definition e0) protected voidRewrite.action(Definition e0) protected voidSinglePhase.action(Definition e0) booleanResolvedModule.containsKey_defInstances(Definition key0) Convenience un-Currying method.protected voidDump.descend(Definition e0) protected voidMatch.descend(Definition e0) void__SAX_Writer.dumpfields(Definition e0) void__SAX_Parser.XMLPARSER_Definition.fillFields(Definition newobj) voidMATCH_ONLY_00.match(Definition e0) void__SAX_Parser.XMLPARSER_Definition.parsefields(Definition newobj) protected voidMatch.post(Definition e0) protected voidMatch.pre(Definition e0) protected voidDump.printscalars(Definition e0) voidModule.put_definitions(String key0, Definition value) Convenience un-Currying method.
Set the value at the given coordinate and automatically generate all intermediate collections, if not yet existing.voidResolvedModule.put_defInstances(Definition key0, DefInstance value) Convenience un-Currying method.
Set the value at the given coordinate and automatically generate all intermediate collections, if not yet existing.voidTagsRegExp.put_localdefs(String key0, Definition value) Convenience un-Currying method.
Set the value at the given coordinate and automatically generate all intermediate collections, if not yet existing.protected voidCoRewrite.rewriteFields(Definition clone) protected voidRewrite.rewriteFields(Definition clone) booleanDefInstance.set_raw(Definition val) Generated by umod; model author's documentation MISSING.booleanReference.set_resolved(@Opt Definition val) Generated by umod; model author's documentation MISSING.protected Format__Formatter.toFormat(Definition el) Method parameters in eu.bandm.tools.d2d2.model with type arguments of type DefinitionModifier and TypeMethodDescription__Patterns.cast_Definition(Pattern<? super Definition> p) Module.get_definitions(Pattern<? super NonNullMap<String, Definition>> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<ResolvedModule> ResolvedModule.get_defInstances(Pattern<? super NonNullMap<Definition, DefInstance>> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<TagsRegExp> TagsRegExp.get_localdefs(Pattern<? super NonNullMap<String, Definition>> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<DefInstance> DefInstance.get_raw(Pattern<? super Definition> p) Lifts a pattern which matches the field value to one which matches this whole object.Reference.get_resolved(Pattern<? super @Opt Definition> p) Lifts a pattern which matches the field value to one which matches this whole object.XRegExp.get_xattributes(Pattern<? super @Opt NonNullMap<Definition, Boolean>> p) Lifts a pattern which matches the field value to one which matches this whole object.booleanModule.set_definitions(NonNullMap<String, Definition> val) Generated by umod; model author's documentation MISSING.booleanResolvedModule.set_defInstances(NonNullMap<Definition, DefInstance> val) Generated by umod; model author's documentation MISSING.booleanTagsRegExp.set_localdefs(NonNullMap<String, Definition> val) Generated by umod; model author's documentation MISSING.booleanXRegExp.set_xattributes(@Opt NonNullMap<Definition, Boolean> val) Lists all sub-expressions to realize as XML attributes, and whether optional.(transient cache)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":244.9-245.9, see this pretty print.)
Updates the (mutable) instance destructively.static Pattern<Enumeration> __Patterns.term_Enumeration(Pattern<? super Definition> superpattern, Pattern<? super NonNullList<String>> p_sourceOrder, Pattern<? super NonNullMap<String, Integer>> p_items, Pattern<? super NonNullMap<Integer, NonNullSet<String>>> p_reverse, Pattern<? super NonNullMap<Integer, String>> p_repr, Pattern<? super EnumRep> p_xml_representation, Pattern<? super Boolean> p_xml_emptystructs, Pattern<? super NonNullMap<Integer, NonNullMap<String, NonNullList<LocString>>>> p_itemDocu) __Patterns.term_XRegExp(Pattern<? super Definition> superpattern, Pattern<? super Expression> p_value, Pattern<? super @Opt NonNullMap<Definition, Boolean>> p_xattributes, Pattern<? super @Opt Object> p_manglingRule) Constructors in eu.bandm.tools.d2d2.model with parameters of type DefinitionModifierConstructorDescriptionDefInstance(Definition raw, String representingKey) Constructor defined according to directive »C 0/..«.
-
Uses of Definition in eu.bandm.tools.d2d2.parser2
Methods in eu.bandm.tools.d2d2.parser2 with parameters of type DefinitionModifier and TypeMethodDescriptionprotected static voidParser2.addToContainer(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, SourceItem currentScope, Definition newdef, String kind) AddDefinition(Enum or Tags or Chars Parser) to currentscope (either to Module or (as a local definition) to a definition). -
Uses of Definition in eu.bandm.tools.d2d2.rt
Fields in eu.bandm.tools.d2d2.rt declared as DefinitionModifier and TypeFieldDescriptionprotected DefinitionState_singleton.defGenerated by umod; model author's documentation MISSING.protected DefinitionResultingStructure.tagGenerated by umod; model author's documentation MISSING.Fields in eu.bandm.tools.d2d2.rt with type parameters of type DefinitionModifier and TypeFieldDescriptionprotected Multimap<Definition, ResultingStructure> ResultingStructure.assocGenerated by umod; model author's documentation MISSING.static final Function<ResultingStructure, Multimap<Definition, ResultingStructure>> ResultingStructure.get_assocDeprecated.Use new '::' method reference instead.static final Function<State_singleton, Definition> State_singleton.get_defDeprecated.Use new '::' method reference instead.static final Function<ResultingStructure, Definition> ResultingStructure.get_tagDeprecated.Use new '::' method reference instead.Methods in eu.bandm.tools.d2d2.rt that return DefinitionModifier and TypeMethodDescriptionState_singleton.get_def()Generated by umod; model author's documentation MISSING.ResultingStructure.get_tag()Generated by umod; model author's documentation MISSING.Methods in eu.bandm.tools.d2d2.rt that return types with arguments of type DefinitionModifier and TypeMethodDescriptionResultingStructure.get_assoc()Generated by umod; model author's documentation MISSING.Methods in eu.bandm.tools.d2d2.rt with parameters of type DefinitionModifier and TypeMethodDescriptionprotected voidMATCH_ONLY_00.action(Definition e0) booleanState_singleton.set_def(Definition val) Generated by umod; model author's documentation MISSING.booleanResultingStructure.set_tag(Definition val) Generated by umod; model author's documentation MISSING.Method parameters in eu.bandm.tools.d2d2.rt with type arguments of type DefinitionModifier and TypeMethodDescriptionstatic Pattern<ResultingStructure> ResultingStructure.get_assoc(Pattern<? super Multimap<Definition, ResultingStructure>> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<State_singleton> State_singleton.get_def(Pattern<? super Definition> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<ResultingStructure> ResultingStructure.get_tag(Pattern<? super Definition> p) Lifts a pattern which matches the field value to one which matches this whole object.booleanResultingStructure.set_assoc(Multimap<Definition, ResultingStructure> val) Generated by umod; model author's documentation MISSING.Constructors in eu.bandm.tools.d2d2.rt with parameters of type DefinitionModifierConstructorDescriptionResultingStructure(Location<String> location, Definition tag) Constructor defined according to directive »C 0/..«.
State_singleton(@Opt State predec, ResultContainer result, boolean inxslt, Reference ref, Definition def, Expression rule) Constructor defined according to directive »C 0/..«.
State_singleton(ResultContainer result, Reference ref, Definition def, Expression rule) Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.