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
XmlExporter
exportXmlToDoc
in interface XmlExporter
ParserConfigurationException
- I have no idea why this could happenpublic String exportXmlToString() throws XmlValidationException
XmlExporter
exportXmlToString
in interface XmlExporter
XmlValidationException
- if there are problems while validating XMLCopyright © 2017 Pivotal Software, Inc.. All rights reserved.