@ProviderType public final class TemplateUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasTemplate(com.day.cq.wcm.api.Page page,
String templatePath)
Determine if the page is of a particular template type.
|
public static boolean hasTemplate(@CheckForNull com.day.cq.wcm.api.Page page, @CheckForNull String templatePath)
page - the page to checktemplatePath - the path of the template to checkCopyright © 2013–2020 Adobe. All rights reserved.