HierarchicalXMLRowOutput

HierarchicalXMLRowOutput

Prototype of a hierarchical xml output. It does not produce XML-attribute values and will write all values as separate nodes. You can annotate list producing generators like For or BuildList with a listName attribute, which will be used as a xml node name. Non-List generators can be annotated using the id attribute, which will also serve as XML-Node name. If you see a <null> node, you forgot the annotation!

Attributes
Name Description Required Min Max Allowed Values
name (Class)Name of this element. Used to identify plugin Class. Full name is required. Example: com.en.myPluginPackage.myPuginClass yes 1 1
active Boolean flag if this output is active/used no 0 1
  • true
  • false
  • 0
  • 1
id Identification String of this element. May be used to uniquely identify a field within the children of an Element. no 0 1
Nodes
Name Description Required Min Max Allowed Values
fileTemplate Content type: Java code
Generic directory and filename of file to put the generated data in. Available variables: project, table, tableID, timeID, output, nodeCount, nodeNumber, outputDir, fileEnding
yes 1 1
delimiter Content type: Character
Delimiter char used in CSV. examples: { , ; | \t}.
no 0 1
fileEnding Content type: String
Ending of output files.
no 0 1
appendToFiles Content type: Boolean
True: Append to existing files False: overwrite/create files (default)
no 0 1
  • true
  • false
  • 0
  • 1
bufferSize Content type: Integer
Buffersize for output. Buffersize is the amount of bytes cached before a write to a file occurs.
no 0 1
outputDir Content type: String (must be a valid filesystem path)
Directory to put the generated files in.
no 0 1
sortByRowID Content type: Boolean
Enables sorting of RowDataDTOs by rowId.
no 0 1
  • true
  • false
  • 0
  • 1
charset Content type: String
Charset used for output encoding.
no 0 1
2.7-83fb0 | 2020-04-22