public void removeCustomTag ( String virtual ) throws SecurityException { checkWriteAccess ( ) ; Element mappings = _getRootElement ( "custom-tag" ) ; Element [ ] children = XMLConfigWebFactory . getChildren ( mappings , "mapping" ) ; for ( int i = 0 ; i < children . length ; i ++ ) { if ( virtual . equals ( createVirtual ( children [ i ] ) ) ) mappings . removeChild ( children [ i ] ) ; } }
delete a customtagmapping on system