|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.jsp.decorator.CmsDecorationObject
public class CmsDecorationObject
The CmsDecorationObject defines a single text decoration.
It uses the information of a to create the
pre- and postfix for a text decoration.
CmsDecorationDefintion
| Field Summary | |
|---|---|
static String |
MACRO_DECORATION
Macro for the decoration. |
static String |
MACRO_DECORATIONKEY
Macro for the decoration key. |
static String |
MACRO_LOCALE
Macro for the locale. |
| Constructor Summary | |
|---|---|
CmsDecorationObject()
Constructor, creates a new, empty decoration object. |
|
CmsDecorationObject(String decorationKey,
String decoration,
CmsDecorationDefintion decDef,
Locale locale)
Constructor, creates a new decoration object with given values. |
|
| Method Summary | |
|---|---|
String |
getContentDecoration(CmsDecoratorConfiguration config)
Gets the decorated content for this decoration object. |
String |
getDecoration()
Returns the decoration. |
CmsDecorationDefintion |
getDecorationDefinition()
Returns the decorationDefinition. |
String |
getDecorationKey()
Returns the decorationKey. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String MACRO_DECORATION
public static final String MACRO_DECORATIONKEY
public static final String MACRO_LOCALE
| Constructor Detail |
|---|
public CmsDecorationObject()
public CmsDecorationObject(String decorationKey,
String decoration,
CmsDecorationDefintion decDef,
Locale locale)
decorationKey - the decoration keydecoration - the decoration for this decoration keydecDef - the decoration defintion to be usedlocale - the locale of this decoration object| Method Detail |
|---|
public String getContentDecoration(CmsDecoratorConfiguration config)
config - the configuration used
public String getDecoration()
public CmsDecorationDefintion getDecorationDefinition()
public String getDecorationKey()
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||