MultiPageEditorContributor.getXMLindent()).toString());
xmlSerializer.setIndent(true);
xmlSerializer.setWriter(writer);
ContentHandler contentHandler = xmlSerializer.getContentHandler();
contentHandler.startDocument();
XMLizable trueDescriptor = getTrueDescriptor();
if (trueDescriptor instanceof AnalysisEngineDescription) {
AnalysisEngineDescription aed = (AnalysisEngineDescription) trueDescriptor;
aed.toXML(contentHandler, true, true);
} else
trueDescriptor.toXML(contentHandler, true);
contentHandler.endDocument();
writer.close();
parsedText = writer.toString();
} catch (SAXException e) {