private void addAttribute(String attrName, String attrValue) {
    """
	Adds the attribute
	
	@param attrName name of the attribute to add
	@param attrValue value of the attribute to add
    """
    if(attrName == null)
      return;
    
    _xml.append(' ');
    _xml.append(attrName).append("=\"");
    _xml.append(XMLUtils.xmlEncode(attrValue)).append('"');
  }
private void addAttribute(String attrName, String attrValue)
  {
    if(attrName == null)
      return;
    
    _xml.append(' ');
    _xml.append(attrName).append("=\"");
    _xml.append(XMLUtils.xmlEncode(attrValue)).append('"');
  }
private void addAttribute ( String attrName , String attrValue ) { if ( attrName == null ) return ; _xml . append ( ' ' ) ; _xml . append ( attrName ) . append ( "=\"" ) ; _xml . append ( XMLUtils . xmlEncode ( attrValue ) ) . append ( ' ' ) ; }
Adds the attribute

@param attrName name of the attribute to add
@param attrValue value of the attribute to add
Adds the attribute