|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.jsp.decorator.CmsDecorationDefintion
public class CmsDecorationDefintion
This class defines text decoration to be made by the postprocessor.
| Constructor Summary | |
|---|---|
CmsDecorationDefintion()
Constructor, creates a new empty CmsDecorationDefintion. |
|
CmsDecorationDefintion(String name,
String preText,
String postText,
String preTextFirst,
String postTextFirst,
boolean markFrist,
String configurationFile)
Constructor, creates a new CmsDecorationDefintion with given values. |
|
| Method Summary | |
|---|---|
CmsDecorationBundle |
createDecorationBundle(CmsObject cms,
Locale locale)
Creates a CmsDecorationBundle of text decoration to be used by the decorator. |
String |
getConfigurationFile()
Returns the configurationFile. |
String |
getName()
Returns the name. |
String |
getPostText()
Returns the postText. |
String |
getPostTextFirst()
Returns the postTextFirst. |
String |
getPreText()
Returns the preText. |
String |
getPreTextFirst()
Returns the preTextFirst. |
boolean |
isMarkFirst()
Returns the markFirst flag. |
void |
setConfigurationFile(String configurationFile)
Sets the configurationFile. |
void |
setMarkFirst(boolean markFirst)
Sets the markFirst flag. |
void |
setName(String name)
Sets the name. |
void |
setPostText(String postText)
Sets the postText. |
void |
setPostTextFirst(String postTextFirst)
Sets the postTextFirst. |
void |
setPreText(String preText)
Sets the preText. |
void |
setPreTextFirst(String preTextFirst)
Sets the preTextFirst. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CmsDecorationDefintion()
public CmsDecorationDefintion(String name,
String preText,
String postText,
String preTextFirst,
String postTextFirst,
boolean markFrist,
String configurationFile)
name - the name of the decoration defintinionpreText - the preText to be usedpostText - the postText to be usedpreTextFirst - the preTextFirst to be usedpostTextFirst - the postTextFirst to be usedmarkFrist - the flag to use different decorations for the first occuranceconfigurationFile - the name of the configuration file| Method Detail |
|---|
public CmsDecorationBundle createDecorationBundle(CmsObject cms,
Locale locale)
throws CmsException
cms - the CmsObjectlocale - the locale to build the decoration bundle for. If no locale is given, a bundle of all locales is build
CmsException - if something goes wrongpublic String getConfigurationFile()
public String getName()
public String getPostText()
public String getPostTextFirst()
public String getPreText()
public String getPreTextFirst()
public boolean isMarkFirst()
public void setConfigurationFile(String configurationFile)
configurationFile - the configurationFile to setpublic void setMarkFirst(boolean markFirst)
markFirst - the markFirst flag to setpublic void setName(String name)
name - the name to setpublic void setPostText(String postText)
postText - the postText to setpublic void setPostTextFirst(String postTextFirst)
postTextFirst - the postTextFirst to setpublic void setPreText(String preText)
preText - the preText to setpublic void setPreTextFirst(String preTextFirst)
preTextFirst - the preTextFirst to setpublic String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||