com.day.cq.tagging.impl
Class JcrNodeNameFilter

java.lang.Object
  extended by com.day.cq.tagging.impl.JcrNodeNameFilter

public class JcrNodeNameFilter
extends Object

Filter a String so that it can be used as a NodeName. NOTE: this is a copy of org.apache.sling.servlets.post.impl.helper.NodeNameFilter (+ filter() method made static)


Field Summary
static String ALLOWED_CHARS
           
static char REPLACEMENT_CHAR
           
 
Constructor Summary
JcrNodeNameFilter()
           
 
Method Summary
static 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

JcrNodeNameFilter

public JcrNodeNameFilter()
Method Detail

filter

public static String filter(String nodeName)


Copyright © 2008 Day Management AG. All Rights Reserved.