@Override
  public void addTag(String tagName, String tagValue)
  {
    if(tagValue == null)
      addEmptyTag(tagName);
    else
    {
      addOpeningTag(tagName);
      _xml.append(XMLUtils.xmlEncode(tagValue));
      addClosingTag(tagName);
    }
  }
@Override
  public void addTag(String tagName, String tagValue)
  {
    if(tagValue == null)
      addEmptyTag(tagName);
    else
    {
      addOpeningTag(tagName);
      _xml.append(XMLUtils.xmlEncode(tagValue));
      addClosingTag(tagName);
    }
  }
@ Override public void addTag ( String tagName , String tagValue ) { if ( tagValue == null ) addEmptyTag ( tagName ) ; else { addOpeningTag ( tagName ) ; _xml . append ( XMLUtils . xmlEncode ( tagValue ) ) ; addClosingTag ( tagName ) ; } }
Adds a tag

@param tagName the name of the tag to add
@param tagValue the value of the tag to add
Adds a tag