protected void setKey ( String uri , String sub , int line , int col ) { if ( srcId == null ) { srcId = split . getPath ( ) . toString ( ) ; } // apply prefix and suffix for URI uri = URIUtil . applyUriReplace ( uri , conf ) ; uri = URIUtil . applyPrefixSuffix ( uri , conf ) ; if ( key == null ) { key = new DocumentURIWithSourceInfo ( uri , srcId , sub , line , col ) ; } else { key . setSkipReason ( "" ) ; key . setUri ( uri ) ; key . setSrcId ( srcId ) ; key . setSubId ( sub ) ; key . setColNumber ( col ) ; key . setLineNumber ( line ) ; } }
Apply URI prefix and suffix configuration options and set the result as DocumentURI key .