Uses of Class
eu.bandm.tools.d2d2.rt.ResultingStructure
Package
Description
D2d allows to write valid XML documents directly in the creative flow of authoring,
with minimum typographic noise.
Postprocessors for sematic modification of d2d parsing results.
Umod main model class: This is a model for the
results of d2d text parsing.
-
Uses of ResultingStructure in eu.bandm.tools.d2d2.base
Modifier and TypeFieldDescriptionprotected ResultingStructure
Text2Udom.skipContainer
For reporting skipped inputprotected ResultingStructure
Text2Udom.top_result
Toplevel result of parsing the input text.protected ResultingStructure
Udom2Sax.toplevelStructure
Diagnosis only.Modifier and TypeFieldDescription(package private) final List<ResultingStructure>
CharacterParser.ParseResult.structures
Modifier and TypeMethodDescriptionUdom2Sax.applyPostProc
(ResultingStructure input) protected static @Opt ResultingStructure
Text2Udom.consume_enumeration
(MemScanner<String> scan, Enumeration etype) Used by tag parsers AND character parsers (with multiple parallel scanners !)Text2Udom.fromFile
(File f, ModuleRegistry moduleRegistry) Parse the contents of the given file.Text2Udom.fromFile
(String s, ModuleRegistry moduleRegistry) Parse the contents of the file found at the given location.Text2Udom.fromFile
(String locationText, File f, ModuleRegistry moduleRegistry) Parse the contents of the given file, using the given location text for all error messages.Text2Udom.fromMemString
(String locationText, MemString<String> text, ModuleRegistry moduleRegistry) Parse the contents of the given MemString object, which includes a text type declaration header.Text2Udom.fromMemString
(String locationText, MemString<String> text, ModuleRegistry moduleRegistry, @Opt XRegExp toplevelXRegExp, Text2Udom.modes mode) Parse the contents of the given MemString object, containing just the text body.CharacterParser.parse
(MemScanner<String> scanner, CharsRegExp parser, ResultingStructure result) Central executive method.PostProcessor.process
(ResultingStructure input) Process the argument which is the result of a recent d2d text parsing.Modifier and TypeMethodDescriptionvoid
Udom2Sax.action
(ResultingStructure res_pre) If argument is not yet written out as attribute, then (1) apply postproc, (2) collect all attributes, (3) emit an "open element" sax event, (4) visit sub-structure, (5) emit a "close element" sax event.Udom2Sax.applyPostProc
(ResultingStructure input) void
Udom2Sax.convert
(MessageReceiver<SimpleMessage<?>> msg, ContentHandler sax, ResultingStructure structure, @Opt Map<String, String> namespaceContext) Top-level entry point.protected void
CharacterParser.copyContentsFromTo
(CharacterParser.ParseResult from, MemScanner<String> startpos, ResultingStructure to) If "from" has structured contents, then add this into "to", as a sequence and per assoc.protected void
Text2Udom.deliver
(ResultingStructure res) Append the argument to the top-most resulting structure.protected void
Text2Udom.deliver_spontanuous
(ResultingStructure res) Append the argument to the top-most resulting structure which is not encoded as xml attribute.protected void
Text2Udom.deliver_to_singletonstate
(ResultingStructure res, State_singleton tss) Navigate.docuTargetsOfAllUsedTags
(ResultingStructure data) Collects the docu entry keys which appear in all defintions which appear in a given document parse result.static void
Text2Udom.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.protected void
Text2Udom.makeGlobalSkipContainer
(ResultingStructure errormsg) protected void
Udom2Sax.memoLoc
(ResultingStructure res) CharacterParser.parse
(MemScanner<String> scanner, CharsRegExp parser, ResultingStructure result) Central executive method.PostProcessor.process
(ResultingStructure input) Process the argument which is the result of a recent d2d text parsing.static Integer
PostProcessor.read_int
(ResultingStructure udom, String tag) Auxiliary function to read the given tag content as an integer value.static Long
PostProcessor.read_long
(ResultingStructure udom, String tag) Auxiliary function to read the given tag content as a "long" value.PostProcessor.read_string
(ResultingStructure udom, String tag) Auxiliary function to read the current string content of a sub-udom with the given tag, in the given udom.static void
PostProcessor.remove_all
(ResultingStructure udom, Definition tag) Auxiliary function to remove all resulting sub-structures with the given tag.protected void
Udom2Sax.writeout_enum
(Enumeration enumT, ResultingStructure res, AttributesImpl att) ModifierConstructorDescription(package private)
Attribute
(ResultingStructure orig, UdomClient.Element parent, int index) (package private)
Element
(ResultingStructure orig, UdomClient.Element parent, int index) ModifierConstructorDescription(package private)
ParseResult
(MemScanner<String> scanner, List<ResultingStructure> subs) -
Uses of ResultingStructure in eu.bandm.tools.d2d2.postproc
Modifier and TypeMethodDescriptionstatic ResultingStructure
Calendaric.encode
(ResultingStructure input, String formatString) Does the reading of the data and their encoding.Calendaric.process
(ResultingStructure input) Destructive impementation: Alter the input result element by replacing its (dummy=always empty) result auv-element with the tag "UTC" by the one with the encoded calendaric date as its contents.Forget.process
(ResultingStructure input) Process the given result element by simply returning constantly null.Modifier and TypeMethodDescriptionstatic ResultingStructure
Calendaric.encode
(ResultingStructure input, String formatString) Does the reading of the data and their encoding.Calendaric.process
(ResultingStructure input) Destructive impementation: Alter the input result element by replacing its (dummy=always empty) result auv-element with the tag "UTC" by the one with the encoded calendaric date as its contents.Forget.process
(ResultingStructure input) Process the given result element by simply returning constantly null. -
Uses of ResultingStructure in eu.bandm.tools.d2d2.rt
Modifier and TypeFieldDescriptionprotected CheckedMultimap_RD<Definition,
ResultingStructure> ResultingStructure.assoc
Generated by umod; model author's documentation MISSING.static final Function<ResultingStructure,
CheckedMultimap_RD<Definition, ResultingStructure>> ResultingStructure.get_assoc
Deprecated.Use new '::' method reference instead.static final Function<ResultingStructure,
CheckedMultimap_RD<Definition, ResultingStructure>> ResultingStructure.get_assoc
Deprecated.Use new '::' method reference instead.static final Function<ResultingStructure,
Definition> ResultingStructure.get_tag
Deprecated.Use new '::' method reference instead.Modifier and TypeMethodDescriptionResultingStructure.doclone()
Clones this object.Copies values of all common fields from the argument.static ResultingStructure
Util.processText
(ResultingStructure input, UnaryOperator<String> function) Generic post-processor transforming only character data and returning one simple character data result.Modifier and TypeMethodDescriptionResultingStructure.get_assoc()
Generated by umod; model author's documentation MISSING.static Pattern<ResultingStructure>
ResultingStructure.get_assoc
(Pattern<? super CheckedMultimap_RD<Definition, ResultingStructure>> 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.static Pattern<ResultingStructure>
__Patterns.term_ResultingStructure
(Pattern<? super ResultContainer> superpattern, Pattern<? super Definition> p_tag, Pattern<? super CheckedMultimap_RD<Definition, ResultingStructure>> p_assoc) Modifier and TypeMethodDescriptionprotected void
__Formatter.action
(ResultingStructure el) protected void
Dump_rt.action
(ResultingStructure e0) protected void
MATCH_ONLY_00.action
(ResultingStructure e0) protected void
Match_rt.action
(ResultingStructure e0) protected void
SinglePhase_rt.action
(ResultingStructure e0) protected void
Dump_rt.descend
(ResultingStructure e0) protected void
Match_rt.descend
(ResultingStructure e0) void
Dump_rt.follow_assoc
(ResultingStructure element) void
Match_rt.follow_assoc
(ResultingStructure element) void
SinglePhase_rt.follow_assoc
(ResultingStructure element) void
MATCH_ONLY_00.followAll_assoc
(ResultingStructure element) void
MATCH_ONLY_00.match
(ResultingStructure e0) protected void
Match_rt.post
(ResultingStructure e0) protected void
Match_rt.pre
(ResultingStructure e0) protected void
Dump_rt.printscalars
(ResultingStructure e0) static ResultingStructure
Util.processText
(ResultingStructure input, UnaryOperator<String> function) Generic post-processor transforming only character data and returning one simple character data result.protected Format
__Formatter.toFormat
(ResultingStructure el) Modifier and TypeMethodDescription__Patterns.cast_ResultingStructure
(Pattern<? super ResultingStructure> p) static Pattern<ResultingStructure>
ResultingStructure.get_assoc
(Pattern<? super CheckedMultimap_RD<Definition, ResultingStructure>> p) Lifts a pattern which matches the field value to one which matches this whole object.boolean
ResultingStructure.set_assoc
(CheckedMultimap_RD<Definition, ResultingStructure> val) Generated by umod; model author's documentation MISSING.