com.ibm.wps.pe.pc.legacy.cmpf
Class ClientWrapper
java.lang.Object
com.ibm.wps.pe.pc.legacy.cmpf.ClientWrapper
- All Implemented Interfaces:
- org.apache.jetspeed.portlet.Client
-
public class ClientWrapper
- extends java.lang.Object
- implements org.apache.jetspeed.portlet.Client
Wrapper class around the Client interface which allows
to return modified markup or capabilities.
- Since:
- 5.0
Constructor Summary
|
ClientWrapper(org.apache.jetspeed.portlet.Client client)
Creates a new wrapper object from a Client |
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientWrapper
public ClientWrapper(org.apache.jetspeed.portlet.Client client)
- Creates a new wrapper object from a Client
- Parameters:
- client - the client to be wrapped
getClient
public org.apache.jetspeed.portlet.Client getClient()
- Returns the wrapped client.
- Returns:
- the wrapped client.
setClient
public void setClient(org.apache.jetspeed.portlet.Client client)
- Sets the client to be wrapped
- Parameters:
- client - client to be wrapped
getMarkupName
public java.lang.String getMarkupName()
- Specified by:
- getMarkupName in interface org.apache.jetspeed.portlet.Client
getManufacturer
public java.lang.String getManufacturer()
- Specified by:
- getManufacturer in interface org.apache.jetspeed.portlet.Client
getModel
public java.lang.String getModel()
- Specified by:
- getModel in interface org.apache.jetspeed.portlet.Client
getMimeType
public java.lang.String getMimeType()
- Specified by:
- getMimeType in interface org.apache.jetspeed.portlet.Client
getVersion
public java.lang.String getVersion()
- Specified by:
- getVersion in interface org.apache.jetspeed.portlet.Client
getUserAgent
public java.lang.String getUserAgent()
- Specified by:
- getUserAgent in interface org.apache.jetspeed.portlet.Client
isCapableOf
public boolean isCapableOf(org.apache.jetspeed.portlet.Capability[] capabilities)
- Specified by:
- isCapableOf in interface org.apache.jetspeed.portlet.Client
isCapableOf
public boolean isCapableOf(org.apache.jetspeed.portlet.Capability capability)
- Specified by:
- isCapableOf in interface org.apache.jetspeed.portlet.Client