public class XmlExporterImpl extends Object implements XmlExporter
| Constructor and Description |
|---|
XmlExporterImpl(ItemFacade itemFacade,
XmlValidator xmlValidator)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Document |
exportXmlToDoc()
Exports all items in database to xml file
|
String |
exportXmlToString()
Exports all items in database to string with XML
|
public XmlExporterImpl(ItemFacade itemFacade, XmlValidator xmlValidator)
itemFacade - item facadexmlValidator - xml validatorpublic Document exportXmlToDoc() throws ParserConfigurationException
XmlExporterexportXmlToDoc in interface XmlExporterParserConfigurationException - I have no idea why this could happenpublic String exportXmlToString() throws XmlValidationException
XmlExporterexportXmlToString in interface XmlExporterXmlValidationException - if there are problems while validating XMLCopyright © 2017 Pivotal Software, Inc.. All rights reserved.