public interface InvCatalogConvertIF
InvCatalogFactory
Modifier and Type | Method and Description |
---|---|
InvCatalogImpl |
parseXML(InvCatalogFactory fac,
org.jdom2.Document doc,
java.net.URI uri)
Create an InvCatalogImpl from a parsed document tree.
|
void |
writeXML(InvCatalogImpl catalog,
java.io.OutputStream os)
Write the catalog as an XML document to the specified stream.
|
void |
writeXML(InvCatalogImpl catalog,
java.io.OutputStream os,
boolean raw) |
InvCatalogImpl parseXML(InvCatalogFactory fac, org.jdom2.Document doc, java.net.URI uri)
fac
- use this factorydoc
- : a parsed document tree.uri
- : the URI for the document.void writeXML(InvCatalogImpl catalog, java.io.OutputStream os) throws java.io.IOException
catalog
- write this catalogos
- write to this OutputStreamjava.io.IOException
- on errorvoid writeXML(InvCatalogImpl catalog, java.io.OutputStream os, boolean raw) throws java.io.IOException
java.io.IOException