public class PropertyHintNodeNameGenerator extends Object implements org.apache.sling.servlets.post.NodeNameGenerator, NameFilter
Modifier and Type | Class and Description |
---|---|
static interface |
PropertyHintNodeNameGenerator.Config |
Modifier and Type | Field and Description |
---|---|
static String |
RP_NODE_NAME_PARAM
Optional request parameter specifying a parameter name to use for the name of
the newly created node (value is ":nameParam").
|
Constructor and Description |
---|
PropertyHintNodeNameGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
activate(PropertyHintNodeNameGenerator.Config config) |
String |
filter(String nodeName) |
String |
getNodeName(org.apache.sling.api.SlingHttpServletRequest request,
String parentPath,
boolean requirePrefix,
org.apache.sling.servlets.post.NodeNameGenerator defaultNodeNameGenerator) |
public static final String RP_NODE_NAME_PARAM
public void activate(PropertyHintNodeNameGenerator.Config config)
public String filter(String nodeName)
filter
in interface NameFilter
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.