returns the id for a particular cclicense label . returns an empty string if no match is found . concode_field_sep SAXBuilder parser concode_elem_sep List<String> lcFilter concode_elem_sep String rdfString concode_elem_sep boolean success concode_elem_sep String errorMessage concode_elem_sep String jurisdiction concode_elem_sep String cc_root concode_elem_sep List<CCLicense> licenses concode_elem_sep Logger log concode_elem_sep Document license_doc concode_elem_sep List<CCLicenseField> licenseFields concode_field_sep Collection<CCLicense> getLicenses concode_elem_sep void setSuccess concode_elem_sep void setErrorMessage concode_elem_sep org.jdom.Document getLicenseDocument concode_elem_sep void issue concode_elem_sep void issue concode_elem_sep String getLicenseUrl concode_elem_sep String getRdf concode_elem_sep Collection<CCLicenseField> getLicenseFields concode_elem_sep String getLicenseName concode_elem_sep boolean isSuccess concode_elem_sep String getErrorMessage
String function ( String arg0 ) { for ( int loc0 = 0 ; loc0 < this . licenses . size ( ) ; loc0 ++ ) { if ( ( ( CCLicense ) this . licenses . get ( loc0 ) ) . getLicenseName ( ) . equals ( arg0 ) ) { return ( ( CCLicense ) this . licenses . get ( loc0 ) ) . getLicenseId ( ) ; } } return "srini_string" ; }