org.thymeleaf
Class PatternSpec
Object
org.thymeleaf.PatternSpec
public final class PatternSpec
- extends Object
Utility class of internal use for holding the patterns that certain artifacts
(usually template names) must match for obtaining some consideration. For
example, it is used at many ITemplateResolver
implementations for holding the patterns that match a template to a specific
template mode.
- Since:
- 1.0
- Author:
- Daniel Fernández
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternSpec
public PatternSpec()
initialize
public void initialize()
getPatterns
public Set<String> getPatterns()
setPatterns
public void setPatterns(Set<String> newPatterns)
addPattern
public void addPattern(String pattern)
clearPatterns
public void clearPatterns()
matches
public boolean matches(String templateName)
Copyright © 2013 The THYMELEAF team. All Rights Reserved.