returns first value that matches creative commons ` shibboleth ' , or null if no matching values . nb : this method will succeed only for metadata fields holding cc uris concode_field_sep ItemService itemService concode_elem_sep String[] params concode_elem_sep String ccShib concode_field_sep String keyedItemValue concode_elem_sep void addItemValue concode_elem_sep void removeItemValue
String function ( Item arg0 ) { List < MetadataValue > loc0 = itemService . getMetadata ( arg0 , params [ 0 ] , params [ 1 ] , params [ 2 ] , params [ 3 ] ) ; for ( MetadataValue loc1 : loc0 ) { if ( ( loc1 . getValue ( ) ) . indexOf ( ccShib ) != - 1 ) { return loc1 . getValue ( ) ; } } return null ; }