1 19 20 package org.netbeans.modules.xml.retriever.catalog.impl; 21 22 import java.beans.PropertyChangeListener ; 23 import java.io.IOException ; 24 import java.util.List ; 25 import org.netbeans.modules.xml.xam.Model; 26 import org.netbeans.modules.xml.retriever.catalog.CatalogEntry; 27 28 32 public interface CatalogFileWrapper { 33 34 public List <CatalogEntry> getSystems(); 35 public void setSystem(int index, CatalogEntry catEnt) throws IOException ; 36 public void deleteSystem(int index) throws IOException ; 37 public void addSystem(CatalogEntry catEnt) throws IOException ; 38 39 public List <CatalogEntry> getRewriteSystems(); 40 public void setRewriteSystem(int index, CatalogEntry catEnt) throws IOException ; 41 public void deleteRewriteSystem(int index) throws IOException ; 42 public void addRewriteSystem(CatalogEntry catEnt) throws IOException ; 43 44 45 public List <CatalogEntry> getDelegateSystems() ; 46 public void setDelegateSystem(int index, CatalogEntry catEnt) throws IOException ; 47 public void deleteDelegateSystem(int index) throws IOException ; 48 public void addDelegateSystem(CatalogEntry catEnt) throws IOException ; 49 50 public void addPropertyChangeListener(PropertyChangeListener l); 52 53 public void removePropertyChangeListener(PropertyChangeListener l); 54 55 56 public void close(); 57 58 public void cleanInstance(); 59 60 public Model.State getCatalogState(); 61 62 public List <CatalogEntry> getNextCatalogs(); 63 public void addNextCatalog(CatalogEntry catEnt)throws IOException ; 64 public void deleteNextCatalog(int index)throws IOException ; 65 66 67 } 68 | Popular Tags |