code: protected void writeValue( VarValueDef value)
      {
      ConditionWriter conditionWriter = new ConditionWriter( value.getCondition());
  
      xmlWriter_
        .element( VALUE_TAG)
        .attribute( NAME_ATR, String.valueOf( value.getName()))
        .attributeIf( value.getType() == FAILURE, FAILURE_ATR, "true")
        .attributeIf( value.getType() == ONCE, ONCE_ATR, "true")
        .attributeIf( WHEN_ATR, conditionWriter.getWhenAttribute())
        .attributeIf( PROPERTY_ATR, propertyList( toStream( value.getProperties())))
        .contentIf(
          value.getAnnotationCount() > 0 || conditionWriter.hasWhenElement(),
          () -> { writeAnnotations( value); conditionWriter.writeWhenElement(); })
        .write();
      }
docs: Writes the given variable input value definition.