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()
isInitialized
protected final boolean isInitialized()
initialize
public final void initialize()
checkNotInitialized
protected final void checkNotInitialized()
getPatterns
public final java.util.Set<String> getPatterns()
setPatterns
public final void setPatterns(java.util.Set<String> newPatterns)
addPattern
public final void addPattern(String pattern)
clearPatterns
public final void clearPatterns()
matches
public boolean matches(String templateName)
Copyright © 2012 The THYMELEAF team. All Rights Reserved.