DocType
- ...XmlType
- ...public abstract class AbstractXmlReader<DocType extends org.openestate.io.core.XmlDocument<XmlType>,XmlType> extends AbstractConverter
Constructor and Description |
---|
AbstractXmlReader() |
Modifier and Type | Method and Description |
---|---|
protected abstract AgencyImpl |
convertToAgency(XmlType src) |
protected abstract TransferImpl |
convertToTransfer(XmlType src) |
protected abstract DocType |
createXmlDocument(Document doc) |
protected DocType |
createXmlDocument(File xmlFile) |
protected DocType |
createXmlDocument(InputStream xmlInput) |
protected DocType |
createXmlDocument(String xmlString) |
protected boolean |
isNamespaceAware() |
AgencyImpl |
readAgency(DocType xmlDoc) |
AgencyImpl |
readAgency(File xmlFile) |
AgencyImpl |
readAgency(InputStream xmlInput) |
AgencyImpl |
readAgency(String xmlString) |
AgencyImpl |
readAgency(XmlType xml) |
TransferImpl |
readTransfer(DocType xmlDoc) |
TransferImpl |
readTransfer(File xmlFile) |
TransferImpl |
readTransfer(InputStream xmlInput) |
TransferImpl |
readTransfer(String xmlString) |
TransferImpl |
readTransfer(XmlType xml) |
createEmptyAgency, createEmptyAgent, createEmptyAttachment, createEmptyContact, createEmptyEstate, createEmptyLink, createEmptyTransfer, createEmptyTransferAgency, getErrorMap, getErrorMessages, getErrors, getOpenEstateLanguage, putError, putErrors, setOpenEstateLanguage
protected abstract AgencyImpl convertToAgency(XmlType src)
protected abstract TransferImpl convertToTransfer(XmlType src)
protected final DocType createXmlDocument(InputStream xmlInput) throws SAXException, IOException, ParserConfigurationException
protected final DocType createXmlDocument(File xmlFile) throws SAXException, IOException, ParserConfigurationException
protected final DocType createXmlDocument(String xmlString) throws SAXException, IOException, ParserConfigurationException
protected boolean isNamespaceAware()
public final AgencyImpl readAgency(InputStream xmlInput) throws SAXException, IOException, ParserConfigurationException, JAXBException
public final AgencyImpl readAgency(File xmlFile) throws SAXException, IOException, ParserConfigurationException, JAXBException
public final AgencyImpl readAgency(String xmlString) throws SAXException, IOException, ParserConfigurationException, JAXBException
public final AgencyImpl readAgency(DocType xmlDoc) throws JAXBException
JAXBException
public AgencyImpl readAgency(XmlType xml)
public final TransferImpl readTransfer(InputStream xmlInput) throws SAXException, IOException, ParserConfigurationException, JAXBException
public final TransferImpl readTransfer(File xmlFile) throws SAXException, IOException, ParserConfigurationException, JAXBException
public final TransferImpl readTransfer(String xmlString) throws SAXException, IOException, ParserConfigurationException, JAXBException
public final TransferImpl readTransfer(DocType xmlDoc) throws JAXBException
JAXBException
public TransferImpl readTransfer(XmlType xml)
Copyright © 2019 OpenEstate. All rights reserved.