question: private PrintElement createImageElement ( MPrintFormatItem item ) { Object obj = m_data . getNode ( new Integer ( item . getAD_Column_ID ( ) ) ) ; if ( obj == null ) return null ; else if ( obj instanceof PrintDataElement ) ; else { log . log ( Level . SEVERE , "Element not PrintDataElement " + obj . getClass ( ) ) ; return null ; } PrintDataElement data = ( PrintDataElement ) obj ; if ( data . isNull ( ) && item . isSuppressNull ( ) ) return null ; String url = data . getValueDisplay ( m_format . getLanguage ( ) ) ; if ( ( url == null || url . length ( ) == 0 ) ) { if ( item . isSuppressNull ( ) ) return null ; else return null ; } ImageElement element = null ; if ( data . getDisplayType ( ) == DisplayType . Image ) { element = ImageElement . get ( data , url ) ; } else { element = ImageElement . get ( url ) ; } return element ; }
target:  Create Image Element from item