if (null != out) {
if(!(out instanceof FastBufferOutputStream)) {
FastBufferOutputStream bout = new FastBufferOutputStream();
pprint(((DOMNodeImpl) node).adaptee, OutFactory.getOut(
this.configuration, bout));
bout.writeTo(out);
} else {
pprint(((DOMNodeImpl) node).adaptee, OutFactory.getOut(
this.configuration, out));
}
}