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 classImmobiliareXmlFormat.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 ImmobiliareItWriterbuildWriter()StringcalculateHashForObject(long estateId, EstateImpl estateItem)protected org.openestate.io.immobiliare_it.xml.FeedconvertXml(TransferImpl element, ExportContext context)AbstractFormatPanelcreateSetupPanel()URIgetImmobiliareBaseUrl()StringgetImmobiliarePublisherMail()StringgetName()AbstractFormat.TransferMode[]getSupportedTransferModes()StringgetTitle()StringgetVersion()protected StringgetXmlFileName(ExportContext context)voidinitDefaults()booleanisFullTransportWarningShown()booleanprepareObjectForExport(long estateId, EstateImpl estate)voidsetImmobiliareBaseUrl(URI val)voidsetImmobiliarePublisherMail(String val)protected voidwriteXmlObject(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:
calculateHashForObjectin classAbstractFormat- Throws:
AbstractFormat.NotExportableExceptionAbstractFormat.HashCalculationException
-
convertXml
protected org.openestate.io.immobiliare_it.xml.Feed convertXml(TransferImpl element, ExportContext context)
- Specified by:
convertXmlin classAbstractXmlFormat<org.openestate.io.immobiliare_it.xml.Feed>
-
createSetupPanel
public AbstractFormatPanel createSetupPanel()
- Specified by:
createSetupPanelin classAbstractFormat
-
getImmobiliareBaseUrl
public URI getImmobiliareBaseUrl()
-
getImmobiliarePublisherMail
public String getImmobiliarePublisherMail()
-
getName
public String getName()
- Specified by:
getNamein classAbstractFormat
-
getSupportedTransferModes
public AbstractFormat.TransferMode[] getSupportedTransferModes()
- Specified by:
getSupportedTransferModesin classAbstractFormat
-
getTitle
public String getTitle()
- Specified by:
getTitlein classAbstractFormat
-
getVersion
public String getVersion()
- Overrides:
getVersionin classAbstractFormat
-
getXmlFileName
protected String getXmlFileName(ExportContext context)
- Overrides:
getXmlFileNamein classAbstractXmlFormat<org.openestate.io.immobiliare_it.xml.Feed>
-
initDefaults
public void initDefaults()
- Overrides:
initDefaultsin classAbstractXmlFormat<org.openestate.io.immobiliare_it.xml.Feed>
-
isFullTransportWarningShown
public boolean isFullTransportWarningShown()
- Overrides:
isFullTransportWarningShownin classAbstractFormat
-
prepareObjectForExport
public boolean prepareObjectForExport(long estateId, EstateImpl estate)- Overrides:
prepareObjectForExportin 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:
writeXmlObjectin classAbstractXmlFormat<org.openestate.io.immobiliare_it.xml.Feed>- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
-