Skip to content

Commit

Permalink
Merge #563 from branch '497-improve-decode-xml-documentation' of gith…
Browse files Browse the repository at this point in the history
…ub.com:metafacture/metafacture-core
  • Loading branch information
dr0i committed Oct 17, 2024
2 parents bdb93ad + 32741b7 commit 71c367c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@
* @author Markus Michael Geipel
*
*/
@Description("A generic xml reader")
@Description("A generic XML reader. Separates XML data in distinct records with the defined record tag name (default: `recordtagname=\"record\"`) " +
"If no matching record tag is found, the output will be empty. " +
"The handler breaks down XML elements with simple string values and optional attributes " +
"into entities with a value subfield (name configurable) and additional subfields for each attribute. " +
"Record tag and value tag names can be configured. Attributes can get an attributeMarker.")
@In(XmlReceiver.class)
@Out(StreamReceiver.class)
@FluxCommand("handle-generic-xml")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* @author Christoph Böhme
*
*/
@Description("Encodes a stream as xml")
@Description("Encodes a stream as XML. Defaults: `rootTag=\"records\"`, `recordTag=\"record\"`, no attributeMarker.")
@In(StreamReceiver.class)
@Out(String.class)
@FluxCommand("stream-to-xml")
Expand Down

0 comments on commit 71c367c

Please sign in to comment.