DocType
- ...XmlType
- ...public abstract class AbstractXmlWriter<DocType extends org.openestate.io.core.XmlDocument,XmlType> extends AbstractConverter
Constructor and Description |
---|
AbstractXmlWriter() |
Modifier and Type | Method and Description |
---|---|
protected abstract XmlType |
convertToXmlObject(AgencyImpl agency) |
protected abstract XmlType |
convertToXmlObject(TransferImpl transfer) |
protected abstract DocType |
createXmlDocument(XmlType obj) |
String |
getXmlLineSeparator() |
void |
setXmlLineSeparator(String ln) |
void |
write(AgencyImpl agency,
File output) |
void |
write(AgencyImpl agency,
File output,
boolean prettyPrint) |
void |
write(AgencyImpl agency,
OutputStream output) |
void |
write(AgencyImpl agency,
OutputStream output,
boolean prettyPrint) |
void |
write(AgencyImpl agency,
Writer output) |
void |
write(AgencyImpl agency,
Writer output,
boolean prettyPrint) |
void |
write(TransferImpl transfer,
File output) |
void |
write(TransferImpl transfer,
File output,
boolean prettyPrint) |
void |
write(TransferImpl transfer,
OutputStream output) |
void |
write(TransferImpl transfer,
OutputStream output,
boolean prettyPrint) |
void |
write(TransferImpl transfer,
Writer output) |
void |
write(TransferImpl transfer,
Writer output,
boolean prettyPrint) |
XmlType |
writeToObject(AgencyImpl agency) |
XmlType |
writeToObject(TransferImpl transfer) |
String |
writeToString(AgencyImpl agency) |
String |
writeToString(AgencyImpl agency,
boolean prettyPrint) |
String |
writeToString(TransferImpl transfer) |
String |
writeToString(TransferImpl transfer,
boolean prettyPrint) |
createEmptyAgency, createEmptyAgent, createEmptyAttachment, createEmptyContact, createEmptyEstate, createEmptyLink, createEmptyTransfer, createEmptyTransferAgency, getErrorMap, getErrorMessages, getErrors, getOpenEstateLanguage, putError, putErrors, setOpenEstateLanguage
protected abstract XmlType convertToXmlObject(AgencyImpl agency)
protected abstract XmlType convertToXmlObject(TransferImpl transfer)
protected abstract DocType createXmlDocument(XmlType obj) throws ParserConfigurationException, JAXBException
public String getXmlLineSeparator()
public void setXmlLineSeparator(String ln)
public final void write(AgencyImpl agency, File output) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public void write(AgencyImpl agency, File output, boolean prettyPrint) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public final void write(AgencyImpl agency, OutputStream output) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public void write(AgencyImpl agency, OutputStream output, boolean prettyPrint) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public final void write(AgencyImpl agency, Writer output) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public void write(AgencyImpl agency, Writer output, boolean prettyPrint) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public final void write(TransferImpl transfer, File output) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public void write(TransferImpl transfer, File output, boolean prettyPrint) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public final void write(TransferImpl transfer, OutputStream output) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public void write(TransferImpl transfer, OutputStream output, boolean prettyPrint) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public final void write(TransferImpl transfer, Writer output) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public void write(TransferImpl transfer, Writer output, boolean prettyPrint) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public XmlType writeToObject(AgencyImpl agency)
public XmlType writeToObject(TransferImpl transfer)
public final String writeToString(AgencyImpl agency) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public final String writeToString(AgencyImpl agency, boolean prettyPrint) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public final String writeToString(TransferImpl transfer) throws TransformerException, IOException, ParserConfigurationException, JAXBException
public final String writeToString(TransferImpl transfer, boolean prettyPrint) throws TransformerException, IOException, ParserConfigurationException, JAXBException
Copyright © 2019 OpenEstate. All rights reserved.