Class XmlText
java.lang.Object
com.northconcepts.datapipeline.xml.builder.XmlNode
com.northconcepts.datapipeline.xml.builder.XmlText
Text in an
XmlTemplate computed from an expression and written XML-escaped.-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionXmlText(XmlNodeContainer parent, String text) Creates text computed from thetextexpression; unlikeXmlNodeContainer.text(String), it is not added toparent. -
Method Summary
Modifier and TypeMethodDescriptiongetText()protected voidwriteEndImpl(ExpressionContext context, CodeWriter writer) Writes this node's closing output, such as an element's end tag, after its children are written.protected voidwriteStartImpl(ExpressionContext context, CodeWriter writer) Writes this node's opening output, such as an element's start tag or a text node's content.Methods inherited from class com.northconcepts.datapipeline.xml.builder.XmlNode
getChildNodes, getElementDepth, getLastChildNodeElementDepth, hasChildNodes, isMarker, writeEnd, writeStart
-
Constructor Details
-
XmlText
Creates text computed from thetextexpression; unlikeXmlNodeContainer.text(String), it is not added toparent.
-
-
Method Details
-
getText
-
writeStartImpl
Description copied from class:XmlNodeWrites this node's opening output, such as an element's start tag or a text node's content.- Specified by:
writeStartImplin classXmlNode- Throws:
Throwable
-
writeEndImpl
Description copied from class:XmlNodeWrites this node's closing output, such as an element's end tag, after its children are written.- Specified by:
writeEndImplin classXmlNode- Throws:
Throwable
-