Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: javax/ide/model/spi/DocumentImpl.java


1   package javax.ide.model.spi;
2   import java.io.IOException;
3   import java.io.Reader;
4   
5   import java.net.URI;
6   
7   import javax.ide.model.DocumentListener;
8   
9   public interface DocumentImpl extends ElementImpl
10  {
11    public URI getURI();
12    
13    public void setURI( URI uri );
14    
15    public boolean isOpen();
16    
17    public boolean isNew();
18    
19    public void open() throws IOException;
20    
21    public void close() throws IOException;
22    
23    public void save() throws IOException;
24    
25    public boolean isReadOnly();
26    
27    public boolean isDirty();
28    
29    public void markDirty( boolean dirty );
30    
31    public long getTimestamp();
32    
33    public Reader getReader() throws IOException;
34    
35    public void addDocumentListener( DocumentListener dl );
36    
37    public void removeDocumentListener( DocumentListener dl );
38  }