Package com.northconcepts.datapipeline.xml.builder
package com.northconcepts.datapipeline.xml.builder
Programmatic XML creation.
-
ClassesClassDescriptionAn attribute of an
XmlElementwhose name and value are expressions, optionally written only when a condition is true.A group of template nodes written only when its logical expression is true; created byXmlNodeContainer.when(String).Marks where records go in anXmlTemplate; the nodes added to it are written once for each record.An element in anXmlTemplatewhose name is an expression; holds attributes and child nodes.An expression for an element name, attribute or text in anXmlTemplate, written XML-escaped.A group of template nodes that writes only its children, with no markup of its own.A boolean expression that decides whether conditional template nodes or attributes are written.Base class for the nodes of anXmlTemplate; each writes its opening and closing markup to aCodeWriter.Base class for template nodes with children; provides theXmlNodeContainer.element(String),XmlNodeContainer.text(String),XmlNodeContainer.when(String)andXmlNodeContainer.detail()builder methods.Describes the XML anXmlWriterproduces: nodes before theXmlNodeContainer.detail()marker form the header, the marker's nodes are written once per record and the remaining nodes form the footer.Text in anXmlTemplatecomputed from an expression and written XML-escaped.