|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.theme.strategy.AbstractLayoutStrategy
Abstract implementation of the layout strategy interface.
This implementation serves as base class for all layout strategies. All strategies have to extend this class.
LayoutStrategy
Constructor Summary | |
AbstractLayoutStrategy()
|
Method Summary | |
java.lang.String |
getAppID()
Get the name of the application (the WAR) that contains this strategy. |
MediaType |
getMediaType()
Get the media type (content/mime type) this strategy is assigned to. |
java.lang.String |
getName()
Get the name of this strategy. |
void |
setAppID(java.lang.String appID)
Set the name of the application that contains this strategy. |
void |
setMediaType(MediaType mediaType)
Set the media type (the content type) of this strategy. |
void |
setName(java.lang.String name)
Set the name of this strategy. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.portal.theme.strategy.LayoutStrategy |
evaluate |
Constructor Detail |
public AbstractLayoutStrategy()
Method Detail |
public void setMediaType(MediaType mediaType)
mediaType
- the media type to setpublic MediaType getMediaType()
getMediaType
in interface LayoutStrategy
public java.lang.String getName()
getName
in interface LayoutStrategy
public void setName(java.lang.String name)
name
- the name of this strategypublic java.lang.String getAppID()
getAppID
in interface LayoutStrategy
public void setAppID(java.lang.String appID)
appID
- the name of the application that contains this strategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |