public void removeCFX ( String name ) throws ExpressionException , SecurityException { checkWriteAccess ( ) ; // check parameters if ( name == null || name . length ( ) == 0 ) throw new ExpressionException ( "name for CFX Tag can be a empty value" ) ; renameOldstyleCFX ( ) ; Element mappings = _getRootElement ( "ext-tags" ) ; Element [ ] children = XMLConfigWebFactory . getChildren ( mappings , "ext-tag" ) ; for ( int i = 0 ; i < children . length ; i ++ ) { String n = children [ i ] . getAttribute ( "name" ) ; if ( n != null && n . equalsIgnoreCase ( name ) ) { mappings . removeChild ( children [ i ] ) ; } } }
remove a CFX Tag