Class ImmobiliareXmlFormat
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,String>
-
- com.openindex.openestate.tool.agency.export.AbstractFormat
-
- com.openindex.openestate.tool.agency.export.AbstractXmlFormat<org.openestate.io.immobiliare_it.xml.Feed>
-
- com.openindex.openestate.tool.agency.export.ImmobiliareXmlFormat
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,String>
public class ImmobiliareXmlFormat extends AbstractXmlFormat<org.openestate.io.immobiliare_it.xml.Feed>
ImmobiliareXmlFormat.siehe http://feed.immobiliare.it/import/docs/xml-specification.html
siehe http://feed.immobiliare.it/import/docs/xsd/v1.5.xsd
siehe http://feed.immobiliare.it/import/docs/validator.php- Author:
- Andreas Rudolph
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmobiliareXmlFormat.Writer
-
Nested classes/interfaces inherited from class com.openindex.openestate.tool.agency.export.AbstractXmlFormat
AbstractXmlFormat.LineBreakMode
-
Nested classes/interfaces inherited from class com.openindex.openestate.tool.agency.export.AbstractFormat
AbstractFormat.AttachmentMarker, AbstractFormat.AttachmentMode, AbstractFormat.Compression, AbstractFormat.DefaultMessageCode, AbstractFormat.HashCalculationException, AbstractFormat.ImageWatermarkPosition, AbstractFormat.NotExportableException, AbstractFormat.TransferMode
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description ImmobiliareXmlFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ImmobiliareItWriter
buildWriter()
String
calculateHashForObject(long estateId, EstateImpl estateItem)
protected org.openestate.io.immobiliare_it.xml.Feed
convertXml(TransferImpl element, ExportContext context)
AbstractFormatPanel
createSetupPanel()
URI
getImmobiliareBaseUrl()
String
getImmobiliarePublisherMail()
String
getName()
AbstractFormat.TransferMode[]
getSupportedTransferModes()
String
getTitle()
String
getVersion()
protected String
getXmlFileName(ExportContext context)
void
initDefaults()
boolean
isFullTransportWarningShown()
boolean
prepareObjectForExport(long estateId, EstateImpl estate)
void
setImmobiliareBaseUrl(URI val)
void
setImmobiliarePublisherMail(String val)
protected void
writeXmlObject(org.openestate.io.immobiliare_it.xml.Feed obj, Writer writer)
-
Methods inherited from class com.openindex.openestate.tool.agency.export.AbstractXmlFormat
getSupportedTransports, getXmlLineBreak, setXmlLineBreak, writeToDisk
-
Methods inherited from class com.openindex.openestate.tool.agency.export.AbstractFormat
canPublishAttachment, canPublishLink, createExportProcess, createExportRequests, equals, getAgentId, getAgentMail, getAttachmentDirectory, getAttachmentImageScaleHeight, getAttachmentImageScaleWidth, getAttachmentMimeTypes, getAttachmentMode, getCompressedFileName, getCompression, getFormat, getFormats, getLanguage, getLanguages, getMessageCodeTranslation, getMessageCodeTranslation, getObjectKey, getObjectKey, getPreferredMimeTypes, getPropertyAddressPublication, getPropertyFilePublication, getPropertyImageLimit, getPropertyImageWatermarkAlpha, getPropertyImageWatermarkHeight, getPropertyImageWatermarkMargin, getPropertyImageWatermarkPosition, getPropertyImageWatermarkWidth, getPropertyLinkPublication, getPropertyPrefix, getPropertyPricePublication, getPropertyVideoLimit, getSupportedMimeTypes, hashCode, hasLanguage, isAttachmentImageScale, isFullTransferSupported, isIncrementalTransferSupported, isPropertyAddressHiddenIfUnpublished, isPropertyDescriptionWithEnergyCertificate, isPropertyFileHiddenIfUnpublished, isPropertyImageWatermark, isPropertyLinkHiddenIfUnpublished, isPropertyPriceHiddenIfUnpublished, isPropertyPublicId, listAvailableExports, setAgentId, setAgentMail, setAttachmentImageScale, setAttachmentImageScaleHeight, setAttachmentImageScaleWidth, setAttachmentMimeTypes, setAttachmentMode, setCompression, setLanguage, setLanguages, setPropertyAddressHiddenIfUnpublished, setPropertyAddressPublication, setPropertyDescriptionWithEnergyCertificate, setPropertyFileHiddenIfUnpublished, setPropertyFilePublication, setPropertyImageLimit, setPropertyImageWatermark, setPropertyImageWatermarkAlpha, setPropertyImageWatermarkHeight, setPropertyImageWatermarkMargin, setPropertyImageWatermarkPosition, setPropertyImageWatermarkWidth, setPropertyLinkHiddenIfUnpublished, setPropertyLinkPublication, setPropertyPrefix, setPropertyPriceHiddenIfUnpublished, setPropertyPricePublication, setPropertyPublicId, setPropertyVideoLimit
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
toString
-
-
-
-
Field Detail
-
GEODB
public static final String GEODB
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildWriter
protected ImmobiliareItWriter buildWriter()
-
calculateHashForObject
public String calculateHashForObject(long estateId, EstateImpl estateItem) throws AbstractFormat.NotExportableException, AbstractFormat.HashCalculationException
- Overrides:
calculateHashForObject
in classAbstractFormat
- Throws:
AbstractFormat.NotExportableException
AbstractFormat.HashCalculationException
-
convertXml
protected org.openestate.io.immobiliare_it.xml.Feed convertXml(TransferImpl element, ExportContext context)
- Specified by:
convertXml
in classAbstractXmlFormat<org.openestate.io.immobiliare_it.xml.Feed>
-
createSetupPanel
public AbstractFormatPanel createSetupPanel()
- Specified by:
createSetupPanel
in classAbstractFormat
-
getImmobiliareBaseUrl
public URI getImmobiliareBaseUrl()
-
getImmobiliarePublisherMail
public String getImmobiliarePublisherMail()
-
getName
public String getName()
- Specified by:
getName
in classAbstractFormat
-
getSupportedTransferModes
public AbstractFormat.TransferMode[] getSupportedTransferModes()
- Specified by:
getSupportedTransferModes
in classAbstractFormat
-
getTitle
public String getTitle()
- Specified by:
getTitle
in classAbstractFormat
-
getVersion
public String getVersion()
- Overrides:
getVersion
in classAbstractFormat
-
getXmlFileName
protected String getXmlFileName(ExportContext context)
- Overrides:
getXmlFileName
in classAbstractXmlFormat<org.openestate.io.immobiliare_it.xml.Feed>
-
initDefaults
public void initDefaults()
- Overrides:
initDefaults
in classAbstractXmlFormat<org.openestate.io.immobiliare_it.xml.Feed>
-
isFullTransportWarningShown
public boolean isFullTransportWarningShown()
- Overrides:
isFullTransportWarningShown
in classAbstractFormat
-
prepareObjectForExport
public boolean prepareObjectForExport(long estateId, EstateImpl estate)
- Overrides:
prepareObjectForExport
in classAbstractFormat
-
setImmobiliareBaseUrl
public void setImmobiliareBaseUrl(URI val)
-
setImmobiliarePublisherMail
public void setImmobiliarePublisherMail(String val)
-
writeXmlObject
protected void writeXmlObject(org.openestate.io.immobiliare_it.xml.Feed obj, Writer writer) throws IOException, javax.xml.bind.JAXBException
- Specified by:
writeXmlObject
in classAbstractXmlFormat<org.openestate.io.immobiliare_it.xml.Feed>
- Throws:
IOException
javax.xml.bind.JAXBException
-
-