public SAXEncoder createEXIWriter() throws EXIException {
		final FidelityOptions fidelityOptions = exiFactory.getFidelityOptions();
		if (fidelityOptions.isFidelityEnabled(FidelityOptions.FEATURE_PREFIX)
				|| fidelityOptions
						.isFidelityEnabled(FidelityOptions.FEATURE_COMMENT)
				|| fidelityOptions
						.isFidelityEnabled(FidelityOptions.FEATURE_PI)
				|| fidelityOptions
						.isFidelityEnabled(FidelityOptions.FEATURE_DTD)) {
			return new SAXEncoderExtendedHandler(exiFactory);
		} else {
			return new SAXEncoder(exiFactory);
		}
	}
public SAXEncoder createEXIWriter ( ) throws EXIException { final FidelityOptions fidelityOptions = exiFactory . getFidelityOptions ( ) ; if ( fidelityOptions . isFidelityEnabled ( FidelityOptions . FEATURE_PREFIX ) || fidelityOptions . isFidelityEnabled ( FidelityOptions . FEATURE_COMMENT ) || fidelityOptions . isFidelityEnabled ( FidelityOptions . FEATURE_PI ) || fidelityOptions . isFidelityEnabled ( FidelityOptions . FEATURE_DTD ) ) { return new SAXEncoderExtendedHandler ( exiFactory ) ; } else { return new SAXEncoder ( exiFactory ) ; } }
Returns a <code>SAXEncoder</code> that implements
<code>DefaultHandler2</code>

<p>
Note that the output stream MUST be set.
</p>

@return writer using the previously set coding options.
@throws EXIException
EXI exception