public class HyphenNameStrategy extends DomNameStrategy
HYPHEN_STRATEGY, JAVA_STRATEGY
Constructor and Description |
---|
HyphenNameStrategy() |
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 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 java.lang.String splitIntoWords(java.lang.String tagName)
DomNameStrategy
splitIntoWords
in class DomNameStrategy
tagName
- XML element name