@Override public boolean matches(String sourceName, Object templateSource) throws IOException { for (TemplateSourceMatcher matcher : matchers) { if ((matcher.matches(sourceName, templateSource))) return true; } return false; }
@Override public boolean matches(String sourceName, Object templateSource) throws IOException { for (TemplateSourceMatcher matcher : matchers) { if (!(matcher.matches(sourceName, templateSource))) return false; } return true; }
@Override public boolean matches(String sourceName, Object templateSource) throws IOException { return !matcher.matches(sourceName, templateSource); }
@Override public TemplateConfiguration get(String sourceName, Object templateSource) throws IOException, TemplateConfigurationFactoryException { if (matcher.matches(sourceName, templateSource)) { if (templateConfigurationFactory != null) { return templateConfigurationFactory.get(sourceName, templateSource); } else { return templateConfiguration; } } else { return null; } }
@Override public boolean matches(String sourceName, Object templateSource) throws IOException { for (TemplateSourceMatcher matcher : matchers) { if (!(matcher.matches(sourceName, templateSource))) return false; } return true; }
@Override public boolean matches(String sourceName, Object templateSource) throws IOException { for (TemplateSourceMatcher matcher : matchers) { if ((matcher.matches(sourceName, templateSource))) return true; } return false; }
@Override public boolean matches(String sourceName, Object templateSource) throws IOException { return !matcher.matches(sourceName, templateSource); }
@Override public boolean matches(String sourceName, Object templateSource) throws IOException { return !matcher.matches(sourceName, templateSource); }
@Override public boolean matches(String sourceName, Object templateSource) throws IOException { for (TemplateSourceMatcher matcher : matchers) { if (!(matcher.matches(sourceName, templateSource))) return false; } return true; }
@Override public boolean matches(String sourceName, Object templateSource) throws IOException { for (TemplateSourceMatcher matcher : matchers) { if ((matcher.matches(sourceName, templateSource))) return true; } return false; }
@Override public TemplateConfiguration get(String sourceName, Object templateSource) throws IOException, TemplateConfigurationFactoryException { if (matcher.matches(sourceName, templateSource)) { if (templateConfigurationFactory != null) { return templateConfigurationFactory.get(sourceName, templateSource); } else { return templateConfiguration; } } else { return null; } }
@Override public TemplateConfiguration get(String sourceName, Object templateSource) throws IOException, TemplateConfigurationFactoryException { if (matcher.matches(sourceName, templateSource)) { if (templateConfigurationFactory != null) { return templateConfigurationFactory.get(sourceName, templateSource); } else { return templateConfiguration; } } else { return null; } }