return a default resourcepatternresolver for the given resourceloader . this might be the resourceloader itself , if it implements the resourcepatternresolver extension , or a pathmatchingresourcepatternresolver built on the given resourceloader . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isUrl
ResourcePatternResolver function ( ResourceLoader arg0 ) { if ( arg0 instanceof ResourcePatternResolver ) { return ( ResourcePatternResolver ) arg0 ; } else if ( arg0 != null ) { return new PathMatchingResourcePatternResolver ( arg0 ) ; } else { return new PathMatchingResourcePatternResolver ( ) ; } }