public class ScaffoldingUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.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 java.lang.String |
findScaffoldByPath(Node node,
java.lang.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 java.lang.String |
findScaffoldByTemplate(Node node,
java.lang.String template)
Search the scaffolding hierarchy starting at node (normally /etc/scaffolding) for a scaffold
which targets the given template.
|
public static java.lang.String CONTEXT_RESOURCE_ATTR_NAME
public static java.lang.String findScaffoldByTemplate(Node node, java.lang.String template) throws RepositoryException
node
- template
- RepositoryException
public static java.lang.String findScaffoldByPath(Node node, java.lang.String path) throws RepositoryException
node
- path
- RepositoryException
Copyright © 2010 - 2020 Adobe. All Rights Reserved