public abstract class DomNameStrategy
extends java.lang.Object
NameStrategy
,
NameStrategyForAttributes
Modifier and Type | Field and Description |
---|---|
static DomNameStrategy |
HYPHEN_STRATEGY
This strategy splits property name into words, decapitalizes them and joins using hyphen as separator,
e.g.
|
static DomNameStrategy |
JAVA_STRATEGY
This strategy decapitalizes property name, e.g.
|
Constructor and Description |
---|
DomNameStrategy() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
convertName(java.lang.String propertyName) |
abstract java.lang.String |
splitIntoWords(java.lang.String xmlElementName)
Is used to get presentable DOM elements in UI
|
public static final DomNameStrategy HYPHEN_STRATEGY
public static final DomNameStrategy JAVA_STRATEGY
public abstract java.lang.String convertName(java.lang.String propertyName)
propertyName
- property name, i.e. method name without first 'get', 'set' or 'is'public abstract java.lang.String splitIntoWords(java.lang.String xmlElementName)
xmlElementName
- XML element name