Search in sources :

Example 1 with XMLStructuredDocumentReParser

use of org.eclipse.wst.xml.core.internal.parser.XMLStructuredDocumentReParser in project webtools.sourceediting by eclipse.

the class HTMLDocumentLoader method newEncodedDocument.

/*
	 * @see AbstractLoader#createNewStructuredDocument()
	 */
protected IEncodedDocument newEncodedDocument() {
    IStructuredDocument structuredDocument = StructuredDocumentFactory.getNewStructuredDocumentInstance(getParser());
    ((BasicStructuredDocument) structuredDocument).setReParser(new XMLStructuredDocumentReParser());
    return structuredDocument;
}
Also used : BasicStructuredDocument(org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument) IStructuredDocument(org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument) XMLStructuredDocumentReParser(org.eclipse.wst.xml.core.internal.parser.XMLStructuredDocumentReParser)

Aggregations

IStructuredDocument (org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument)1 BasicStructuredDocument (org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument)1 XMLStructuredDocumentReParser (org.eclipse.wst.xml.core.internal.parser.XMLStructuredDocumentReParser)1