private void handleID ( final AttributesImpl atts ) { String idValue = atts . getValue ( ATTRIBUTE_NAME_ID ) ; if ( idValue != null ) { XMLUtils . addOrSetAttribute ( atts , ATTRIBUTE_NAME_OID , idValue ) ; final URI value = setFragment ( dirPath . toURI ( ) . resolve ( toURI ( filePath ) ) , idValue ) ; if ( util . findId ( value ) ) { idValue = util . getIdValue ( value ) ; } else { idValue = util . addId ( value ) ; } XMLUtils . addOrSetAttribute ( atts , ATTRIBUTE_NAME_ID , idValue ) ; } }
Get new value for topic id attribute .