|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.server.theme.strategy.AbstractLayoutStrategy
public abstract class 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 |
getAppName()
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 |
setAppName(java.lang.String appName)
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.server.theme.strategy.LayoutStrategy |
---|
evaluate |
Constructor Detail |
---|
public AbstractLayoutStrategy()
Method Detail |
---|
public void setMediaType(MediaType mediaType)
mediaType
- the media type to setpublic MediaType getMediaType()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of this strategypublic java.lang.String getAppName()
public void setAppName(java.lang.String appName)
appName
- 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 |