@Test public void isExcludedTest() { XMLSymbolSettings symbolSettings = new XMLSymbolSettings(); symbolSettings.setExcluded(new String[] {"***.xml"}); assertTrue(symbolSettings.isExcluded("file: assertTrue(symbolSettings.isExcluded("file: assertFalse(symbolSettings.isExcluded("file: }
public boolean isExcluded(String uri) { if (excludedFiles == null) { return false; } for (XMLExcludedSymbolFile excludedFile : excludedFiles) { if(excludedFile.matches(uri)) { return true; } } return false; }
XMLSymbolSettings { public boolean isExcluded(String uri) { if (excludedFiles == null) { return false; } for (XMLExcludedSymbolFile excludedFile : excludedFiles) { if(excludedFile.matches(uri)) { return true; } } return false; } }
XMLSymbolSettings { public boolean isExcluded(String uri) { if (excludedFiles == null) { return false; } for (XMLExcludedSymbolFile excludedFile : excludedFiles) { if(excludedFile.matches(uri)) { return true; } } return false; }  }
XMLSymbolSettings { public boolean isExcluded(String uri) { if (excludedFiles == null) { return false; } for (XMLExcludedSymbolFile excludedFile : excludedFiles) { if(excludedFile.matches(uri)) { return true; } } return false; }  XMLExcludedSymbolFile[] getExcludedFiles(); boolean isEnabled(); void setEnabled(boolean enabled); String[] getExcluded(); void setExcluded(String[] excluded); boolean isExcluded(String uri); int getMaxItemsComputed(); void setMaxItemsComputed(int maxItemsComputed); void merge(XMLSymbolSettings newSettings); }
XMLSymbolSettings { public boolean isExcluded(String uri) { if (excludedFiles == null) { return false; } for (XMLExcludedSymbolFile excludedFile : excludedFiles) { if(excludedFile.matches(uri)) { return true; } } return false; }  XMLExcludedSymbolFile[] getExcludedFiles(); boolean isEnabled(); void setEnabled(boolean enabled); String[] getExcluded(); void setExcluded(String[] excluded); boolean isExcluded(String uri); int getMaxItemsComputed(); void setMaxItemsComputed(int maxItemsComputed); void merge(XMLSymbolSettings newSettings);  }