A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse.xml.core / src / net / sourceforge / phpeclipse / xml / core / model / IXMLDocument.java
1 /*
2  * Copyright (c) 2004 Christopher Lenz and others
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  * 
8  * Contributors:
9  *     Christopher Lenz - initial API
10  * 
11  * $Id: IXMLDocument.java,v 1.1 2004-09-02 18:26:55 jsurfer Exp $
12  */
13
14 package net.sourceforge.phpeclipse.xml.core.model;
15
16 import net.sourceforge.phpeclipse.core.model.ISourceReference;
17 import net.sourceforge.phpeclipse.xml.core.parser.IProblemCollector;
18
19 import org.eclipse.core.resources.IFile;
20
21 /**
22  * 
23  */
24 public interface IXMLDocument extends ISourceReference {
25
26         /**
27          * Returns the root element of the document.
28          * 
29          * @return the document element
30          */
31         IXMLElement getRoot();
32
33         /**
34          * Returns the system ID of the document.
35          * 
36          * @return the system ID
37          */
38         String getSystemId();
39
40         void reconcile(IProblemCollector collector, IFile file);
41
42 }