| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wps.pe.pc.legacy.cmpf.ClientWrapper
public class ClientWrapper
Wrapper class around the Client interface which allows to return modified markup or capabilities.
| Constructor Summary | |
|---|---|
| ClientWrapper(Client client)
 Creates a new wrapper object from a Client  | |
| Method Summary | |
|---|---|
| Client | getClient()
 Returns the wrapped client.  | 
| java.lang.String | getManufacturer()
 Returns the name of the manufacturer of this client, or null if the name is not available.  | 
| java.lang.String | getMarkupName()
 Returns the preferred markup name that this client device supports.  | 
| java.lang.String | getMimeType()
 Returns the preferred mime-type that this client device supports.  | 
| java.lang.String | getModel()
 Returns the name of the model of this client, or null if the name is not available.  | 
| java.lang.String | getUserAgent()
 Returns the exact user agent that this client uses to identify itself to the portal.  | 
| java.lang.String | getVersion()
 Returns the version of the model of this client, or null if the version is not available.  | 
| boolean | isCapableOf(Capability capability)
 Returns whether this client has the given capability.  | 
| boolean | isCapableOf(Capability[] capabilities)
 Returns whether this client has the given capabilities.  | 
| void | setClient(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 | 
|---|
public ClientWrapper(Client client)
| Method Detail | 
|---|
public Client getClient()
public void setClient(Client client)
public java.lang.String getMarkupName()
public java.lang.String getManufacturer()
public java.lang.String getModel()
public java.lang.String getMimeType()
public java.lang.String getVersion()
public java.lang.String getUserAgent()
public boolean isCapableOf(Capability[] capabilities)
public boolean isCapableOf(Capability capability)
  | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||