com.sapportals.portal.prt.component
Class ClientFamily

java.lang.Object
  |
  +--com.sapportals.portal.prt.component.ClientFamily

Deprecated. Note: this class is entirely deprecated and may not return valid information.
Copyright (c) SAP Portals Europe GmbH 2001

public class ClientFamily
extends java.lang.Object

The ClientFamily identifies the family type of the client that has sent the request.

It could be one of the following: JAVASCRIPT_11, JAVASCRIPT_12, HTML_32, HTML_4, ...
Copyright: Copyright (c) 2001 Company: SAP Portals - All rights reserved. Last modified on $Date$ by $Author$ using $Change$


Field Summary
static int HTML_32
          Deprecated. HTML 3.2 family
static int HTML_4
          Deprecated. HTML 4 family
static int JAVASCRIPT_11
          Deprecated. javascript 1.1 family
static int JAVASCRIPT_12
          Deprecated. javascript 1.2 family
static int JAVASCRIPT_13
          Deprecated. javascript 1.3 family
static int UNKNOWN
          Deprecated. the unknown family
 
Constructor Summary
ClientFamily()
          Deprecated.  
 
Method Summary
static int getHtmlVersion(ClientType client)
          Deprecated.  
static int getJavaScriptVersion(ClientType client)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
Deprecated. 
the unknown family

JAVASCRIPT_11

public static final int JAVASCRIPT_11
Deprecated. 
javascript 1.1 family

JAVASCRIPT_12

public static final int JAVASCRIPT_12
Deprecated. 
javascript 1.2 family

JAVASCRIPT_13

public static final int JAVASCRIPT_13
Deprecated. 
javascript 1.3 family

HTML_32

public static final int HTML_32
Deprecated. 
HTML 3.2 family

HTML_4

public static final int HTML_4
Deprecated. 
HTML 4 family
Constructor Detail

ClientFamily

public ClientFamily()
Deprecated. 
Method Detail

getJavaScriptVersion

public static int getJavaScriptVersion(ClientType client)
Deprecated.  

returns the javascript version of the client type
Parameters:
client - the client type of the request
Returns:
the javasctript version (i.e. JAVASCRIPT_11, ...) or UNKNOWN if the client is unknown/not supported

getHtmlVersion

public static int getHtmlVersion(ClientType client)
Deprecated.  

returns the html version of the client type
Parameters:
client - the client type of the request
Returns:
the html version (i.e. HTML_32, HTML_4, ...) or HTML_32 if the client is unknown