}
protected IEncodedDocument newEncodedDocument() {
IStructuredDocument structuredDocument = StructuredDocumentFactory.getNewStructuredDocumentInstance(getParser());
if (structuredDocument instanceof BasicStructuredDocument) {
((BasicStructuredDocument) structuredDocument).setReParser(new XMLStructuredDocumentReParser());
}
return structuredDocument;
}