Trovit/src/main/java/org/openestate/io/trovit/TrovitUtils.java
public static String printContentValue(String value) {
        value = StringUtils.trimToNull(value);
        if (value == null)
            throw new IllegalArgumentException("Can't print empty content value!");
        if (value.length() < 30)
            throw new IllegalArgumentException("Can't print content value '" + value + "' because it is shorter than 30 characters!");

        return value;
    }
public static String printContentValue(String value) {
        value = StringUtils.trimToNull(value);
        if (value == null)
            throw new IllegalArgumentException("Can't print empty content value!");
        if (value.length() < 30)
            throw new IllegalArgumentException("Can't print content value '" + value + "' because it is shorter than 30 characters!");

        return value;
    }
public static String printContentValue ( String value ) { value = StringUtils . trimToNull ( value ) ; if ( value == null ) throw new IllegalArgumentException ( "Can't print empty content value!" ) ; if ( value . length ( ) < 30 ) throw new IllegalArgumentException ( "Can't print content value '" + value + "' because it is shorter than 30 characters!" ) ; return value ; }
Write a {@link String} value for a description into XML output.
<p>
The description must contain at least 30 characters.

@param value value to write
@return XML string
@throws IllegalArgumentException if a validation error occurred
Write a { @link String } value for a description into XML output . <p > The description must contain at least 30 characters .