result.setOutputStream(_ostream);
}
return result;
case DOM :
_handler = (_node != null) ? new SAX2DOM(_node, _nextSibling, _useServicesMechanism) : new SAX2DOM(_useServicesMechanism);
_lexHandler = (LexicalHandler) _handler;
// falls through
case STAX :
if (_xmlStAXEventWriter != null) {
_handler = new SAX2StAXEventWriter(_xmlStAXEventWriter);