|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.util.MetaData
A class for storing MetaData about an object.
Constructor Summary | |
MetaData()
|
Method Summary | |
java.lang.String |
getDescription()
Returns the description for the default locale |
java.lang.String |
getDescription(java.util.Locale locale)
Returns the title for the given locale, if the title isn't defined in this locale or the locale, return the default title |
java.lang.String |
getImage()
Returns the descriptive image for the default locale |
java.lang.String |
getImage(java.util.Locale locale)
Returns the descriptive image for the given locale, if the image isn't defined in this locale or the locale, return the default image |
java.lang.String |
getTitle()
Returns the title for the default locale |
java.lang.String |
getTitle(java.util.Locale locale)
Returns the title for the given locale, if the title isn't defined in this locale or the locale, return the default title |
void |
merge(MetaData meta)
Merges the properties defined in the param MetaData into the current one. |
void |
setDescription(java.lang.String description)
Sets a description in the default locale |
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets a description for the given locale |
void |
setImage(java.lang.String image)
Sets a descriptive image in the default locale |
void |
setImage(java.lang.String image,
java.util.Locale locale)
Sets a descriptive image for the given locale |
void |
setTitle(java.lang.String title)
Sets a title in the default locale |
void |
setTitle(java.lang.String title,
java.util.Locale locale)
Sets a title for the given locale |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MetaData()
Method Detail |
public void setTitle(java.lang.String title)
public void setTitle(java.lang.String title, java.util.Locale locale)
public java.lang.String getTitle()
public java.lang.String getTitle(java.util.Locale locale)
public void setImage(java.lang.String image)
public void setImage(java.lang.String image, java.util.Locale locale)
public java.lang.String getImage()
public java.lang.String getImage(java.util.Locale locale)
public void setDescription(java.lang.String description)
public void setDescription(java.lang.String description, java.util.Locale locale)
public java.lang.String getDescription()
public java.lang.String getDescription(java.util.Locale locale)
public void merge(MetaData meta)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |