code: public void entityRef(String text) throws IOException {
  		if (startTagIncomplete || setPrefixCalled || seenBracket)
  			closeStartTag();
  		if (doIndent && seenTag)
  			seenTag = false;
  		out.write('&');
  		out.write(text); // escape?
  		out.write(';');
  	}
docs: Entity ref.
  
  @param text the text
  @throws IOException Signals that an I/O exception has occurred.