public class ScaffoldingUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT_RESOURCE_ATTR_NAME
The name of the request attribute used to store the scaffolding context (ie: the resource
being edited via the scaffolding).
|
| Constructor and Description |
|---|
ScaffoldingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
findScaffoldByPath(Node node,
String path)
Search the scaffolding hierarchy starting at node (normally /etc/scaffolding) for a scaffold
which targets the given path (or an ancestor of the given path).
|
static String |
findScaffoldByTemplate(Node node,
String template)
Search the scaffolding hierarchy starting at node (normally /etc/scaffolding) for a scaffold
which targets the given template.
|
public static String CONTEXT_RESOURCE_ATTR_NAME
public static String findScaffoldByTemplate(Node node, String template) throws RepositoryException
node - template - RepositoryExceptionpublic static String findScaffoldByPath(Node node, String path) throws RepositoryException
node - path - RepositoryExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved