Trovit/src/main/java/org/openestate/io/trovit/TrovitUtils.java
public static String printPlotAreaValue(BigInteger value) {
        if (value == null)
            throw new IllegalArgumentException("Can't print empty plot area value!");
        if (value.compareTo(BigInteger.ONE) < 0)
            throw new IllegalArgumentException("Can't print floor plot value '" + value + "' because it is below 1!");
        if (value.compareTo(BigInteger.valueOf(1000000000L)) > 0)
            throw new IllegalArgumentException("Can't print floor plot value '" + value + "' because it is above 1000000000!");

        return DatatypeConverter.printInteger(value);
    }
public static String printPlotAreaValue(BigInteger value) {
        if (value == null)
            throw new IllegalArgumentException("Can't print empty plot area value!");
        if (value.compareTo(BigInteger.ONE) < 0)
            throw new IllegalArgumentException("Can't print floor plot value '" + value + "' because it is below 1!");
        if (value.compareTo(BigInteger.valueOf(1000000000L)) > 0)
            throw new IllegalArgumentException("Can't print floor plot value '" + value + "' because it is above 1000000000!");

        return DatatypeConverter.printInteger(value);
    }
Write a {@link BigInteger} value into XML output for a plot area.

@param value value to write
@return XML string
@throws IllegalArgumentException if a validation error occurred