public void writeSingleLineTextElement(String elementName, String text) throws IOException {
		if (elementName == null || elementName.length() == 0) {
			return;
		}
		if (text == null || text.length() == 0) {
			return;
		}
		addElementName(elementName);		
		indent();		
		writer.write("<");
		writer.write(elementName);
		writer.write(">");
		writer.write(escapeXml(text));
		writer.write("</");
		writer.write(elementName);
		writer.write(">\n");						
		removeElementName(elementName);
	}
public void writeSingleLineTextElement ( String elementName , String text ) throws IOException { if ( elementName == null || elementName . length ( ) == 0 ) { return ; } if ( text == null || text . length ( ) == 0 ) { return ; } addElementName ( elementName ) ; indent ( ) ; writer . write ( "<" ) ; writer . write ( elementName ) ; writer . write ( ">" ) ; writer . write ( escapeXml ( text ) ) ; writer . write ( "</" ) ; writer . write ( elementName ) ; writer . write ( ">\n" ) ; removeElementName ( elementName ) ; }
Writes '<elementName><text></elementName>\n'.