Class XmlExpression

java.lang.Object
com.northconcepts.datapipeline.xml.builder.XmlExpression

public class XmlExpression extends Object
An expression for an element name, attribute or text in an XmlTemplate, written XML-escaped.
  • Constructor Details

    • XmlExpression

      public XmlExpression(String source)
  • Method Details

    • getSource

      public String getSource()
    • getExpression

      public Expression getExpression()
    • write

      public void write(ExpressionContext context, CodeWriter writer) throws IOException
      Writes the expression's result XML-escaped, or nothing when it evaluates to null.
      Throws:
      IOException