value = (new Boolean(_translet._indent)).toString(); if (value != null) second.setProperty(OutputKeys.INDENT, value);
if (_translet._indent) second.setProperty(OutputKeys.INDENT, "yes"); else second.setProperty(OutputKeys.INDENT, "no");
    private Properties createOutputProperties() {		// Level3: Return the default property value	Properties third = new Properties();	third.setProperty(OutputKeys.ENCODING, "UTF-8");	third.setProperty(OutputKeys.METHOD, XML_STRING);	third.setProperty(OutputKeys.INDENT, NO_STRING);	third.setProperty(OutputKeys.DOCTYPE_PUBLIC, EMPTY_STRING);	third.setProperty(OutputKeys.DOCTYPE_SYSTEM, EMPTY_STRING);	third.setProperty(OutputKeys.CDATA_SECTION_ELEMENTS, EMPTY_STRING);	third.setProperty(OutputKeys.MEDIA_TYPE, "text/xml");	third.setProperty(OutputKeys.OMIT_XML_DECLARATION, NO_STRING);	third.setProperty(OutputKeys.STANDALONE, NO_STRING);	third.setProperty(OutputKeys.VERSION, "1.0");	// Level2: Return the property value is set in the translet	// Creating these properties with the third-level properties as default	Properties second = new Properties(third);	if (_translet != null) {	    String value = _translet._encoding;	    if (value != null) second.setProperty(OutputKeys.ENCODING, value);	    value = _translet._method;	    if (value != null) second.setProperty(OutputKeys.METHOD, value);	    value = (new Boolean(_translet._indent)).toString();	    if (value != null) second.setProperty(OutputKeys.INDENT, value);	    value = _translet._doctypePublic;	    if (value != null) 		second.setProperty(OutputKeys.DOCTYPE_PUBLIC, value);	    value = _translet._doctypeSystem;	    if (value != null) 		second.setProperty(OutputKeys.DOCTYPE_SYSTEM, value);	    value = makeCDATAString(_translet._cdata);	    if (value != null) 		second.setProperty(OutputKeys.CDATA_SECTION_ELEMENTS,value);	    value = _translet._mediaType;	    if (value != null) second.setProperty(OutputKeys.MEDIA_TYPE, value);	    value = (new Boolean(_translet._omitHeader)).toString();	    if (value != null) 		second.setProperty(OutputKeys.OMIT_XML_DECLARATION, value);	    value = _translet._standalone;	    if (value != null) second.setProperty(OutputKeys.STANDALONE, value);	    value = _translet._version;	    if (value != null) second.setProperty(OutputKeys.VERSION, value);	}	// Creating the properties with the second-level properties as default	return(new Properties(second));    }