Created
July 19, 2015 03:35
CustomXpath Java implementation.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package custom.xpath; | |
import com.google.common.base.CaseFormat; | |
public class CustomXpath { | |
/** | |
* Returns lower camel case of the given String input. | |
* | |
* @param elementName local name of the xml element. | |
* @return Converted String as lower camel case. | |
* @see CaseFormat | |
*/ | |
public static String toLowerCamelCase(String elementName) { | |
return CaseFormat.UPPER_CAMEL.to(CaseFormat.LOWER_CAMEL, elementName); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment