com.openindex.openestate.impl
Class OpenEstateConverter

java.lang.Object
  extended by com.openindex.openestate.impl.OpenEstateConverter
Direct Known Subclasses:
CSVReader, CSVWriter, ImmobiliareReader, ImmobiliareWriter, ImmoXmlReader, ImmoXmlWriter, IS24XmlReader, IS24XmlWriter, KyeroReader, KyeroWriter, OpenImmoReader, OpenImmoWriter, TrovitWriter, WisITWriter

public abstract class OpenEstateConverter
extends Object

Hauptklasse eines OpenEstate-Konverters.
$Id: OpenEstateConverter.java 1852 2012-10-20 12:24:51Z andy $

Author:
Andreas Rudolph

Constructor Summary
protected OpenEstateConverter()
           
 
Method Summary
 Map<String,String> getErrorMap()
           
 Object getEstateValue(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 BigDecimal getEstateValueAsBigDecimal(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 BigInteger getEstateValueAsBigInteger(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 Boolean getEstateValueAsBoolean(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 Calendar getEstateValueAsCalendar(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 Date getEstateValueAsDate(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 Double getEstateValueAsDouble(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 Float getEstateValueAsFloat(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 Integer getEstateValueAsInteger(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 List<String> getEstateValueAsList(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 Long getEstateValueAsLong(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 String getEstateValueAsNonEmptyString(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 String getEstateValueAsString(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 String getFormattedEstateValue(String srcGroup, String srcAttrib, EstateImpl srcEstate)
           
 Number getNumber(String val)
           
 Locale getOpenEstateLanguage()
           
 String getXmlLineSeparator()
           
 Boolean hasEstateValue(String srcGroup, String srcAttrib, Object value, EstateImpl srcEstate)
           
 void putErrors(String id, List<String> errors)
           
 void putEstateValue(String destGroup, String destAttrib, Object value, EstateImpl destEstate)
           
 void putEstateValue(String destGroup, String destAttrib, Object value, EstateImpl destEstate, Locale locale)
           
 void setOpenEstateLanguage(Locale lang)
           
 void setXmlLineSeparator(String ln)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenEstateConverter

protected OpenEstateConverter()
Method Detail

getErrorMap

public Map<String,String> getErrorMap()

getOpenEstateLanguage

public Locale getOpenEstateLanguage()

getEstateValue

public Object getEstateValue(String srcGroup,
                             String srcAttrib,
                             EstateImpl srcEstate)

getEstateValueAsBigDecimal

public BigDecimal getEstateValueAsBigDecimal(String srcGroup,
                                             String srcAttrib,
                                             EstateImpl srcEstate)

getEstateValueAsBigInteger

public BigInteger getEstateValueAsBigInteger(String srcGroup,
                                             String srcAttrib,
                                             EstateImpl srcEstate)

getEstateValueAsBoolean

public Boolean getEstateValueAsBoolean(String srcGroup,
                                       String srcAttrib,
                                       EstateImpl srcEstate)

getEstateValueAsCalendar

public Calendar getEstateValueAsCalendar(String srcGroup,
                                         String srcAttrib,
                                         EstateImpl srcEstate)

getEstateValueAsDate

public Date getEstateValueAsDate(String srcGroup,
                                 String srcAttrib,
                                 EstateImpl srcEstate)

getEstateValueAsDouble

public Double getEstateValueAsDouble(String srcGroup,
                                     String srcAttrib,
                                     EstateImpl srcEstate)

getEstateValueAsFloat

public Float getEstateValueAsFloat(String srcGroup,
                                   String srcAttrib,
                                   EstateImpl srcEstate)

getEstateValueAsInteger

public Integer getEstateValueAsInteger(String srcGroup,
                                       String srcAttrib,
                                       EstateImpl srcEstate)

getEstateValueAsList

public List<String> getEstateValueAsList(String srcGroup,
                                         String srcAttrib,
                                         EstateImpl srcEstate)

getEstateValueAsLong

public Long getEstateValueAsLong(String srcGroup,
                                 String srcAttrib,
                                 EstateImpl srcEstate)

getEstateValueAsNonEmptyString

public String getEstateValueAsNonEmptyString(String srcGroup,
                                             String srcAttrib,
                                             EstateImpl srcEstate)

getEstateValueAsString

public String getEstateValueAsString(String srcGroup,
                                     String srcAttrib,
                                     EstateImpl srcEstate)

getFormattedEstateValue

public String getFormattedEstateValue(String srcGroup,
                                      String srcAttrib,
                                      EstateImpl srcEstate)

getNumber

public Number getNumber(String val)

getXmlLineSeparator

public String getXmlLineSeparator()

hasEstateValue

public Boolean hasEstateValue(String srcGroup,
                              String srcAttrib,
                              Object value,
                              EstateImpl srcEstate)

putErrors

public void putErrors(String id,
                      List<String> errors)

putEstateValue

public void putEstateValue(String destGroup,
                           String destAttrib,
                           Object value,
                           EstateImpl destEstate)

putEstateValue

public void putEstateValue(String destGroup,
                           String destAttrib,
                           Object value,
                           EstateImpl destEstate,
                           Locale locale)

setOpenEstateLanguage

public void setOpenEstateLanguage(Locale lang)

setXmlLineSeparator

public void setXmlLineSeparator(String ln)


Copyright © 2012 OpenEstate. All Rights Reserved.