|
||||||
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 java.lang.String |
MACRO_DECORATION
Macro for the decoration. |
static java.lang.String |
MACRO_DECORATIONKEY
Macro for the decoration key. |
static java.lang.String |
MACRO_LOCALE
Macro for the locale. |
Constructor Summary | |
---|---|
CmsDecorationObject()
Constructor, creates a new, empty decoration object. |
|
CmsDecorationObject(java.lang.String decorationKey,
java.lang.String decoration,
CmsDecorationDefintion decDef,
java.util.Locale locale)
Constructor, creates a new decoration object with given values. |
Method Summary | |
---|---|
java.lang.String |
getContentDecoration(CmsDecoratorConfiguration config)
Gets the decorated content for this decoration object. |
java.lang.String |
getDecoration()
Returns the decoration. |
CmsDecorationDefintion |
getDecorationDefinition()
Returns the decorationDefinition. |
java.lang.String |
getDecorationKey()
Returns the decorationKey. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MACRO_DECORATION
public static final java.lang.String MACRO_DECORATIONKEY
public static final java.lang.String MACRO_LOCALE
Constructor Detail |
---|
public CmsDecorationObject()
public CmsDecorationObject(java.lang.String decorationKey, java.lang.String decoration, CmsDecorationDefintion decDef, java.util.Locale locale)
decorationKey
- the decoration keydecoration
- the decoration for this decoration keydecDef
- the decoration defintion to be usedlocale
- the locale of this decoration objectMethod Detail |
---|
public java.lang.String getContentDecoration(CmsDecoratorConfiguration config)
config
- the configuration used
public java.lang.String getDecoration()
public CmsDecorationDefintion getDecorationDefinition()
public java.lang.String getDecorationKey()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |