public abstract class ComplexLengthAttrib extends ComplexAttrib<LengthValue>
Constructor and Description |
---|
ComplexLengthAttrib(OpenEstateAttrib attrib,
String[] countries) |
readFromXml, serializeToXml
getAttrib, getAttribGroup, getAttribName, getCountries, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getGroup, getGroupName, getTagName, getTranslation, getTranslation, hasEmptyValue, isCountrySpecific, isCountrySupported
public ComplexLengthAttrib(OpenEstateAttrib attrib, String[] countries)
public LengthValue getDefaultValue()
getDefaultValue
in class AbstractAttribImpl<LengthValue>
protected static LengthValue get(EstateImpl estate, OpenEstateAttrib attrib)
protected static LengthValue get(EstateImpl estate, OpenEstateAttrib attrib, LengthValue.Unit destUnit)
protected static BigDecimal getAsBigDecimal(EstateImpl estate, OpenEstateAttrib attrib, LengthValue.Unit destUnit)
protected static BigInteger getAsBigInteger(EstateImpl estate, OpenEstateAttrib attrib, LengthValue.Unit destUnit)
protected static Double getAsDouble(EstateImpl estate, OpenEstateAttrib attrib, LengthValue.Unit destUnit)
protected static Float getAsFloat(EstateImpl estate, OpenEstateAttrib attrib, LengthValue.Unit destUnit)
protected static Integer getAsInteger(EstateImpl estate, OpenEstateAttrib attrib, LengthValue.Unit destUnit)
protected static Long getAsLong(EstateImpl estate, OpenEstateAttrib attrib, LengthValue.Unit destUnit)
protected static String getAsString(EstateImpl estate, OpenEstateAttrib attrib, LengthValue.Unit destUnit)
protected static String getAsString(EstateImpl estate, OpenEstateAttrib attrib, LengthValue.Unit destUnit, Locale locale)
public final NumberFormat getFormat()
public final NumberFormat getFormat(Locale locale)
public String getFormattedValue(LengthValue value, Locale locale, String valueSeparator)
getFormattedValue
in class AbstractAttribImpl<LengthValue>
public LengthValue getValue()
getValue
in class AbstractAttribImpl<LengthValue>
protected LengthValue parseNode(org.dom4j.Element node)
parseNode
in class ComplexAttrib<LengthValue>
public LengthValue parseValue(Object value)
parseValue
in class ComplexAttrib<LengthValue>
protected static void put(EstateImpl estate, OpenEstateAttrib attrib, String value, LengthValue.Unit unit)
protected static void put(EstateImpl estate, OpenEstateAttrib attrib, Number value, LengthValue.Unit unit)
protected static void put(EstateImpl estate, OpenEstateAttrib attrib, LengthValue value)
public void setValue(LengthValue value)
setValue
in class AbstractAttribImpl<LengthValue>
protected void writeNode(org.dom4j.Element node, LengthValue value)
writeNode
in class ComplexAttrib<LengthValue>
Copyright © 2019 OpenEstate. All rights reserved.