public class JavaNameStrategy extends DomNameStrategy
Modifier and Type | Field and Description |
---|---|
static Function<java.lang.String,java.lang.String> |
DECAPITALIZE_FUNCTION |
HYPHEN_STRATEGY, JAVA_STRATEGY
Constructor and Description |
---|
JavaNameStrategy() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convertName(java.lang.String propertyName) |
java.lang.String |
splitIntoWords(java.lang.String tagName)
Is used to get presentable DOM elements in UI
|
public static final Function<java.lang.String,java.lang.String> DECAPITALIZE_FUNCTION
public final java.lang.String convertName(java.lang.String propertyName)
convertName
in class DomNameStrategy
propertyName
- property name, i.e. method name without first 'get', 'set' or 'is'public final java.lang.String splitIntoWords(java.lang.String tagName)
DomNameStrategy
splitIntoWords
in class DomNameStrategy
tagName
- XML element name