Trovit/src/main/java/org/openestate/io/trovit/TrovitUtils.java
public static OrientationValue parseOrientationValue(String value) {
        value = StringUtils.trimToNull(value);
        if (value == null) return null;

        final OrientationValue orientation = OrientationValue.fromXmlValue(value);
        if (orientation != null) return orientation;

        throw new IllegalArgumentException("Can't parse orientation value '" + value + "'!");
    }
public static OrientationValue parseOrientationValue(String value) {
        value = StringUtils.trimToNull(value);
        if (value == null) return null;

        final OrientationValue orientation = OrientationValue.fromXmlValue(value);
        if (orientation != null) return orientation;

        throw new IllegalArgumentException("Can't parse orientation value '" + value + "'!");
    }
public static OrientationValue parseOrientationValue ( String value ) { value = StringUtils . trimToNull ( value ) ; if ( value == null ) return null ; final OrientationValue orientation = OrientationValue . fromXmlValue ( value ) ; if ( orientation != null ) return orientation ; throw new IllegalArgumentException ( "Can't parse orientation value '" + value + "'!" ) ; }
Read a {@link OrientationValue} value from XML.

@param value XML string
@return parsed value or null, if the value is invalid
Read a { @link OrientationValue } value from XML .