Skip to content

Commit be6e802

Browse files
committed
Improve handle-generic-xml documentation #497
1 parent f5cc9dc commit be6e802

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

metafacture-xml/src/main/java/org/metafacture/xml/GenericXmlHandler.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@
3434
* @author Markus Michael Geipel
3535
*
3636
*/
37-
@Description("A generic xml reader")
37+
@Description("A generic xml reader. Separates XML data in distrinct records with the defined record tag name (default: `recordtagname=\"record\"`)" +
38+
"If no matching record tag is found, the output will be empty." +
39+
"The handler breaks down XML elements with simple string values and optional attributes" +
40+
"into entities with a value subfield (name configurable) and additional subfields for each attribute." +
41+
"Record tag and value tag names can be configured, also attributes can get get an attributeMarker.")
3842
@In(XmlReceiver.class)
3943
@Out(StreamReceiver.class)
4044
@FluxCommand("handle-generic-xml")

0 commit comments

Comments
 (0)