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