+

Search Tips   |   Advanced Search

 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.ibm.wps.pe.pc.legacy.cmpf
Class ClientWrapper

java.lang.Object
  extended by 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
 
Method Summary
 org.apache.jetspeed.portlet.Client getClient()
          Return the wrapped client.
 java.lang.String getManufacturer()
           
 java.lang.String getMarkupName()
           
 java.lang.String getMimeType()
           
 java.lang.String getModel()
           
 java.lang.String getUserAgent()
           
 java.lang.String getVersion()
           
 boolean isCapableOf(org.apache.jetspeed.portlet.Capability capability)
           
 boolean isCapableOf(org.apache.jetspeed.portlet.Capability[] capabilities)
           
 void setClient(org.apache.jetspeed.portlet.Client client)
          Sets the client to be wrapped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientWrapper

public ClientWrapper(org.apache.jetspeed.portlet.Client client)
Creates a new wrapper object from a Client

Parameters:
client - the client to be wrapped
Method Detail

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
 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD