Package thredds.catalog
Interface InvCatalogConvertIF
-
- All Known Implementing Classes:
InvCatalogFactory10
public interface InvCatalogConvertIFConverts JDOM tree to Inventory Catalog Objects.- See Also:
InvCatalogFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InvCatalogImplparseXML(InvCatalogFactory fac, org.jdom2.Document doc, URI uri)Create an InvCatalogImpl from a parsed document tree.voidwriteXML(InvCatalogImpl catalog, OutputStream os)Write the catalog as an XML document to the specified stream.voidwriteXML(InvCatalogImpl catalog, OutputStream os, boolean raw)
-
-
-
Method Detail
-
parseXML
InvCatalogImpl parseXML(InvCatalogFactory fac, org.jdom2.Document doc, URI uri)
Create an InvCatalogImpl from a parsed document tree.- Parameters:
fac- use this factorydoc- : a parsed document tree.uri- : the URI for the document.- Returns:
- an InvCatalog object
-
writeXML
void writeXML(InvCatalogImpl catalog, OutputStream os) throws IOException
Write the catalog as an XML document to the specified stream.- Parameters:
catalog- write this catalogos- write to this OutputStream- Throws:
IOException- on error
-
writeXML
void writeXML(InvCatalogImpl catalog, OutputStream os, boolean raw) throws IOException
- Throws:
IOException
-
-