Method Summary |
|
public boolean | addAllEntries(List<Entry> list) |
public boolean | addEntry(Entry entry) |
public void | clear() |
public static FileObject | getCatalogWSDLFile(Project project) finds the catalog wsdl file in the project and return the corresponding
file object.
Parameters: project - project in which the catalog file should be looked up. |
public static CatalogWSDLSerializer | getCatalogWSDLSerializer() return the current serializer. |
public List<Entry> | getEntries() |
public List<Entry> | getEntries(EntryType type) return the list of entries of type either wsdl or xsd imports
Parameters: type - WSDL or XSD. |
public List<Entry> | getEntries(String namespace) |
public Entry | getEntry(EntryType type, String namespace, String location) finds the entry in the catalog. |
public static CatalogWSDL | loadCatalogWSDL(FileObject fromDir) reads the catalog.xml file from a specified directory and return the
in memory representation of it. |
public static CatalogWSDL | loadCatalogWSDL(Project project) |
public boolean | removeEntry(Entry entry) |
public static void | saveCatalogWSDL(CatalogWSDL catalog, FileObject destDir) writes the in memory model to the catalog.wsdl file in a destination directory. |
public static void | saveCatalogWSDL(CatalogWSDL catalog, Project project) saves the memory model of the catalog wsdl a location in a project. |
public static void | setCatalogWSDLSerializer(CatalogWSDLSerializer serializer) set the static reference to the serializer that can be used
to serialize/deserialze the model to/from file. |