public interface NodeNameGenerator
Modifier and Type | Method and Description |
---|---|
String |
getNodeName(SlingHttpServletRequest request,
String parentPath,
boolean requirePrefix,
NodeNameGenerator defaultNodeNameGenerator)
Get the to-be-created node name from the request.
|
String getNodeName(SlingHttpServletRequest request, String parentPath, boolean requirePrefix, NodeNameGenerator defaultNodeNameGenerator)
req
- requestparentPath
- the path to the new node's parentrequirePrefix
- if true, ignore parameters which do not being with ./defaultNodeNameGenerator
- the default node name generatorCopyright © 2015 The Apache Software Foundation. All rights reserved.