org.apache.sling.servlets.post.impl.helper
Class NodeNameFilter

java.lang.Object
  extended by org.apache.sling.servlets.post.impl.helper.NodeNameFilter

public class NodeNameFilter
extends Object

Filter a String so that it can be used as a NodeName.


Field Summary
static String ALLOWED_CHARS
           
static char REPLACEMENT_CHAR
           
 
Constructor Summary
NodeNameFilter()
           
 
Method Summary
 String filter(String nodeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALLOWED_CHARS

public static final String ALLOWED_CHARS
See Also:
Constant Field Values

REPLACEMENT_CHAR

public static final char REPLACEMENT_CHAR
See Also:
Constant Field Values
Constructor Detail

NodeNameFilter

public NodeNameFilter()
Method Detail

filter

public String filter(String nodeName)


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.