Revision: 1074 http://openutils.svn.sourceforge.net/openutils/?rev=1074&view=rev Author: fgrilli Date: 2009-03-01 18:08:06 +0000 (Sun, 01 Mar 2009) Log Message: ----------- javadoc Modified Paths: -------------- trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/xpath/utils/XPathTextUtils.java Modified: trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/xpath/utils/XPathTextUtils.java =================================================================== --- trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/xpath/utils/XPathTextUtils.java 2009-03-01 18:03:42 UTC (rev 1073) +++ trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/xpath/utils/XPathTextUtils.java 2009-03-01 18:08:06 UTC (rev 1074) @@ -80,6 +80,10 @@ .replaceAll("'", "\\\\'"))); } + /** + * @param String path to encode eg //my//path/2009//* + * @return String encoded path eg //my//path/_x32_009//* + */ public static String encodeDigitsInPath(String path) { log.debug("path to encode is {}", path); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |