Package com.enonic.xp.style
Class GenericStyle
- java.lang.Object
-
- com.enonic.xp.style.GenericStyle
-
- All Implemented Interfaces:
ElementStyle
public final class GenericStyle extends Object implements ElementStyle
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenericStyle.Builder
-
Field Summary
Fields Modifier and Type Field Description static StringSTYLE_ELEMENT_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenericStyle.Buildercreate()booleanequals(Object o)StringgetDisplayName()StringgetDisplayNameI18nKey()StringgetElement()StringgetName()inthashCode()StringtoString()
-
-
-
Field Detail
-
STYLE_ELEMENT_NAME
public static final String STYLE_ELEMENT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getElement
public String getElement()
- Specified by:
getElementin interfaceElementStyle
-
getName
public String getName()
- Specified by:
getNamein interfaceElementStyle
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceElementStyle
-
getDisplayNameI18nKey
public String getDisplayNameI18nKey()
- Specified by:
getDisplayNameI18nKeyin interfaceElementStyle
-
create
public static GenericStyle.Builder create()
-
-