com.openindex.openestate.impl.xml
Class ImmobiliareUtils

java.lang.Object
  extended by com.openindex.openestate.impl.xml.ImmobiliareUtils

public class ImmobiliareUtils
extends Object

Hilfsfunktionen für Immobiliare-it.
siehe feed.immobiliare.it/import/docs/xml-specification.html
siehe feed.immobiliare.it/import/docs/xsd/v2.2.xsd
siehe feed.immobiliare.it/import/docs/validator.php
$Id: ImmobiliareUtils.java 1471 2012-04-07 16:36:32Z andy $

Author:
Andreas Rudolph

Nested Class Summary
static class ImmobiliareUtils.Category
           
static class ImmobiliareUtils.EnergyUnit
           
static class ImmobiliareUtils.LandSizeUnit
           
static class ImmobiliareUtils.SizeUnit
           
static class ImmobiliareUtils.Transaction
           
 
Field Summary
static String NAMESPACE
           
static String PACKAGE
           
static String VERSION
           
 
Method Summary
static Marshaller createMarshaller()
           
static Marshaller createMarshaller(String encoding, boolean formatted)
           
static Unmarshaller createUnmarshaller()
           
static JAXBContext getContext()
           
static ObjectFactory getFactory()
           
static boolean isValidDateUpdatedType(Calendar value)
           
static boolean isValidEmailType(String value)
           
static boolean isValidLatitude(Double value)
           
static boolean isValidLongitude(Double value)
           
static boolean isValidRooms(Integer value)
           
static boolean isValidYear(Integer value)
           
static ImmobiliareUtils.Category parseCategory(String value)
           
static Currency parseCurrency(String value)
           
static String parseEmailType(String value)
           
static ImmobiliareUtils.EnergyUnit parseEnergyUnit(String value)
           
static ImmobiliareUtils.LandSizeUnit parseLandSizeUnit(String value)
           
static Double parseLatitude(String value)
           
static Double parseLongitude(String value)
           
static Integer parseRooms(String value)
           
static ImmobiliareUtils.SizeUnit parseSizeUnit(String value)
           
static String parseText2(String value)
           
static String parseText3000(String value)
           
static ImmobiliareUtils.Transaction parseTransaction(String value)
           
static Integer parseYear(String value)
           
static Boolean parseYesNo(String value)
           
static Boolean parseYN(String value)
           
static String printCategory(ImmobiliareUtils.Category value)
           
static String printCurrency(Currency value)
           
static String printDateUpdatedType(Calendar value)
           
static String printEmailType(String value)
           
static String printEnergyUnit(ImmobiliareUtils.EnergyUnit value)
           
static String printLandSizeUnit(ImmobiliareUtils.LandSizeUnit value)
           
static String printLatitude(Double value)
           
static String printLongitude(Double value)
           
static String printRooms(Integer value)
           
static String printSizeUnit(ImmobiliareUtils.SizeUnit value)
           
static String printText2(String value)
           
static String printText3000(String value)
           
static String printTransaction(ImmobiliareUtils.Transaction value)
           
static String printYear(Integer value)
           
static String printYesNo(Boolean value)
           
static String printYN(Boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE

public static final String NAMESPACE
See Also:
Constant Field Values

PACKAGE

public static final String PACKAGE
See Also:
Constant Field Values

VERSION

public static final String VERSION
See Also:
Constant Field Values
Method Detail

createMarshaller

public static Marshaller createMarshaller()
                                   throws JAXBException
Throws:
JAXBException

createMarshaller

public static Marshaller createMarshaller(String encoding,
                                          boolean formatted)
                                   throws JAXBException
Throws:
JAXBException

createUnmarshaller

public static Unmarshaller createUnmarshaller()
                                       throws JAXBException
Throws:
JAXBException

getContext

public static JAXBContext getContext()
                              throws JAXBException
Throws:
JAXBException

getFactory

public static ObjectFactory getFactory()

isValidDateUpdatedType

public static boolean isValidDateUpdatedType(Calendar value)

isValidEmailType

public static boolean isValidEmailType(String value)

isValidLatitude

public static boolean isValidLatitude(Double value)

isValidLongitude

public static boolean isValidLongitude(Double value)

isValidRooms

public static boolean isValidRooms(Integer value)

isValidYear

public static boolean isValidYear(Integer value)

parseCategory

public static ImmobiliareUtils.Category parseCategory(String value)

parseCurrency

public static Currency parseCurrency(String value)

parseEmailType

public static String parseEmailType(String value)

parseEnergyUnit

public static ImmobiliareUtils.EnergyUnit parseEnergyUnit(String value)

parseLandSizeUnit

public static ImmobiliareUtils.LandSizeUnit parseLandSizeUnit(String value)

parseLatitude

public static Double parseLatitude(String value)

parseLongitude

public static Double parseLongitude(String value)

parseRooms

public static Integer parseRooms(String value)

parseSizeUnit

public static ImmobiliareUtils.SizeUnit parseSizeUnit(String value)

parseText2

public static String parseText2(String value)

parseText3000

public static String parseText3000(String value)

parseTransaction

public static ImmobiliareUtils.Transaction parseTransaction(String value)

parseYear

public static Integer parseYear(String value)

parseYesNo

public static Boolean parseYesNo(String value)

parseYN

public static Boolean parseYN(String value)

printCategory

public static String printCategory(ImmobiliareUtils.Category value)

printCurrency

public static String printCurrency(Currency value)

printDateUpdatedType

public static String printDateUpdatedType(Calendar value)

printEmailType

public static String printEmailType(String value)

printEnergyUnit

public static String printEnergyUnit(ImmobiliareUtils.EnergyUnit value)

printLandSizeUnit

public static String printLandSizeUnit(ImmobiliareUtils.LandSizeUnit value)

printLatitude

public static String printLatitude(Double value)

printLongitude

public static String printLongitude(Double value)

printRooms

public static String printRooms(Integer value)

printSizeUnit

public static String printSizeUnit(ImmobiliareUtils.SizeUnit value)

printText2

public static String printText2(String value)

printText3000

public static String printText3000(String value)

printTransaction

public static String printTransaction(ImmobiliareUtils.Transaction value)

printYear

public static String printYear(Integer value)

printYesNo

public static String printYesNo(Boolean value)

printYN

public static String printYN(Boolean value)


Copyright © 2012 OpenEstate. All Rights Reserved.