this.outputProperties = outputProperties; if(outputProperties == null) outputProperties = new Properties(); String prop = outputProperties.getProperty(OutputKeys.INDENT, "no"); this.receiver = prop.equals("yes") ? new XMLIndenter(writer) : new XMLWriter(writer); this.receiver.setOutputProperties(outputProperties);
this.receiver = new XMLIndenter();
	public SAXSerializer(Writer writer, Properties outputProperties) {		super();		this.outputProperties = outputProperties;		if(outputProperties == null)			outputProperties = new Properties();		String prop = outputProperties.getProperty(OutputKeys.INDENT, "no");		this.receiver =			prop.equals("yes")				? new XMLIndenter(writer)				: new XMLWriter(writer);		this.receiver.setOutputProperties(outputProperties);	}