Code example for Writer

Methods: write

0
		innerElement = true;
	} 
 
	private void newline() throws IOException { 
		if (indent) {
			writer.write("\n");
		} 
	} 
 
	private void closeHead() throws IOException { 
		if (!headClosed) {
			writer.write('>');
			newline(); 
			headClosed = true;
		} 
	} 
 
	private void indent(int level) throws IOException {
		if (indent) {
			for (int i = 0; i < level; i++) {
				writer.write("\t");